(10930,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.065551996231079','2016-06-23 15:50:26'),(10931,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'145\'','Gltransaction/journalPosting','0.025454044342041','2016-06-23 15:50:27'),(10932,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000014\'','Gltransaction/journalPosting','0.023561954498291','2016-06-23 15:50:27'),(10933,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.041529893875122','2016-06-23 15:50:27'),(10934,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'150\', \'2015\', \'6\', \'61.9\', \'0\', 61.9, \'2\', \'2016-06-23: 09:06:27\')','Gltransaction/journalPosting','0.2416889667511','2016-06-23 15:50:27'),(10935,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.2724871635437','2016-06-23 15:50:27'),(10936,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.042711973190308','2016-06-23 15:50:27'),(10937,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.041341066360474','2016-06-23 15:50:28'),(10938,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.032546997070312','2016-06-23 15:50:28'),(10939,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'146\'','Gltransaction/journalPosting','1.0318608283997','2016-06-23 15:50:31'),(10940,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000015\'','Gltransaction/journalPosting','0.40789318084717','2016-06-23 15:50:31'),(10941,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.080167055130005','2016-06-23 15:50:31'),(10942,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053290843963623','2016-06-23 15:50:31'),(10943,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.030373096466064','2016-06-23 15:50:31'),(10944,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.064536094665527','2016-06-23 15:50:31'),(10945,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.041404008865356','2016-06-23 15:50:31'),(10946,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.064701795578003','2016-06-23 15:50:31'),(10947,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'147\'','Gltransaction/journalPosting','0.3309268951416','2016-06-23 15:50:32'),(10948,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000016\'','Gltransaction/journalPosting','0.041765928268433','2016-06-23 15:50:32'),(10949,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.064404010772705','2016-06-23 15:50:32'),(10950,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.061346054077148','2016-06-23 15:50:32'),(10951,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.020415067672729','2016-06-23 15:50:32'),(10952,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019666910171509','2016-06-23 15:50:32'),(10953,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053137063980103','2016-06-23 15:50:32'),(10954,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.040580034255981','2016-06-23 15:50:32'),(10955,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.055361986160278','2016-06-23 15:50:32'),(10956,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029109954833984','2016-06-23 15:50:32'),(10957,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'148\'','Gltransaction/journalPosting','0.037342071533203','2016-06-23 15:50:33'),(10958,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000017\'','Gltransaction/journalPosting','0.03475284576416','2016-06-23 15:50:33'),(10959,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.017604112625122','2016-06-23 15:50:33'),(10960,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'170\', \'2015\', \'6\', \'1000.05\', \'0\', 1000.05, \'2\', \'2016-06-23: 09:06:33\')','Gltransaction/journalPosting','0.078832864761353','2016-06-23 15:50:34'),(10961,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.0518639087677','2016-06-23 15:50:34'),(10962,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.022211074829102','2016-06-23 15:50:34'),(10963,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.018864154815674','2016-06-23 15:50:34'),(10964,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'159\', \'2015\', \'6\', \'1000\', \'0\', 1000, \'2\', \'2016-06-23: 09:06:33\')','Gltransaction/journalPosting','0.054979085922241','2016-06-23 15:50:34'),(10965,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.02935004234314','2016-06-23 15:50:34'),(10966,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.021413087844849','2016-06-23 15:50:34'),(10967,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029160976409912','2016-06-23 15:50:34'),(10968,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053976058959961','2016-06-23 15:50:34'),(10969,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.018054008483887','2016-06-23 15:50:34'),(10970,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.021553993225098','2016-06-23 15:50:34'),(10971,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.04008412361145','2016-06-23 15:50:34'),(10972,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'6\', \'240\', \'0\', 240, \'2\', \'2016-06-23: 09:06:33\')','Gltransaction/journalPosting','0.054000854492188','2016-06-23 15:50:34'),(10973,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'149\'','Gltransaction/journalPosting','0.036582946777344','2016-06-23 15:50:35'),(10974,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000018\'','Gltransaction/journalPosting','0.055135011672974','2016-06-23 15:50:35'),(10975,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.03638482093811','2016-06-23 15:50:35'),(10976,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053244829177856','2016-06-23 15:50:35'),(10977,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.030294895172119','2016-06-23 15:50:35'),(10978,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019852161407471','2016-06-23 15:50:35'),(10979,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.021529912948608','2016-06-23 15:50:35'),(10980,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.040198087692261','2016-06-23 15:50:35'),(10981,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.01999306678772','2016-06-23 15:50:35'),(10982,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029209136962891','2016-06-23 15:50:35'),(10983,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'150\'','Gltransaction/journalPosting','0.022808074951172','2016-06-23 15:50:36'),(10984,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000019\'','Gltransaction/journalPosting','0.034390926361084','2016-06-23 15:50:36'),(10985,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.027629852294922','2016-06-23 15:50:36'),(10986,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'148\', \'2015\', \'6\', \'2506.9\', \'0\', 2506.9, \'2\', \'2016-06-23: 09:06:35\')','Gltransaction/journalPosting','0.020119905471802','2016-06-23 15:50:36'),(10987,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029469013214111','2016-06-23 15:50:36'),(10988,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.054470062255859','2016-06-23 15:50:36'),(10989,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.040572881698608','2016-06-23 15:50:36'),(10990,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.063512086868286','2016-06-23 15:50:36'),(10991,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'151\'','Gltransaction/journalPosting','0.040223121643066','2016-06-23 15:50:38'),(10992,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000020\'','Gltransaction/journalPosting','0.022544145584106','2016-06-23 15:50:38'),(10993,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.027941942214966','2016-06-23 15:50:38'),(10994,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'97\', \'2015\', \'6\', \'130.4\', \'0\', 130.4, \'2\', \'2016-06-23: 09:06:37\')','Gltransaction/journalPosting','0.14185190200806','2016-06-23 15:50:38'),(10995,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.39649987220764','2016-06-23 15:50:38'),(10996,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.051855087280273','2016-06-23 15:50:38'),(10997,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.039489984512329','2016-06-23 15:50:38'),(10998,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.031832933425903','2016-06-23 15:50:38'),(10999,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.092611074447632','2016-06-23 15:50:38'),(11000,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.035061836242676','2016-06-23 15:50:38'),(11001,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019370079040527','2016-06-23 15:50:38'),(11002,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.038580179214478','2016-06-23 15:50:38'),(11003,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'152\'','Gltransaction/journalPosting','0.055701971054077','2016-06-23 15:50:40'),(11004,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000021\'','Gltransaction/journalPosting','0.044671058654785','2016-06-23 15:50:40'),(11005,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.073226928710938','2016-06-23 15:50:40'),(11006,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.1958920955658','2016-06-23 15:50:40'),(11007,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.063186168670654','2016-06-23 15:50:40'),(11008,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.054195880889893','2016-06-23 15:50:40'),(11009,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.18512797355652','2016-06-23 15:50:40'),(11010,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053414106369019','2016-06-23 15:50:40'),(11011,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.18235802650452','2016-06-23 15:50:40'),(11012,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.034510850906372','2016-06-23 15:50:40'),(11013,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019340991973877','2016-06-23 15:50:40'),(11014,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053536176681519','2016-06-23 15:50:40'),(11015,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'153\'','Gltransaction/journalPosting','0.025196075439453','2016-06-23 15:50:41'),(11016,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000022\'','Gltransaction/journalPosting','0.043416023254395','2016-06-23 15:50:41'),(11017,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.039850950241089','2016-06-23 15:50:41'),(11018,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.030420780181885','2016-06-23 15:50:41'),(11019,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019623041152954','2016-06-23 15:50:41'),(11020,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029536008834839','2016-06-23 15:50:41'),(11021,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.042127132415771','2016-06-23 15:50:41'),(11022,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.087539911270142','2016-06-23 15:50:41'),(11023,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'154\'','Gltransaction/journalPosting','0.023331880569458','2016-06-23 15:50:42'),(11024,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000023\'','Gltransaction/journalPosting','0.055734872817993','2016-06-23 15:50:42'),(11025,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.065492868423462','2016-06-23 15:50:42'),(11026,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.063506841659546','2016-06-23 15:50:42'),(11027,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.052553176879883','2016-06-23 15:50:42'),(11028,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019824981689453','2016-06-23 15:50:42'),(11029,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029633045196533','2016-06-23 15:50:42'),(11030,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.052937984466553','2016-06-23 15:50:42'),(11031,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'155\'','Gltransaction/journalPosting','0.034025907516479','2016-06-23 15:50:43'),(11032,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000024\'','Gltransaction/journalPosting','0.020907163619995','2016-06-23 15:50:43'),(11033,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.018403768539429','2016-06-23 15:50:43'),(11034,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.029632091522217','2016-06-23 15:50:43'),(11035,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.02007007598877','2016-06-23 15:50:43'),(11036,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.019482851028442','2016-06-23 15:50:43'),(11037,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.020334005355835','2016-06-23 15:50:43'),(11038,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.041348934173584','2016-06-23 15:50:43'),(11039,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'313\'','Gltransaction/journalPosting','0.20000815391541','2016-06-23 15:50:45'),(11040,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150600000001\'','Gltransaction/journalPosting','0.080034017562866','2016-06-23 15:50:45'),(11041,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.039825201034546','2016-06-23 15:50:45'),(11042,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.020480871200562','2016-06-23 15:50:45'),(11043,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'314\'','Gltransaction/journalPosting','0.036268949508667','2016-06-23 15:50:45'),(11044,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150600000002\'','Gltransaction/journalPosting','0.043565988540649','2016-06-23 15:50:45'),(11045,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'36\', \'112\', \'2015\', \'6\', \'0\', \'118.07\', -118.07, \'2\', \'2016-06-23: 09:06:45\')','Gltransaction/journalPosting','0.051711082458496','2016-06-23 15:50:45'),(11046,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.053299188613892','2016-06-23 15:50:45'),(11047,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'156\'','Gltransaction/journalPosting','0.053578853607178','2016-06-23 15:51:10'),(11048,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000001\'','Gltransaction/journalPosting','0.032479047775269','2016-06-23 15:51:10'),(11049,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'7\', \'0\', \'200\', -200, \'2\', \'2016-06-23: 09:06:10\')','Gltransaction/journalPosting','0.050236940383911','2016-06-23 15:51:10'),(11050,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'161\', \'2015\', \'7\', \'200\', \'0\', 200, \'2\', \'2016-06-23: 09:06:10\')','Gltransaction/journalPosting','0.039199829101562','2016-06-23 15:51:10'),(11051,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'157\'','Gltransaction/journalPosting','0.023942947387695','2016-06-23 15:51:11'),(11052,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000002\'','Gltransaction/journalPosting','0.02236008644104','2016-06-23 15:51:11'),(11053,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.040295124053955','2016-06-23 15:51:11'),(11054,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'7\', \'82.5\', \'0\', 82.5, \'2\', \'2016-06-23: 09:06:11\')','Gltransaction/journalPosting','0.052328109741211','2016-06-23 15:51:11'),(11055,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'158\'','Gltransaction/journalPosting','0.034656047821045','2016-06-23 15:51:11'),(11056,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000003\'','Gltransaction/journalPosting','0.021238803863525','2016-06-23 15:51:11'),(11057,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.020557880401611','2016-06-23 15:51:11'),(11058,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'161\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.020698070526123','2016-06-23 15:51:11'),(11059,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'159\'','Gltransaction/journalPosting','0.041031122207642','2016-06-23 15:51:12'),(11060,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000004\'','Gltransaction/journalPosting','0.022017002105713','2016-06-23 15:51:12'),(11061,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'151\', \'2015\', \'7\', \'0\', \'20118.3\', -20118.3, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.094108819961548','2016-06-23 15:51:12'),(11062,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'82\', \'2015\', \'7\', \'20118.3\', \'0\', 20118.3, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.084919929504395','2016-06-23 15:51:12'),(11063,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.096671104431152','2016-06-23 15:51:13'),(11064,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'170\', \'2015\', \'7\', \'349.8\', \'0\', 349.8, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.052279949188232','2016-06-23 15:51:13'),(11065,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.040023803710938','2016-06-23 15:51:13'),(11066,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'152\', \'2015\', \'7\', \'300\', \'0\', 300, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.020720958709717','2016-06-23 15:51:13'),(11067,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041713953018188','2016-06-23 15:51:13'),(11068,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'162\', \'2015\', \'7\', \'2944\', \'0\', 2944, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.051967859268188','2016-06-23 15:51:13'),(11069,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.052669048309326','2016-06-23 15:51:13'),(11070,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'91\', \'2015\', \'7\', \'224\', \'0\', 224, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.018833875656128','2016-06-23 15:51:13'),(11071,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.074542999267578','2016-06-23 15:51:13'),(11072,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'44\', \'114\', \'2015\', \'7\', \'0.5\', \'0\', 0.5, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.052056074142456','2016-06-23 15:51:13'),(11073,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'100\', \'2015\', \'7\', \'0.03\', \'0\', 0.03, \'2\', \'2016-06-23: 09:06:12\')','Gltransaction/journalPosting','0.029519081115723','2016-06-23 15:51:13'),(11074,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.064378023147583','2016-06-23 15:51:13'),(11075,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'160\'','Gltransaction/journalPosting','0.082725048065186','2016-06-23 15:51:15'),(11076,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000005\'','Gltransaction/journalPosting','0.13447499275208','2016-06-23 15:51:15'),(11077,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.10962200164795','2016-06-23 15:51:15'),(11078,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'108\', \'2015\', \'7\', \'1800\', \'0\', 1800, \'2\', \'2016-06-23: 09:06:14\')','Gltransaction/journalPosting','0.12935090065002','2016-06-23 15:51:15'),(11079,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.21271896362305','2016-06-23 15:51:15'),(11080,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.30383706092834','2016-06-23 15:51:15'),(11081,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.07042384147644','2016-06-23 15:51:15'),(11082,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.044303178787231','2016-06-23 15:51:15'),(11083,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'161\'','Gltransaction/journalPosting','0.061439037322998','2016-06-23 15:51:16'),(11084,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000006\'','Gltransaction/journalPosting','0.076972007751465','2016-06-23 15:51:16'),(11085,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024230003356934','2016-06-23 15:51:16'),(11086,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.039361953735352','2016-06-23 15:51:16'),(11087,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041975975036621','2016-06-23 15:51:16'),(11088,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.052998065948486','2016-06-23 15:51:16'),(11089,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.026038885116577','2016-06-23 15:51:16'),(11090,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.046956062316895','2016-06-23 15:51:16'),(11091,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'162\'','Gltransaction/journalPosting','0.015177011489868','2016-06-23 15:51:16'),(11092,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000007\'','Gltransaction/journalPosting','0.035457134246826','2016-06-23 15:51:17'),(11093,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.073261976242065','2016-06-23 15:51:17'),(11094,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.030724048614502','2016-06-23 15:51:17'),(11095,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017407178878784','2016-06-23 15:51:17'),(11096,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033241987228394','2016-06-23 15:51:17'),(11097,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017465114593506','2016-06-23 15:51:17'),(11098,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033201932907104','2016-06-23 15:51:17'),(11099,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'163\'','Gltransaction/journalPosting','0.038969039916992','2016-06-23 15:51:18'),(11100,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000008\'','Gltransaction/journalPosting','0.088266849517822','2016-06-23 15:51:18'),(11101,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.095561981201172','2016-06-23 15:51:18'),(11102,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053169012069702','2016-06-23 15:51:18'),(11103,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053102970123291','2016-06-23 15:51:18'),(11104,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.064129829406738','2016-06-23 15:51:18'),(11105,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041980981826782','2016-06-23 15:51:18'),(11106,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053060054779053','2016-06-23 15:51:18'),(11107,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.052787065505981','2016-06-23 15:51:18'),(11108,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.047972917556763','2016-06-23 15:51:18'),(11109,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'164\'','Gltransaction/journalPosting','0.050430059432983','2016-06-23 15:51:19'),(11110,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000009\'','Gltransaction/journalPosting','0.032815933227539','2016-06-23 15:51:19'),(11111,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.02875018119812','2016-06-23 15:51:19'),(11112,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.038733959197998','2016-06-23 15:51:19'),(11113,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.022806167602539','2016-06-23 15:51:19'),(11114,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.075299978256226','2016-06-23 15:51:19'),(11115,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.075209856033325','2016-06-23 15:51:19'),(11116,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053037881851196','2016-06-23 15:51:19'),(11117,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053118944168091','2016-06-23 15:51:19'),(11118,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.044433116912842','2016-06-23 15:51:19'),(11119,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.18333601951599','2016-06-23 15:51:20'),(11120,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'162\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041665077209473','2016-06-23 15:51:20'),(11121,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.14182901382446','2016-06-23 15:51:20'),(11122,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.038224935531616','2016-06-23 15:51:20'),(11123,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.03141188621521','2016-06-23 15:51:20'),(11124,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.044179916381836','2016-06-23 15:51:20'),(11125,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'165\'','Gltransaction/journalPosting','0.062602996826172','2016-06-23 15:51:22'),(11126,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000010\'','Gltransaction/journalPosting','0.28794884681702','2016-06-23 15:51:22'),(11127,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.19471287727356','2016-06-23 15:51:22'),(11128,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.62428689002991','2016-06-23 15:51:22'),(11129,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'166\'','Gltransaction/journalPosting','0.03739595413208','2016-06-23 15:51:22'),(11130,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000011\'','Gltransaction/journalPosting','0.055480003356934','2016-06-23 15:51:23'),(11131,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.040271997451782','2016-06-23 15:51:23'),(11132,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.097628116607666','2016-06-23 15:51:23'),(11133,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.097254037857056','2016-06-23 15:51:23'),(11134,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053136110305786','2016-06-23 15:51:23'),(11135,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'167\'','Gltransaction/journalPosting','0.027338027954102','2016-06-23 15:51:23'),(11136,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000012\'','Gltransaction/journalPosting','0.077512979507446','2016-06-23 15:51:23'),(11137,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.040275096893311','2016-06-23 15:51:23'),(11138,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'84\', \'2015\', \'7\', \'1500\', \'0\', 1500, \'2\', \'2016-06-23: 09:06:23\')','Gltransaction/journalPosting','0.044272184371948','2016-06-23 15:51:23'),(11139,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.025360107421875','2016-06-23 15:51:23'),(11140,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024873018264771','2016-06-23 15:51:23'),(11141,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.025381088256836','2016-06-23 15:51:23'),(11142,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.047514915466309','2016-06-23 15:51:23'),(11143,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'315\'','Gltransaction/journalPosting','0.073009967803955','2016-06-23 15:51:24'),(11144,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000001\'','Gltransaction/journalPosting','0.050825834274292','2016-06-23 15:51:25'),(11145,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.051695108413696','2016-06-23 15:51:25'),(11146,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.10875415802002','2016-06-23 15:51:25'),(11147,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'316\'','Gltransaction/journalPosting','0.051387071609497','2016-06-23 15:51:26'),(11148,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000002\'','Gltransaction/journalPosting','0.044234991073608','2016-06-23 15:51:26'),(11149,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'36\', \'112\', \'2015\', \'7\', \'0\', \'113.35\', -113.35, \'2\', \'2016-06-23: 09:06:26\')','Gltransaction/journalPosting','0.059591054916382','2016-06-23 15:51:26'),(11150,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.054965019226074','2016-06-23 15:51:26'),(11151,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'317\'','Gltransaction/journalPosting','0.051220893859863','2016-06-23 15:51:27'),(11152,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000003\'','Gltransaction/journalPosting','0.049798011779785','2016-06-23 15:51:27'),(11153,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.051043033599854','2016-06-23 15:51:27'),(11154,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.053088188171387','2016-06-23 15:51:27'),(11155,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.025130033493042','2016-06-23 15:51:27'),(11156,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.047712087631226','2016-06-23 15:51:27'),(11157,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.057634115219116','2016-06-23 15:51:27'),(11158,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.025642871856689','2016-06-23 15:51:27'),(11159,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.02529501914978','2016-06-23 15:51:27'),(11160,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024399042129517','2016-06-23 15:51:27'),(11161,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'162\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024960041046143','2016-06-23 15:51:27'),(11162,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.044486045837402','2016-06-23 15:51:27'),(11163,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'168\'','Gltransaction/journalPosting','0.062150955200195','2016-06-23 15:51:46'),(11164,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000001\'','Gltransaction/journalPosting','0.16052198410034','2016-06-23 15:51:46'),(11165,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'8\', \'0\', \'40\', -40, \'2\', \'2016-06-23: 09:06:46\')','Gltransaction/journalPosting','0.05528998374939','2016-06-23 15:51:46'),(11166,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'154\', \'2015\', \'8\', \'40\', \'0\', 40, \'2\', \'2016-06-23: 09:06:46\')','Gltransaction/journalPosting','0.024039030075073','2016-06-23 15:51:46'),(11167,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'169\'','Gltransaction/journalPosting','0.044420957565308','2016-06-23 15:51:47'),(11168,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000002\'','Gltransaction/journalPosting','0.018742084503174','2016-06-23 15:51:47'),(11169,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026761054992676','2016-06-23 15:51:47'),(11170,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'154\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.025521039962769','2016-06-23 15:51:47'),(11171,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'170\'','Gltransaction/journalPosting','0.022382020950317','2016-06-23 15:51:47'),(11172,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000003\'','Gltransaction/journalPosting','0.027675151824951','2016-06-23 15:51:47'),(11173,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.051936149597168','2016-06-23 15:51:47'),(11174,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'172\', \'2015\', \'8\', \'250\', \'0\', 250, \'2\', \'2016-06-23: 09:06:47\')','Gltransaction/journalPosting','0.046601057052612','2016-06-23 15:51:47'),(11175,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'171\'','Gltransaction/journalPosting','0.06370210647583','2016-06-23 15:51:48'),(11176,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000004\'','Gltransaction/journalPosting','0.026942014694214','2016-06-23 15:51:48'),(11177,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023219108581543','2016-06-23 15:51:48'),(11178,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'167\', \'2015\', \'8\', \'27\', \'0\', 27, \'2\', \'2016-06-23: 09:06:48\')','Gltransaction/journalPosting','0.057536125183105','2016-06-23 15:51:48'),(11179,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'172\'','Gltransaction/journalPosting','0.053082942962646','2016-06-23 15:51:48'),(11180,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000005\'','Gltransaction/journalPosting','0.054939985275269','2016-06-23 15:51:48'),(11181,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.057317018508911','2016-06-23 15:51:48'),(11182,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'8\', \'237.5\', \'0\', 237.5, \'2\', \'2016-06-23: 09:06:48\')','Gltransaction/journalPosting','0.046344041824341','2016-06-23 15:51:48'),(11183,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'173\'','Gltransaction/journalPosting','0.062864065170288','2016-06-23 15:51:49'),(11184,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000006\'','Gltransaction/journalPosting','0.049551963806152','2016-06-23 15:51:49'),(11185,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023653984069824','2016-06-23 15:51:49'),(11186,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'97\', \'2015\', \'8\', \'84\', \'0\', 84, \'2\', \'2016-06-23: 09:06:49\')','Gltransaction/journalPosting','0.057803153991699','2016-06-23 15:51:49'),(11187,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'174\'','Gltransaction/journalPosting','0.054963111877441','2016-06-23 15:51:50'),(11188,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000007\'','Gltransaction/journalPosting','0.043774127960205','2016-06-23 15:51:50'),(11189,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.051573038101196','2016-06-23 15:51:50'),(11190,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'91\', \'2015\', \'8\', \'493.15\', \'0\', 493.15, \'2\', \'2016-06-23: 09:06:50\')','Gltransaction/journalPosting','0.0575270652771','2016-06-23 15:51:50'),(11191,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'175\'','Gltransaction/journalPosting','0.031197071075439','2016-06-23 15:51:50'),(11192,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000008\'','Gltransaction/journalPosting','0.050016164779663','2016-06-23 15:51:50'),(11193,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.040124893188477','2016-06-23 15:51:50'),(11194,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.052083969116211','2016-06-23 15:51:50'),(11195,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'176\'','Gltransaction/journalPosting','0.043895959854126','2016-06-23 15:51:51'),(11196,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000009\'','Gltransaction/journalPosting','0.027237892150879','2016-06-23 15:51:51'),(11197,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.025617122650146','2016-06-23 15:51:51'),(11198,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'168\', \'2015\', \'8\', \'42.35\', \'0\', 42.35, \'2\', \'2016-06-23: 09:06:51\')','Gltransaction/journalPosting','0.046260833740234','2016-06-23 15:51:51'),(11199,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'177\'','Gltransaction/journalPosting','0.10355687141418','2016-06-23 15:51:52'),(11200,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000010\'','Gltransaction/journalPosting','0.043746948242188','2016-06-23 15:51:52'),(11201,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.16253995895386','2016-06-23 15:51:52'),(11202,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'95\', \'2015\', \'8\', \'117.7\', \'0\', 117.7, \'2\', \'2016-06-23: 09:06:52\')','Gltransaction/journalPosting','0.02673602104187','2016-06-23 15:51:52'),(11203,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'178\'','Gltransaction/journalPosting','0.04143214225769','2016-06-23 15:51:54'),(11204,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000011\'','Gltransaction/journalPosting','0.68132305145264','2016-06-23 15:51:54'),(11205,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.048535823822021','2016-06-23 15:51:54'),(11206,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024619817733765','2016-06-23 15:51:54'),(11207,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'179\'','Gltransaction/journalPosting','0.032341957092285','2016-06-23 15:51:55'),(11208,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000012\'','Gltransaction/journalPosting','0.0278480052948','2016-06-23 15:51:55'),(11209,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.022989988327026','2016-06-23 15:51:55'),(11210,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'162\', \'2015\', \'8\', \'24.6\', \'0\', 24.6, \'2\', \'2016-06-23: 09:06:55\')','Gltransaction/journalPosting','0.044826030731201','2016-06-23 15:51:55'),(11211,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'180\'','Gltransaction/journalPosting','0.020107984542847','2016-06-23 15:51:55'),(11212,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000013\'','Gltransaction/journalPosting','0.036704063415527','2016-06-23 15:51:55'),(11213,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.014428853988647','2016-06-23 15:51:55'),(11214,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'152\', \'2015\', \'8\', \'7.5\', \'0\', 7.5, \'2\', \'2016-06-23: 09:06:55\')','Gltransaction/journalPosting','0.026818990707397','2016-06-23 15:51:55'),(11215,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'181\'','Gltransaction/journalPosting','0.039481163024902','2016-06-23 15:51:56'),(11216,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000014\'','Gltransaction/journalPosting','0.073018074035645','2016-06-23 15:51:56'),(11217,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.033520221710205','2016-06-23 15:51:56'),(11218,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'167\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024596929550171','2016-06-23 15:51:56'),(11219,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'182\'','Gltransaction/journalPosting','0.027628898620605','2016-06-23 15:51:56'),(11220,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000015\'','Gltransaction/journalPosting','0.039553880691528','2016-06-23 15:51:56'),(11221,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023002147674561','2016-06-23 15:51:56'),(11222,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'172\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026084899902344','2016-06-23 15:51:56'),(11223,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'183\'','Gltransaction/journalPosting','0.035556077957153','2016-06-23 15:51:58'),(11224,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000016\'','Gltransaction/journalPosting','0.066009998321533','2016-06-23 15:51:58'),(11225,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'151\', \'2015\', \'8\', \'0\', \'220.5\', -220.5, \'2\', \'2016-06-23: 09:06:57\')','Gltransaction/journalPosting','0.071078062057495','2016-06-23 15:51:58'),(11226,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.052680015563965','2016-06-23 15:51:58'),(11227,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.016010046005249','2016-06-23 15:51:58'),(11228,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023246049880981','2016-06-23 15:51:58'),(11229,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.05295205116272','2016-06-23 15:51:58'),(11230,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'170\', \'2015\', \'8\', \'90\', \'0\', 90, \'2\', \'2016-06-23: 09:06:57\')','Gltransaction/journalPosting','0.025672197341919','2016-06-23 15:51:58'),(11231,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.057334899902344','2016-06-23 15:51:58'),(11232,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.036685943603516','2016-06-23 15:51:58'),(11233,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024450063705444','2016-06-23 15:51:58'),(11234,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023771047592163','2016-06-23 15:51:58'),(11235,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026602983474731','2016-06-23 15:51:58'),(11236,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'165\', \'2015\', \'8\', \'303.15\', \'0\', 303.15, \'2\', \'2016-06-23: 09:06:57\')','Gltransaction/journalPosting','0.057920932769775','2016-06-23 15:51:58'),(11237,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.23507308959961','2016-06-23 15:51:58'),(11238,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.042072057723999','2016-06-23 15:51:58'),(11239,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.16406202316284','2016-06-23 15:51:59'),(11240,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'44\', \'114\', \'2015\', \'8\', \'0.5\', \'0\', 0.5, \'2\', \'2016-06-23: 09:06:58\')','Gltransaction/journalPosting','0.022871017456055','2016-06-23 15:51:59'),(11241,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'100\', \'2015\', \'8\', \'0.03\', \'0\', 0.03, \'2\', \'2016-06-23: 09:06:58\')','Gltransaction/journalPosting','0.025732040405273','2016-06-23 15:51:59'),(11242,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.057000875473022','2016-06-23 15:51:59'),(11243,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'184\'','Gltransaction/journalPosting','0.092977046966553','2016-06-23 15:52:00'),(11244,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000017\'','Gltransaction/journalPosting','0.028405904769897','2016-06-23 15:52:00'),(11245,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.081920862197876','2016-06-23 15:52:00'),(11246,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'108\', \'2015\', \'8\', \'2212.75\', \'0\', 2212.75, \'2\', \'2016-06-23: 09:06:59\')','Gltransaction/journalPosting','0.05915904045105','2016-06-23 15:52:00'),(11247,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.046552181243896','2016-06-23 15:52:00'),(11248,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.21468710899353','2016-06-23 15:52:00'),(11249,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.04197096824646','2016-06-23 15:52:01'),(11250,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.24120712280273','2016-06-23 15:52:01'),(11251,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'185\'','Gltransaction/journalPosting','0.047722101211548','2016-06-23 15:52:02'),(11252,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000018\'','Gltransaction/journalPosting','0.16612219810486','2016-06-23 15:52:02'),(11253,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.038792848587036','2016-06-23 15:52:02'),(11254,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.052212953567505','2016-06-23 15:52:02'),(11255,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.085375070571899','2016-06-23 15:52:02'),(11256,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.12009406089783','2016-06-23 15:52:02'),(11257,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.2528669834137','2016-06-23 15:52:02'),(11258,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.041906118392944','2016-06-23 15:52:03'),(11259,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'186\'','Gltransaction/journalPosting','0.041598081588745','2016-06-23 15:52:04'),(11260,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000019\'','Gltransaction/journalPosting','0.099322080612183','2016-06-23 15:52:04'),(11261,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.021703958511353','2016-06-23 15:52:04'),(11262,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026653051376343','2016-06-23 15:52:04'),(11263,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023233890533447','2016-06-23 15:52:04'),(11264,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.02727198600769','2016-06-23 15:52:04'),(11265,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023178100585938','2016-06-23 15:52:04'),(11266,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.027263164520264','2016-06-23 15:52:04'),(11267,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'187\'','Gltransaction/journalPosting','0.029561042785645','2016-06-23 15:52:05'),(11268,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000020\'','Gltransaction/journalPosting','0.06995701789856','2016-06-23 15:52:05'),(11269,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.14238119125366','2016-06-23 15:52:05'),(11270,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.061311006546021','2016-06-23 15:52:05'),(11271,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.060638189315796','2016-06-23 15:52:05'),(11272,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.05295205116272','2016-06-23 15:52:05'),(11273,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026059865951538','2016-06-23 15:52:05'),(11274,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026802062988281','2016-06-23 15:52:05'),(11275,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.049113035202026','2016-06-23 15:52:05'),(11276,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023759126663208','2016-06-23 15:52:05'),(11277,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'188\'','Gltransaction/journalPosting','0.42897009849548','2016-06-23 15:52:06'),(11278,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000021\'','Gltransaction/journalPosting','0.065792083740234','2016-06-23 15:52:06'),(11279,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.021714925765991','2016-06-23 15:52:06'),(11280,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.027209997177124','2016-06-23 15:52:06'),(11281,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.036728143692017','2016-06-23 15:52:07'),(11282,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024915933609009','2016-06-23 15:52:07'),(11283,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.014556169509888','2016-06-23 15:52:07'),(11284,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024724006652832','2016-06-23 15:52:07'),(11285,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'189\'','Gltransaction/journalPosting','0.054486989974976','2016-06-23 15:52:07'),(11286,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000022\'','Gltransaction/journalPosting','0.027218103408813','2016-06-23 15:52:07'),(11287,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.023290157318115','2016-06-23 15:52:07'),(11288,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'150\', \'2015\', \'8\', \'172.1\', \'0\', 172.1, \'2\', \'2016-06-23: 09:06:07\')','Gltransaction/journalPosting','0.046201944351196','2016-06-23 15:52:07'),(11289,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026220083236694','2016-06-23 15:52:07'),(11290,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024559020996094','2016-06-23 15:52:07'),(11291,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.026070833206177','2016-06-23 15:52:07'),(11292,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.024481058120728','2016-06-23 15:52:07'),(11293,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'190\'','Gltransaction/journalPosting','0.043601036071777','2016-06-23 15:52:08'),(11294,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150800000023\'','Gltransaction/journalPosting','0.052068948745728','2016-06-23 15:52:08'),(11295,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.059950113296509','2016-06-23 15:52:08'),(11296,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.031877040863037','2016-06-23 15:52:08'),(11297,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.039792060852051','2016-06-23 15:52:08'),(11298,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.049957990646362','2016-06-23 15:52:09'),(11299,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.041635036468506','2016-06-23 15:52:09'),(11300,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.19212198257446','2016-06-23 15:52:09'),(11301,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'318\'','Gltransaction/journalPosting','0.092833042144775','2016-06-23 15:52:09'),(11302,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150800000001\'','Gltransaction/journalPosting','0.051574230194092','2016-06-23 15:52:09'),(11303,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.042927980422974','2016-06-23 15:52:09'),(11304,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.0333571434021','2016-06-23 15:52:10'),(11305,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'319\'','Gltransaction/journalPosting','0.023422956466675','2016-06-23 15:52:11'),(11306,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150800000002\'','Gltransaction/journalPosting','0.051290988922119','2016-06-23 15:52:11'),(11307,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'36\', \'112\', \'2015\', \'8\', \'0\', \'97.83\', -97.83, \'2\', \'2016-06-23: 09:06:10\')','Gltransaction/journalPosting','0.038939952850342','2016-06-23 15:52:11'),(11308,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'8\'','Gltransaction/journalPosting','0.053128957748413','2016-06-23 15:52:11'),(11309,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'191\'','Gltransaction/journalPosting','0.076864957809448','2016-06-23 15:52:27'),(11310,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000001\'','Gltransaction/journalPosting','0.088118076324463','2016-06-23 15:52:27'),(11311,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'9\', \'0\', \'89.88\', -89.88, \'2\', \'2016-06-23: 09:06:27\')','Gltransaction/journalPosting','0.050188779830933','2016-06-23 15:52:27'),(11312,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'97\', \'2015\', \'9\', \'89.88\', \'0\', 89.88, \'2\', \'2016-06-23: 09:06:27\')','Gltransaction/journalPosting','0.025797128677368','2016-06-23 15:52:27'),(11313,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'192\'','Gltransaction/journalPosting','0.042652130126953','2016-06-23 15:52:27'),(11314,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000002\'','Gltransaction/journalPosting','0.025229930877686','2016-06-23 15:52:27'),(11315,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.025523900985718','2016-06-23 15:52:27'),(11316,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.064718961715698','2016-06-23 15:52:27'),(11317,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'193\'','Gltransaction/journalPosting','0.02803897857666','2016-06-23 15:52:28'),(11318,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000003\'','Gltransaction/journalPosting','0.029124021530151','2016-06-23 15:52:28'),(11319,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021956920623779','2016-06-23 15:52:28'),(11320,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'176\', \'2015\', \'9\', \'65\', \'0\', 65, \'2\', \'2016-06-23: 09:06:28\')','Gltransaction/journalPosting','0.048527956008911','2016-06-23 15:52:28'),(11321,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'194\'','Gltransaction/journalPosting','0.095299005508423','2016-06-23 15:52:28'),(11322,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000004\'','Gltransaction/journalPosting','0.038165092468262','2016-06-23 15:52:28'),(11323,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.049424886703491','2016-06-23 15:52:28'),(11324,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'9\', \'121.25\', \'0\', 121.25, \'2\', \'2016-06-23: 09:06:28\')','Gltransaction/journalPosting','0.046618938446045','2016-06-23 15:52:28'),(11325,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'195\'','Gltransaction/journalPosting','0.035643100738525','2016-06-23 15:52:29'),(11326,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000005\'','Gltransaction/journalPosting','0.051030158996582','2016-06-23 15:52:29'),(11327,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.050436973571777','2016-06-23 15:52:29'),(11328,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'170\', \'2015\', \'9\', \'614.8\', \'0\', 614.8, \'2\', \'2016-06-23: 09:06:29\')','Gltransaction/journalPosting','0.064220905303955','2016-06-23 15:52:29'),(11329,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'196\'','Gltransaction/journalPosting','0.11138105392456','2016-06-23 15:52:30'),(11330,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000006\'','Gltransaction/journalPosting','0.057417869567871','2016-06-23 15:52:30'),(11331,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.026782989501953','2016-06-23 15:52:30'),(11332,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'91\', \'2015\', \'9\', \'232.15\', \'0\', 232.15, \'2\', \'2016-06-23: 09:06:29\')','Gltransaction/journalPosting','0.048848152160645','2016-06-23 15:52:30'),(11333,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'197\'','Gltransaction/journalPosting','0.039111137390137','2016-06-23 15:52:30'),(11334,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000007\'','Gltransaction/journalPosting','0.024961948394775','2016-06-23 15:52:30'),(11335,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.026175975799561','2016-06-23 15:52:30'),(11336,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'168\', \'2015\', \'9\', \'42.35\', \'0\', 42.35, \'2\', \'2016-06-23: 09:06:30\')','Gltransaction/journalPosting','0.05541205406189','2016-06-23 15:52:30'),(11337,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'198\'','Gltransaction/journalPosting','0.05155611038208','2016-06-23 15:52:31'),(11338,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000008\'','Gltransaction/journalPosting','0.054996013641357','2016-06-23 15:52:31'),(11339,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.025485038757324','2016-06-23 15:52:31'),(11340,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'95\', \'2015\', \'9\', \'46.25\', \'0\', 46.25, \'2\', \'2016-06-23: 09:06:31\')','Gltransaction/journalPosting','0.055269002914429','2016-06-23 15:52:31'),(11341,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'199\'','Gltransaction/journalPosting','0.049994945526123','2016-06-23 15:52:31'),(11342,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000009\'','Gltransaction/journalPosting','0.054295063018799','2016-06-23 15:52:31'),(11343,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.09896993637085','2016-06-23 15:52:31'),(11344,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.027652978897095','2016-06-23 15:52:31'),(11345,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'200\'','Gltransaction/journalPosting','0.027305841445923','2016-06-23 15:52:32'),(11346,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000010\'','Gltransaction/journalPosting','0.025215864181519','2016-06-23 15:52:32'),(11347,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.02808690071106','2016-06-23 15:52:32'),(11348,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'161\', \'2015\', \'9\', \'200\', \'0\', 200, \'2\', \'2016-06-23: 09:06:32\')','Gltransaction/journalPosting','0.024152040481567','2016-06-23 15:52:32'),(11349,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'201\'','Gltransaction/journalPosting','0.058631181716919','2016-06-23 15:52:54'),(11350,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000011\'','Gltransaction/journalPosting','0.11892485618591','2016-06-23 15:52:54'),(11351,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.059316158294678','2016-06-23 15:52:54'),(11352,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'167\', \'2015\', \'9\', \'376.3\', \'0\', 376.3, \'2\', \'2016-06-23: 09:06:54\')','Gltransaction/journalPosting','0.049816131591797','2016-06-23 15:52:54'),(11353,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'202\'','Gltransaction/journalPosting','0.053566932678223','2016-06-23 15:52:55'),(11354,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000012\'','Gltransaction/journalPosting','0.10000681877136','2016-06-23 15:52:55'),(11355,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.17542409896851','2016-06-23 15:52:55'),(11356,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028348922729492','2016-06-23 15:52:55'),(11357,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'203\'','Gltransaction/journalPosting','0.027425050735474','2016-06-23 15:52:56'),(11358,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000013\'','Gltransaction/journalPosting','0.047007083892822','2016-06-23 15:52:56'),(11359,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'151\', \'2015\', \'9\', \'0\', \'2752.8\', -2752.8, \'2\', \'2016-06-23: 09:06:56\')','Gltransaction/journalPosting','0.046424865722656','2016-06-23 15:52:56'),(11360,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'2\', \'134\', \'2015\', \'9\', \'2752.8\', \'0\', 2752.8, \'2\', \'2016-06-23: 09:06:56\')','Gltransaction/journalPosting','0.026959180831909','2016-06-23 15:52:56'),(11361,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.022413015365601','2016-06-23 15:52:56'),(11362,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'44\', \'114\', \'2015\', \'9\', \'0.5\', \'0\', 0.5, \'2\', \'2016-06-23: 09:06:56\')','Gltransaction/journalPosting','0.02709698677063','2016-06-23 15:52:56'),(11363,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'100\', \'2015\', \'9\', \'0.03\', \'0\', 0.03, \'2\', \'2016-06-23: 09:06:56\')','Gltransaction/journalPosting','0.020976066589355','2016-06-23 15:52:56'),(11364,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.03925085067749','2016-06-23 15:52:56'),(11365,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'204\'','Gltransaction/journalPosting','0.026704072952271','2016-06-23 15:52:57'),(11366,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000014\'','Gltransaction/journalPosting','0.024607181549072','2016-06-23 15:52:57'),(11367,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.040067911148071','2016-06-23 15:52:57'),(11368,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'108\', \'2015\', \'9\', \'1800\', \'0\', 1800, \'2\', \'2016-06-23: 09:06:56\')','Gltransaction/journalPosting','0.041099071502686','2016-06-23 15:52:57'),(11369,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.064015865325928','2016-06-23 15:52:57'),(11370,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.022439002990723','2016-06-23 15:52:57'),(11371,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028503894805908','2016-06-23 15:52:57'),(11372,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021740913391113','2016-06-23 15:52:57'),(11373,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'205\'','Gltransaction/journalPosting','0.041707992553711','2016-06-23 15:52:57'),(11374,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000015\'','Gltransaction/journalPosting','0.041671991348267','2016-06-23 15:52:57'),(11375,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.020493030548096','2016-06-23 15:52:58'),(11376,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.055823802947998','2016-06-23 15:52:58'),(11377,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028074979782104','2016-06-23 15:52:58'),(11378,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028300046920776','2016-06-23 15:52:58'),(11379,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.02239990234375','2016-06-23 15:52:58'),(11380,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028280019760132','2016-06-23 15:52:58'),(11381,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'206\'','Gltransaction/journalPosting','0.045068979263306','2016-06-23 15:52:59'),(11382,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000016\'','Gltransaction/journalPosting','0.054964065551758','2016-06-23 15:52:59'),(11383,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.053635120391846','2016-06-23 15:52:59'),(11384,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.18800592422485','2016-06-23 15:52:59'),(11385,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.055911064147949','2016-06-23 15:52:59'),(11386,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.18791103363037','2016-06-23 15:52:59'),(11387,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.041971921920776','2016-06-23 15:52:59'),(11388,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.053906917572021','2016-06-23 15:52:59'),(11389,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'207\'','Gltransaction/journalPosting','0.096817970275879','2016-06-23 15:53:01'),(11390,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000017\'','Gltransaction/journalPosting','0.1793999671936','2016-06-23 15:53:01'),(11391,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.46264505386353','2016-06-23 15:53:01'),(11392,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'156\', \'2015\', \'9\', \'3412.15\', \'0\', 3412.15, \'2\', \'2016-06-23: 09:06:01\')','Gltransaction/journalPosting','0.049747943878174','2016-06-23 15:53:01'),(11393,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.040089130401611','2016-06-23 15:53:01'),(11394,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021708011627197','2016-06-23 15:53:01'),(11395,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.029071092605591','2016-06-23 15:53:01'),(11396,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021882057189941','2016-06-23 15:53:01'),(11397,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'208\'','Gltransaction/journalPosting','0.036463975906372','2016-06-23 15:53:02'),(11398,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000018\'','Gltransaction/journalPosting','0.057549953460693','2016-06-23 15:53:02'),(11399,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.03708815574646','2016-06-23 15:53:02'),(11400,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028913021087646','2016-06-23 15:53:02'),(11401,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021663188934326','2016-06-23 15:53:02'),(11402,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028569936752319','2016-06-23 15:53:02'),(11403,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.022832870483398','2016-06-23 15:53:02'),(11404,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028879880905151','2016-06-23 15:53:02'),(11405,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.021556854248047','2016-06-23 15:53:02'),(11406,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028979063034058','2016-06-23 15:53:02'),(11407,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'209\'','Gltransaction/journalPosting','0.16975092887878','2016-06-23 15:53:03'),(11408,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000019\'','Gltransaction/journalPosting','0.042876958847046','2016-06-23 15:53:03'),(11409,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.062089920043945','2016-06-23 15:53:03'),(11410,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'175\', \'2015\', \'9\', \'415\', \'0\', 415, \'2\', \'2016-06-23: 09:06:03\')','Gltransaction/journalPosting','0.020634889602661','2016-06-23 15:53:03'),(11411,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.029014110565186','2016-06-23 15:53:03'),(11412,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.057671070098877','2016-06-23 15:53:03'),(11413,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.051876068115234','2016-06-23 15:53:03'),(11414,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.043102025985718','2016-06-23 15:53:03'),(11415,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'210\'','Gltransaction/journalPosting','0.02871298789978','2016-06-23 15:53:04'),(11416,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000020\'','Gltransaction/journalPosting','0.028629779815674','2016-06-23 15:53:04'),(11417,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.028638124465942','2016-06-23 15:53:04'),(11418,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'152\', \'2015\', \'9\', \'2055.07\', \'0\', 2055.07, \'2\', \'2016-06-23: 09:06:04\')','Gltransaction/journalPosting','0.022921800613403','2016-06-23 15:53:04'),(11419,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.026477098464966','2016-06-23 15:53:04'),(11420,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.024249076843262','2016-06-23 15:53:04'),(11421,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.026165008544922','2016-06-23 15:53:04'),(11422,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.024362087249756','2016-06-23 15:53:04'),(11423,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'211\'','Gltransaction/journalPosting','0.047738075256348','2016-06-23 15:53:05'),(11424,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000021\'','Gltransaction/journalPosting','0.057416915893555','2016-06-23 15:53:05'),(11425,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.26255702972412','2016-06-23 15:53:05'),(11426,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'150\', \'2015\', \'9\', \'172.1\', \'0\', 172.1, \'2\', \'2016-06-23: 09:06:05\')','Gltransaction/journalPosting','0.036375999450684','2016-06-23 15:53:05'),(11427,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.041949033737183','2016-06-23 15:53:05'),(11428,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.020658016204834','2016-06-23 15:53:05'),(11429,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.055684089660645','2016-06-23 15:53:05'),(11430,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.027833938598633','2016-06-23 15:53:06'),(11431,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'212\'','Gltransaction/journalPosting','0.030671119689941','2016-06-23 15:53:07'),(11432,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150900000022\'','Gltransaction/journalPosting','0.041234016418457','2016-06-23 15:53:07'),(11433,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.053780794143677','2016-06-23 15:53:07'),(11434,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.051198959350586','2016-06-23 15:53:07'),(11435,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.16450500488281','2016-06-23 15:53:07'),(11436,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.060957908630371','2016-06-23 15:53:07'),(11437,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.2882969379425','2016-06-23 15:53:07'),(11438,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.37097215652466','2016-06-23 15:53:07'),(11439,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'320\'','Gltransaction/journalPosting','0.1798779964447','2016-06-23 15:53:08'),(11440,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150900000001\'','Gltransaction/journalPosting','0.066057920455933','2016-06-23 15:53:09'),(11441,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'36\', \'112\', \'2015\', \'9\', \'0\', \'87.84\', -87.84, \'2\', \'2016-06-23: 09:06:08\')','Gltransaction/journalPosting','0.18389010429382','2016-06-23 15:53:09'),(11442,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'9\'','Gltransaction/journalPosting','0.25251507759094','2016-06-23 15:53:09'),(11443,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'213\'','Gltransaction/journalPosting','0.061970949172974','2016-06-23 15:53:28'),(11444,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000001\'','Gltransaction/journalPosting','0.26515507698059','2016-06-23 15:53:28'),(11445,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'10\', \'0\', \'73.5\', -73.5, \'2\', \'2016-06-23: 09:06:27\')','Gltransaction/journalPosting','0.047942161560059','2016-06-23 15:53:28'),(11446,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'95\', \'2015\', \'10\', \'73.5\', \'0\', 73.5, \'2\', \'2016-06-23: 09:06:27\')','Gltransaction/journalPosting','0.14659905433655','2016-06-23 15:53:28'),(11447,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'214\'','Gltransaction/journalPosting','0.023150205612183','2016-06-23 15:53:28'),(11448,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000002\'','Gltransaction/journalPosting','0.024220943450928','2016-06-23 15:53:28'),(11449,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.038226842880249','2016-06-23 15:53:28'),(11450,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'161\', \'2015\', \'10\', \'100\', \'0\', 100, \'2\', \'2016-06-23: 09:06:28\')','Gltransaction/journalPosting','0.040464878082275','2016-06-23 15:53:28'),(11451,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'215\'','Gltransaction/journalPosting','0.026806116104126','2016-06-23 15:53:29'),(11452,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000003\'','Gltransaction/journalPosting','0.018499135971069','2016-06-23 15:53:29'),(11453,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.023574113845825','2016-06-23 15:53:29'),(11454,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'152\', \'2015\', \'10\', \'170\', \'0\', 170, \'2\', \'2016-06-23: 09:06:29\')','Gltransaction/journalPosting','0.061141014099121','2016-06-23 15:53:29'),(11455,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'216\'','Gltransaction/journalPosting','0.019269943237305','2016-06-23 15:53:29'),(11456,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000004\'','Gltransaction/journalPosting','0.025247812271118','2016-06-23 15:53:30'),(11457,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.015085935592651','2016-06-23 15:53:30'),(11458,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'91\', \'2015\', \'10\', \'233.2\', \'0\', 233.2, \'2\', \'2016-06-23: 09:06:29\')','Gltransaction/journalPosting','0.062955856323242','2016-06-23 15:53:30'),(11459,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'217\'','Gltransaction/journalPosting','0.040438890457153','2016-06-23 15:53:31'),(11460,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000005\'','Gltransaction/journalPosting','0.05054783821106','2016-06-23 15:53:31'),(11461,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.07512903213501','2016-06-23 15:53:31'),(11462,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'161\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.043088912963867','2016-06-23 15:53:31'),(11463,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'218\'','Gltransaction/journalPosting','0.014547109603882','2016-06-23 15:53:31'),(11464,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000006\'','Gltransaction/journalPosting','0.044634103775024','2016-06-23 15:53:31'),(11465,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042152881622314','2016-06-23 15:53:31'),(11466,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.067665815353394','2016-06-23 15:53:31'),(11467,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'219\'','Gltransaction/journalPosting','0.06635594367981','2016-06-23 15:53:32'),(11468,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000007\'','Gltransaction/journalPosting','0.056808948516846','2016-06-23 15:53:32'),(11469,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.14743900299072','2016-06-23 15:53:32'),(11470,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'168\', \'2015\', \'10\', \'42.35\', \'0\', 42.35, \'2\', \'2016-06-23: 09:06:32\')','Gltransaction/journalPosting','0.042459011077881','2016-06-23 15:53:32'),(11471,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'220\'','Gltransaction/journalPosting','0.045845031738281','2016-06-23 15:53:32'),(11472,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000008\'','Gltransaction/journalPosting','0.018512010574341','2016-06-23 15:53:32'),(11473,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055902004241943','2016-06-23 15:53:32'),(11474,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028176069259644','2016-06-23 15:53:32'),(11475,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'221\'','Gltransaction/journalPosting','0.044013977050781','2016-06-23 15:53:33'),(11476,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000009\'','Gltransaction/journalPosting','0.031964063644409','2016-06-23 15:53:33'),(11477,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.062954902648926','2016-06-23 15:53:33'),(11478,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055289030075073','2016-06-23 15:53:33'),(11479,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'222\'','Gltransaction/journalPosting','0.12796401977539','2016-06-23 15:53:34'),(11480,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000010\'','Gltransaction/journalPosting','0.052221059799194','2016-06-23 15:53:34'),(11481,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.18737602233887','2016-06-23 15:53:34'),(11482,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'87\', \'2015\', \'10\', \'50\', \'0\', 50, \'2\', \'2016-06-23: 09:06:33\')','Gltransaction/journalPosting','0.89369511604309','2016-06-23 15:53:35'),(11483,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'223\'','Gltransaction/journalPosting','0.083839178085327','2016-06-23 15:53:35'),(11484,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000011\'','Gltransaction/journalPosting','0.067621946334839','2016-06-23 15:53:35'),(11485,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.026736974716187','2016-06-23 15:53:35'),(11486,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'10\', \'105\', \'0\', 105, \'2\', \'2016-06-23: 09:06:35\')','Gltransaction/journalPosting','0.097497940063477','2016-06-23 15:53:35'),(11487,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'224\'','Gltransaction/journalPosting','0.052565813064575','2016-06-23 15:53:36'),(11488,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000012\'','Gltransaction/journalPosting','0.024626016616821','2016-06-23 15:53:36'),(11489,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017950057983398','2016-06-23 15:53:36'),(11490,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'167\', \'2015\', \'10\', \'9\', \'0\', 9, \'2\', \'2016-06-23: 09:06:36\')','Gltransaction/journalPosting','0.042564868927002','2016-06-23 15:53:36'),(11491,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'225\'','Gltransaction/journalPosting','0.039844036102295','2016-06-23 15:53:37'),(11492,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000013\'','Gltransaction/journalPosting','0.061851978302002','2016-06-23 15:53:37'),(11493,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.047278881072998','2016-06-23 15:53:37'),(11494,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'154\', \'2015\', \'10\', \'30\', \'0\', 30, \'2\', \'2016-06-23: 09:06:37\')','Gltransaction/journalPosting','0.06011700630188','2016-06-23 15:53:37'),(11495,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'226\'','Gltransaction/journalPosting','0.035111904144287','2016-06-23 15:53:37'),(11496,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000014\'','Gltransaction/journalPosting','0.057764053344727','2016-06-23 15:53:37'),(11497,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.03997802734375','2016-06-23 15:53:37'),(11498,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.046504020690918','2016-06-23 15:53:37'),(11499,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'227\'','Gltransaction/journalPosting','0.070239067077637','2016-06-23 15:53:38'),(11500,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000015\'','Gltransaction/journalPosting','0.024275064468384','2016-06-23 15:53:38'),(11501,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.051760196685791','2016-06-23 15:53:38'),(11502,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'167\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.045618057250977','2016-06-23 15:53:38'),(11503,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'228\'','Gltransaction/journalPosting','0.14511799812317','2016-06-23 15:53:39'),(11504,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000016\'','Gltransaction/journalPosting','0.39936685562134','2016-06-23 15:53:39'),(11505,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.12570691108704','2016-06-23 15:53:39'),(11506,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'97\', \'2015\', \'10\', \'429.7\', \'0\', 429.7, \'2\', \'2016-06-23: 09:06:39\')','Gltransaction/journalPosting','0.095731973648071','2016-06-23 15:53:40'),(11507,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'229\'','Gltransaction/journalPosting','0.073498010635376','2016-06-23 15:53:40'),(11508,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000017\'','Gltransaction/journalPosting','0.031392812728882','2016-06-23 15:53:40'),(11509,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021126985549927','2016-06-23 15:53:41'),(11510,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.04302191734314','2016-06-23 15:53:41'),(11511,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'230\'','Gltransaction/journalPosting','0.059973001480103','2016-06-23 15:53:41'),(11512,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000018\'','Gltransaction/journalPosting','0.14669680595398','2016-06-23 15:53:41'),(11513,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.047501087188721','2016-06-23 15:53:41'),(11514,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'168\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.050457954406738','2016-06-23 15:53:41'),(11515,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'231\'','Gltransaction/journalPosting','0.13750195503235','2016-06-23 15:53:42'),(11516,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000019\'','Gltransaction/journalPosting','0.043828964233398','2016-06-23 15:53:42'),(11517,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.060147047042847','2016-06-23 15:53:42'),(11518,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019582986831665','2016-06-23 15:53:42'),(11519,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'232\'','Gltransaction/journalPosting','0.050792932510376','2016-06-23 15:53:43'),(11520,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000020\'','Gltransaction/journalPosting','0.086361885070801','2016-06-23 15:53:43'),(11521,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.13278698921204','2016-06-23 15:53:43'),(11522,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'82\', \'2015\', \'10\', \'823.7\', \'0\', 823.7, \'2\', \'2016-06-23: 09:06:43\')','Gltransaction/journalPosting','0.092894077301025','2016-06-23 15:53:43'),(11523,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'233\'','Gltransaction/journalPosting','0.073150157928467','2016-06-23 15:53:45'),(11524,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000021\'','Gltransaction/journalPosting','0.26435899734497','2016-06-23 15:53:45'),(11525,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'151\', \'2015\', \'10\', \'0\', \'2304\', -2304, \'2\', \'2016-06-23: 09:06:44\')','Gltransaction/journalPosting','0.25909996032715','2016-06-23 15:53:45'),(11526,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'150\', \'2015\', \'10\', \'2304\', \'0\', 2304, \'2\', \'2016-06-23: 09:06:44\')','Gltransaction/journalPosting','0.067831993103027','2016-06-23 15:53:45'),(11527,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.063633918762207','2016-06-23 15:53:45'),(11528,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'44\', \'114\', \'2015\', \'10\', \'0.5\', \'0\', 0.5, \'2\', \'2016-06-23: 09:06:44\')','Gltransaction/journalPosting','0.14495587348938','2016-06-23 15:53:45'),(11529,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'100\', \'2015\', \'10\', \'0.03\', \'0\', 0.03, \'2\', \'2016-06-23: 09:06:45\')','Gltransaction/journalPosting','0.19140911102295','2016-06-23 15:53:45'),(11530,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.040877819061279','2016-06-23 15:53:45'),(11531,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'234\'','Gltransaction/journalPosting','0.14884305000305','2016-06-23 15:53:47'),(11532,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000022\'','Gltransaction/journalPosting','0.26777791976929','2016-06-23 15:53:47'),(11533,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.062692880630493','2016-06-23 15:53:47'),(11534,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.063700914382935','2016-06-23 15:53:48'),(11535,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028374910354614','2016-06-23 15:53:48'),(11536,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055305957794189','2016-06-23 15:53:48'),(11537,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.3411431312561','2016-06-23 15:53:48'),(11538,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.31315898895264','2016-06-23 15:53:48'),(11539,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'235\'','Gltransaction/journalPosting','0.047513008117676','2016-06-23 15:53:49'),(11540,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000023\'','Gltransaction/journalPosting','0.04594898223877','2016-06-23 15:53:49'),(11541,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.049131870269775','2016-06-23 15:53:49'),(11542,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021546125411987','2016-06-23 15:53:49'),(11543,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.062083959579468','2016-06-23 15:53:49'),(11544,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021806001663208','2016-06-23 15:53:49'),(11545,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.039691925048828','2016-06-23 15:53:49'),(11546,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.0420241355896','2016-06-23 15:53:49'),(11547,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'236\'','Gltransaction/journalPosting','0.12015199661255','2016-06-23 15:53:50'),(11548,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000024\'','Gltransaction/journalPosting','0.099280118942261','2016-06-23 15:53:50'),(11549,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10094690322876','2016-06-23 15:53:50'),(11550,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'108\', \'2015\', \'10\', \'2212.75\', \'0\', 2212.75, \'2\', \'2016-06-23: 09:06:49\')','Gltransaction/journalPosting','0.14239096641541','2016-06-23 15:53:50'),(11551,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028723955154419','2016-06-23 15:53:50'),(11552,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055368900299072','2016-06-23 15:53:50'),(11553,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.039880037307739','2016-06-23 15:53:50'),(11554,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055434942245483','2016-06-23 15:53:50'),(11555,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'237\'','Gltransaction/journalPosting','0.042711973190308','2016-06-23 15:53:51'),(11556,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000025\'','Gltransaction/journalPosting','0.079481840133667','2016-06-23 15:53:51'),(11557,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.30329203605652','2016-06-23 15:53:51'),(11558,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'156\', \'2015\', \'10\', \'3412.15\', \'0\', 3412.15, \'2\', \'2016-06-23: 09:06:51\')','Gltransaction/journalPosting','0.21872901916504','2016-06-23 15:53:51'),(11559,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.26050686836243','2016-06-23 15:53:52'),(11560,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.065958976745605','2016-06-23 15:53:52'),(11561,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028485059738159','2016-06-23 15:53:52'),(11562,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.043994903564453','2016-06-23 15:53:52'),(11563,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'238\'','Gltransaction/journalPosting','0.055120944976807','2016-06-23 15:53:52'),(11564,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000026\'','Gltransaction/journalPosting','0.052817106246948','2016-06-23 15:53:52'),(11565,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041683912277222','2016-06-23 15:53:52'),(11566,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.0326828956604','2016-06-23 15:53:52'),(11567,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'239\'','Gltransaction/journalPosting','0.084851980209351','2016-06-23 15:53:53'),(11568,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000027\'','Gltransaction/journalPosting','0.053115844726562','2016-06-23 15:53:53'),(11569,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042232036590576','2016-06-23 15:53:53'),(11570,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.040149927139282','2016-06-23 15:53:53'),(11571,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'240\'','Gltransaction/journalPosting','0.082147121429443','2016-06-23 15:53:54'),(11572,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000028\'','Gltransaction/journalPosting','0.023630142211914','2016-06-23 15:53:55'),(11573,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.68212103843689','2016-06-23 15:53:55'),(11574,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.074185132980347','2016-06-23 15:53:55'),(11575,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'241\'','Gltransaction/journalPosting','0.058849096298218','2016-06-23 15:53:55'),(11576,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000029\'','Gltransaction/journalPosting','0.02354907989502','2016-06-23 15:53:55'),(11577,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.027415990829468','2016-06-23 15:53:55'),(11578,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021716117858887','2016-06-23 15:53:55'),(11579,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'242\'','Gltransaction/journalPosting','0.039159059524536','2016-06-23 15:53:57'),(11580,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000030\'','Gltransaction/journalPosting','0.8113260269165','2016-06-23 15:53:57'),(11581,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10466408729553','2016-06-23 15:53:57'),(11582,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022111892700195','2016-06-23 15:53:57'),(11583,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.050769090652466','2016-06-23 15:53:57'),(11584,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021976947784424','2016-06-23 15:53:57'),(11585,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.062103986740112','2016-06-23 15:53:57'),(11586,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.088109970092773','2016-06-23 15:53:57'),(11587,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'243\'','Gltransaction/journalPosting','0.075873136520386','2016-06-23 15:53:58'),(11588,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000031\'','Gltransaction/journalPosting','0.056814908981323','2016-06-23 15:53:58'),(11589,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.083815813064575','2016-06-23 15:53:58'),(11590,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.085402011871338','2016-06-23 15:53:58'),(11591,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.030019998550415','2016-06-23 15:53:58'),(11592,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021504878997803','2016-06-23 15:53:58'),(11593,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02916407585144','2016-06-23 15:53:59'),(11594,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.076832056045532','2016-06-23 15:53:59'),(11595,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029455900192261','2016-06-23 15:53:59'),(11596,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021470069885254','2016-06-23 15:53:59'),(11597,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029320001602173','2016-06-23 15:53:59'),(11598,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021328926086426','2016-06-23 15:53:59'),(11599,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029371976852417','2016-06-23 15:53:59'),(11600,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'165\', \'2015\', \'10\', \'689\', \'0\', 689, \'2\', \'2016-06-23: 09:06:58\')','Gltransaction/journalPosting','0.06302809715271','2016-06-23 15:53:59'),(11601,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.06302809715271','2016-06-23 15:53:59'),(11602,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'166\', \'2015\', \'10\', \'480\', \'0\', 480, \'2\', \'2016-06-23: 09:06:58\')','Gltransaction/journalPosting','0.062008857727051','2016-06-23 15:53:59'),(11603,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.033480882644653','2016-06-23 15:53:59'),(11604,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'166\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.04465389251709','2016-06-23 15:53:59'),(11605,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.040585994720459','2016-06-23 15:53:59'),(11606,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'166\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054075002670288','2016-06-23 15:53:59'),(11607,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'244\'','Gltransaction/journalPosting','0.021244049072266','2016-06-23 15:54:00'),(11608,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000032\'','Gltransaction/journalPosting','0.064857006072998','2016-06-23 15:54:00'),(11609,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.06252384185791','2016-06-23 15:54:00'),(11610,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021358013153076','2016-06-23 15:54:00'),(11611,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029346942901611','2016-06-23 15:54:00'),(11612,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021367073059082','2016-06-23 15:54:00'),(11613,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.040469884872437','2016-06-23 15:54:00'),(11614,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.040884971618652','2016-06-23 15:54:00'),(11615,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'245\'','Gltransaction/journalPosting','0.03708291053772','2016-06-23 15:54:00'),(11616,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000033\'','Gltransaction/journalPosting','0.020137071609497','2016-06-23 15:54:00'),(11617,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.030586004257202','2016-06-23 15:54:00'),(11618,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'84\', \'2015\', \'10\', \'1500\', \'0\', 1500, \'2\', \'2016-06-23: 09:06:00\')','Gltransaction/journalPosting','0.016909122467041','2016-06-23 15:54:01'),(11619,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020982027053833','2016-06-23 15:54:01'),(11620,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018267869949341','2016-06-23 15:54:01'),(11621,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021176815032959','2016-06-23 15:54:01'),(11622,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018279075622559','2016-06-23 15:54:01'),(11623,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'246\'','Gltransaction/journalPosting','0.042267084121704','2016-06-23 15:54:03'),(11624,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000034\'','Gltransaction/journalPosting','0.03174090385437','2016-06-23 15:54:03'),(11625,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.039186000823975','2016-06-23 15:54:03'),(11626,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'170\', \'2015\', \'10\', \'1026.1\', \'0\', 1026.1, \'2\', \'2016-06-23: 09:06:01\')','Gltransaction/journalPosting','0.86243295669556','2016-06-23 15:54:03'),(11627,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.13018202781677','2016-06-23 15:54:03'),(11628,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020850896835327','2016-06-23 15:54:03'),(11629,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029700040817261','2016-06-23 15:54:03'),(11630,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054116010665894','2016-06-23 15:54:03'),(11631,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054500102996826','2016-06-23 15:54:03'),(11632,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.051176071166992','2016-06-23 15:54:03'),(11633,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029850006103516','2016-06-23 15:54:03'),(11634,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020931959152222','2016-06-23 15:54:03'),(11635,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.047912120819092','2016-06-23 15:54:03'),(11636,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.033342838287354','2016-06-23 15:54:03'),(11637,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021481990814209','2016-06-23 15:54:03'),(11638,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020797967910767','2016-06-23 15:54:03'),(11639,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029746055603027','2016-06-23 15:54:03'),(11640,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020940065383911','2016-06-23 15:54:04'),(11641,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029780864715576','2016-06-23 15:54:04'),(11642,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020904064178467','2016-06-23 15:54:04'),(11643,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029753923416138','2016-06-23 15:54:04'),(11644,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020779132843018','2016-06-23 15:54:04'),(11645,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'247\'','Gltransaction/journalPosting','0.061246871948242','2016-06-23 15:54:05'),(11646,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000035\'','Gltransaction/journalPosting','0.087584972381592','2016-06-23 15:54:05'),(11647,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.28620195388794','2016-06-23 15:54:05'),(11648,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.064348220825195','2016-06-23 15:54:05'),(11649,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042502880096436','2016-06-23 15:54:05'),(11650,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028558969497681','2016-06-23 15:54:05'),(11651,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020040988922119','2016-06-23 15:54:05'),(11652,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029804229736328','2016-06-23 15:54:05'),(11653,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'248\'','Gltransaction/journalPosting','0.043093919754028','2016-06-23 15:54:06'),(11654,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000036\'','Gltransaction/journalPosting','0.042530059814453','2016-06-23 15:54:06'),(11655,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.051861047744751','2016-06-23 15:54:06'),(11656,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.043286085128784','2016-06-23 15:54:06'),(11657,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.063735961914062','2016-06-23 15:54:06'),(11658,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.085685968399048','2016-06-23 15:54:06'),(11659,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028455972671509','2016-06-23 15:54:06'),(11660,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054018020629883','2016-06-23 15:54:06'),(11661,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'321\'','Gltransaction/journalPosting','0.17635989189148','2016-06-23 15:54:07'),(11662,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000001\'','Gltransaction/journalPosting','0.22212386131287','2016-06-23 15:54:07'),(11663,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.051931858062744','2016-06-23 15:54:08'),(11664,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055223941802979','2016-06-23 15:54:08'),(11665,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'322\'','Gltransaction/journalPosting','0.1430299282074','2016-06-23 15:54:09'),(11666,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000002\'','Gltransaction/journalPosting','0.086865901947021','2016-06-23 15:54:09'),(11667,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028759956359863','2016-06-23 15:54:09'),(11668,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022100210189819','2016-06-23 15:54:09'),(11669,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'323\'','Gltransaction/journalPosting','0.054043054580688','2016-06-23 15:54:10'),(11670,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000003\'','Gltransaction/journalPosting','0.022451162338257','2016-06-23 15:54:10'),(11671,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'36\', \'112\', \'2015\', \'10\', \'0\', \'83.15\', -83.15, \'2\', \'2016-06-23: 09:06:09\')','Gltransaction/journalPosting','0.052998065948486','2016-06-23 15:54:10'),(11672,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.065314054489136','2016-06-23 15:54:10'),(11673,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'324\'','Gltransaction/journalPosting','0.037217140197754','2016-06-23 15:54:10'),(11674,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000004\'','Gltransaction/journalPosting','0.021336078643799','2016-06-23 15:54:10'),(11675,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'7\', \'57\', \'2015\', \'10\', \'0\', \'10\', -10, \'2\', \'2016-06-23: 09:06:10\')','Gltransaction/journalPosting','0.020442962646484','2016-06-23 15:54:10'),(11676,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.043022155761719','2016-06-23 15:54:10'),(11677,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'325\'','Gltransaction/journalPosting','0.10923600196838','2016-06-23 15:54:11'),(11678,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000005\'','Gltransaction/journalPosting','0.044646024703979','2016-06-23 15:54:11'),(11679,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.065072774887085','2016-06-23 15:54:12'),(11680,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.22093081474304','2016-06-23 15:54:12'),(11681,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'326\'','Gltransaction/journalPosting','0.034049034118652','2016-06-23 15:54:12'),(11682,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000006\'','Gltransaction/journalPosting','0.045788049697876','2016-06-23 15:54:12'),(11683,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.16170501708984','2016-06-23 15:54:13'),(11684,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.30572080612183','2016-06-23 15:54:13'),(11685,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'327\'','Gltransaction/journalPosting','0.082053184509277','2016-06-23 15:54:13'),(11686,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000007\'','Gltransaction/journalPosting','0.044447183609009','2016-06-23 15:54:13'),(11687,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053251028060913','2016-06-23 15:54:13'),(11688,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055699110031128','2016-06-23 15:54:13'),(11689,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'328\'','Gltransaction/journalPosting','0.2197151184082','2016-06-23 15:54:14'),(11690,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000008\'','Gltransaction/journalPosting','0.22073888778687','2016-06-23 15:54:14'),(11691,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029274940490723','2016-06-23 15:54:14'),(11692,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052803993225098','2016-06-23 15:54:14'),(11693,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'329\'','Gltransaction/journalPosting','0.25664591789246','2016-06-23 15:54:17'),(11694,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000009\'','Gltransaction/journalPosting','0.16162514686584','2016-06-23 15:54:17'),(11695,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.035499811172485','2016-06-23 15:54:17'),(11696,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.062076091766357','2016-06-23 15:54:17'),(11697,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020754098892212','2016-06-23 15:54:17'),(11698,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019820928573608','2016-06-23 15:54:17'),(11699,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.05319619178772','2016-06-23 15:54:17'),(11700,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10580492019653','2016-06-23 15:54:17'),(11701,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.14834904670715','2016-06-23 15:54:18'),(11702,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.17512011528015','2016-06-23 15:54:18'),(11703,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10794401168823','2016-06-23 15:54:18'),(11704,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054443836212158','2016-06-23 15:54:18'),(11705,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042608976364136','2016-06-23 15:54:18'),(11706,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055233001708984','2016-06-23 15:54:18'),(11707,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054063081741333','2016-06-23 15:54:18'),(11708,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055623054504395','2016-06-23 15:54:18'),(11709,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.44788980484009','2016-06-23 15:54:18'),(11710,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.21261715888977','2016-06-23 15:54:19'),(11711,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'213\'','Gltransaction/journalPosting','0.57717514038086','2016-06-23 15:54:20'),(11712,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000001\'','Gltransaction/journalPosting','0.063601970672607','2016-06-23 15:54:20'),(11713,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.051495790481567','2016-06-23 15:54:20'),(11714,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017739057540894','2016-06-23 15:54:20'),(11715,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'214\'','Gltransaction/journalPosting','0.10583209991455','2016-06-23 15:54:20'),(11716,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000002\'','Gltransaction/journalPosting','0.0010600090026855','2016-06-23 15:54:20'),(11717,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.034096956253052','2016-06-23 15:54:20'),(11718,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'161\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.04094409942627','2016-06-23 15:54:20'),(11719,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'215\'','Gltransaction/journalPosting','0.056482791900635','2016-06-23 15:54:21'),(11720,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000003\'','Gltransaction/journalPosting','0.00074100494384766','2016-06-23 15:54:21'),(11721,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017658948898315','2016-06-23 15:54:21'),(11722,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018072843551636','2016-06-23 15:54:21'),(11723,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'216\'','Gltransaction/journalPosting','0.050801038742065','2016-06-23 15:54:22'),(11724,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000004\'','Gltransaction/journalPosting','0.0010931491851807','2016-06-23 15:54:22'),(11725,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018106937408447','2016-06-23 15:54:22'),(11726,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018805980682373','2016-06-23 15:54:22'),(11727,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'217\'','Gltransaction/journalPosting','0.043514013290405','2016-06-23 15:54:22'),(11728,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000005\'','Gltransaction/journalPosting','0.00044608116149902','2016-06-23 15:54:22'),(11729,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018465995788574','2016-06-23 15:54:22'),(11730,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'161\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020759105682373','2016-06-23 15:54:22'),(11731,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'218\'','Gltransaction/journalPosting','0.36729502677917','2016-06-23 15:54:23'),(11732,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000006\'','Gltransaction/journalPosting','0.00075507164001465','2016-06-23 15:54:23'),(11733,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041609048843384','2016-06-23 15:54:23'),(11734,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021588087081909','2016-06-23 15:54:23'),(11735,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'219\'','Gltransaction/journalPosting','0.076398134231567','2016-06-23 15:54:23'),(11736,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000007\'','Gltransaction/journalPosting','0.00084900856018066','2016-06-23 15:54:23'),(11737,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.015381097793579','2016-06-23 15:54:23'),(11738,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'168\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.05695915222168','2016-06-23 15:54:23'),(11739,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'220\'','Gltransaction/journalPosting','0.041841983795166','2016-06-23 15:54:24'),(11740,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000008\'','Gltransaction/journalPosting','0.00048685073852539','2016-06-23 15:54:24'),(11741,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052966117858887','2016-06-23 15:54:24'),(11742,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.24121284484863','2016-06-23 15:54:24'),(11743,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'221\'','Gltransaction/journalPosting','0.056786060333252','2016-06-23 15:54:25'),(11744,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000009\'','Gltransaction/journalPosting','0.00036001205444336','2016-06-23 15:54:25'),(11745,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.14000010490417','2016-06-23 15:54:25'),(11746,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021344184875488','2016-06-23 15:54:25'),(11747,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'222\'','Gltransaction/journalPosting','0.052200078964233','2016-06-23 15:54:25'),(11748,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000010\'','Gltransaction/journalPosting','0.00035810470581055','2016-06-23 15:54:25'),(11749,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053159952163696','2016-06-23 15:54:25'),(11750,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'87\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020212888717651','2016-06-23 15:54:25'),(11751,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'223\'','Gltransaction/journalPosting','0.051435947418213','2016-06-23 15:54:26'),(11752,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000011\'','Gltransaction/journalPosting','0.00093889236450195','2016-06-23 15:54:26'),(11753,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.037594795227051','2016-06-23 15:54:26'),(11754,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'163\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041884899139404','2016-06-23 15:54:26'),(11755,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'224\'','Gltransaction/journalPosting','0.19969797134399','2016-06-23 15:54:27'),(11756,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000012\'','Gltransaction/journalPosting','0.00080394744873047','2016-06-23 15:54:27'),(11757,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.039143085479736','2016-06-23 15:54:27'),(11758,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'167\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.1750180721283','2016-06-23 15:54:27'),(11759,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'225\'','Gltransaction/journalPosting','0.37722206115723','2016-06-23 15:54:28'),(11760,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000013\'','Gltransaction/journalPosting','0.083878040313721','2016-06-23 15:54:28'),(11761,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041225910186768','2016-06-23 15:54:28'),(11762,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'154\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020005941390991','2016-06-23 15:54:28'),(11763,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'226\'','Gltransaction/journalPosting','0.039813041687012','2016-06-23 15:54:28'),(11764,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000014\'','Gltransaction/journalPosting','0.00074291229248047','2016-06-23 15:54:28'),(11765,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.027673959732056','2016-06-23 15:54:28'),(11766,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020072937011719','2016-06-23 15:54:29'),(11767,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'227\'','Gltransaction/journalPosting','0.059767007827759','2016-06-23 15:54:29'),(11768,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000015\'','Gltransaction/journalPosting','0.0007319450378418','2016-06-23 15:54:29'),(11769,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.014718055725098','2016-06-23 15:54:29'),(11770,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'167\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022212028503418','2016-06-23 15:54:29'),(11771,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'228\'','Gltransaction/journalPosting','0.018819093704224','2016-06-23 15:54:29'),(11772,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000016\'','Gltransaction/journalPosting','0.00075507164001465','2016-06-23 15:54:29'),(11773,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.014677047729492','2016-06-23 15:54:29'),(11774,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022212028503418','2016-06-23 15:54:29'),(11775,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'229\'','Gltransaction/journalPosting','0.035530090332031','2016-06-23 15:54:30'),(11776,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000017\'','Gltransaction/journalPosting','0.00044512748718262','2016-06-23 15:54:30'),(11777,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052180051803589','2016-06-23 15:54:30'),(11778,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018594980239868','2016-06-23 15:54:30'),(11779,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'230\'','Gltransaction/journalPosting','0.040010929107666','2016-06-23 15:54:31'),(11780,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000018\'','Gltransaction/journalPosting','0.00074601173400879','2016-06-23 15:54:31'),(11781,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.061458110809326','2016-06-23 15:54:31'),(11782,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'168\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.14203000068665','2016-06-23 15:54:31'),(11783,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'231\'','Gltransaction/journalPosting','0.05171012878418','2016-06-23 15:54:31'),(11784,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000019\'','Gltransaction/journalPosting','0.0004889965057373','2016-06-23 15:54:31'),(11785,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052625894546509','2016-06-23 15:54:32'),(11786,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'95\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041961193084717','2016-06-23 15:54:32'),(11787,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'232\'','Gltransaction/journalPosting','0.039942979812622','2016-06-23 15:54:32'),(11788,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000020\'','Gltransaction/journalPosting','0.00036191940307617','2016-06-23 15:54:32'),(11789,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.064244031906128','2016-06-23 15:54:32'),(11790,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.034321069717407','2016-06-23 15:54:32'),(11791,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'233\'','Gltransaction/journalPosting','0.5944721698761','2016-06-23 15:54:33'),(11792,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000021\'','Gltransaction/journalPosting','0.0009160041809082','2016-06-23 15:54:33'),(11793,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.1054060459137','2016-06-23 15:54:33'),(11794,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.0191330909729','2016-06-23 15:54:33'),(11795,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.03139591217041','2016-06-23 15:54:33'),(11796,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.064264059066772','2016-06-23 15:54:33'),(11797,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.01706600189209','2016-06-23 15:54:34'),(11798,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022486925125122','2016-06-23 15:54:34'),(11799,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'234\'','Gltransaction/journalPosting','0.065301179885864','2016-06-23 15:54:34'),(11800,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000022\'','Gltransaction/journalPosting','0.00080680847167969','2016-06-23 15:54:34'),(11801,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.082564115524292','2016-06-23 15:54:34'),(11802,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.03966498374939','2016-06-23 15:54:35'),(11803,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.065016031265259','2016-06-23 15:54:35'),(11804,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.054542064666748','2016-06-23 15:54:35'),(11805,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.064260005950928','2016-06-23 15:54:35'),(11806,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052923202514648','2016-06-23 15:54:35'),(11807,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'235\'','Gltransaction/journalPosting','0.15565204620361','2016-06-23 15:54:36'),(11808,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000023\'','Gltransaction/journalPosting','0.00086092948913574','2016-06-23 15:54:36'),(11809,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.055580854415894','2016-06-23 15:54:36'),(11810,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017289161682129','2016-06-23 15:54:36'),(11811,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022124052047729','2016-06-23 15:54:36'),(11812,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017423152923584','2016-06-23 15:54:36'),(11813,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022222995758057','2016-06-23 15:54:36'),(11814,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.031013965606689','2016-06-23 15:54:36'),(11815,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'236\'','Gltransaction/journalPosting','0.31320881843567','2016-06-23 15:54:38'),(11816,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000024\'','Gltransaction/journalPosting','0.31700110435486','2016-06-23 15:54:38'),(11817,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.061707019805908','2016-06-23 15:54:38'),(11818,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.28256893157959','2016-06-23 15:54:38'),(11819,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.23527193069458','2016-06-23 15:54:38'),(11820,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019191980361938','2016-06-23 15:54:38'),(11821,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020088911056519','2016-06-23 15:54:38'),(11822,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019407033920288','2016-06-23 15:54:38'),(11823,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'237\'','Gltransaction/journalPosting','0.052280187606812','2016-06-23 15:54:39'),(11824,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000025\'','Gltransaction/journalPosting','0.00074195861816406','2016-06-23 15:54:39'),(11825,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.027989149093628','2016-06-23 15:54:39'),(11826,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'156\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019210815429688','2016-06-23 15:54:39'),(11827,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042581081390381','2016-06-23 15:54:39'),(11828,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019197940826416','2016-06-23 15:54:39'),(11829,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.031431198120117','2016-06-23 15:54:39'),(11830,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052910089492798','2016-06-23 15:54:39'),(11831,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'238\'','Gltransaction/journalPosting','0.041187047958374','2016-06-23 15:54:40'),(11832,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000026\'','Gltransaction/journalPosting','0.00073599815368652','2016-06-23 15:54:40'),(11833,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.16120100021362','2016-06-23 15:54:40'),(11834,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016682147979736','2016-06-23 15:54:40'),(11835,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'239\'','Gltransaction/journalPosting','0.02283501625061','2016-06-23 15:54:40'),(11836,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000027\'','Gltransaction/journalPosting','0.00069308280944824','2016-06-23 15:54:40'),(11837,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.065274000167847','2016-06-23 15:54:40'),(11838,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016710996627808','2016-06-23 15:54:40'),(11839,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'240\'','Gltransaction/journalPosting','0.042685031890869','2016-06-23 15:54:41'),(11840,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000028\'','Gltransaction/journalPosting','0.00077915191650391','2016-06-23 15:54:41'),(11841,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028271913528442','2016-06-23 15:54:41'),(11842,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016515016555786','2016-06-23 15:54:41'),(11843,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'241\'','Gltransaction/journalPosting','0.081243991851807','2016-06-23 15:54:42'),(11844,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000029\'','Gltransaction/journalPosting','0.00074315071105957','2016-06-23 15:54:42'),(11845,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028826951980591','2016-06-23 15:54:42'),(11846,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'108\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016410112380981','2016-06-23 15:54:42'),(11847,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'242\'','Gltransaction/journalPosting','0.016855001449585','2016-06-23 15:54:42'),(11848,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000030\'','Gltransaction/journalPosting','0.00057506561279297','2016-06-23 15:54:42'),(11849,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.04470682144165','2016-06-23 15:54:42'),(11850,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053101062774658','2016-06-23 15:54:42'),(11851,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053122043609619','2016-06-23 15:54:42'),(11852,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.04195499420166','2016-06-23 15:54:42'),(11853,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052403926849365','2016-06-23 15:54:43'),(11854,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052957057952881','2016-06-23 15:54:43'),(11855,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'243\'','Gltransaction/journalPosting','0.039819955825806','2016-06-23 15:54:44'),(11856,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000031\'','Gltransaction/journalPosting','0.00080513954162598','2016-06-23 15:54:45'),(11857,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.01453709602356','2016-06-23 15:54:45'),(11858,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.023741960525513','2016-06-23 15:54:45'),(11859,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.043154001235962','2016-06-23 15:54:45'),(11860,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028156995773315','2016-06-23 15:54:45'),(11861,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022408008575439','2016-06-23 15:54:45'),(11862,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.030936002731323','2016-06-23 15:54:45'),(11863,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.015934944152832','2016-06-23 15:54:45'),(11864,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.022825002670288','2016-06-23 15:54:45'),(11865,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017918109893799','2016-06-23 15:54:45'),(11866,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02077579498291','2016-06-23 15:54:45'),(11867,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.01840615272522','2016-06-23 15:54:45'),(11868,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'165\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021297931671143','2016-06-23 15:54:45'),(11869,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018402814865112','2016-06-23 15:54:45'),(11870,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'166\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.021200180053711','2016-06-23 15:54:45'),(11871,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018522977828979','2016-06-23 15:54:45'),(11872,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'166\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.82718920707703','2016-06-23 15:54:45'),(11873,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.23184394836426','2016-06-23 15:54:45'),(11874,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'166\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042078018188477','2016-06-23 15:54:45'),(11875,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'244\'','Gltransaction/journalPosting','0.062878131866455','2016-06-23 15:54:46'),(11876,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000032\'','Gltransaction/journalPosting','0.0032579898834229','2016-06-23 15:54:46'),(11877,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02543306350708','2016-06-23 15:54:46'),(11878,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'97\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016041994094849','2016-06-23 15:54:46'),(11879,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.056635856628418','2016-06-23 15:54:46'),(11880,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.015033960342407','2016-06-23 15:54:46'),(11881,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02220892906189','2016-06-23 15:54:47'),(11882,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.01513409614563','2016-06-23 15:54:47'),(11883,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'245\'','Gltransaction/journalPosting','0.023365020751953','2016-06-23 15:54:47'),(11884,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000033\'','Gltransaction/journalPosting','0.00077605247497559','2016-06-23 15:54:48'),(11885,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.028045892715454','2016-06-23 15:54:48'),(11886,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'84\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.03069806098938','2016-06-23 15:54:48'),(11887,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.082571983337402','2016-06-23 15:54:48'),(11888,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.058972120285034','2016-06-23 15:54:48'),(11889,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042196035385132','2016-06-23 15:54:48'),(11890,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.13932800292969','2016-06-23 15:54:48'),(11891,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'246\'','Gltransaction/journalPosting','0.022656917572021','2016-06-23 15:54:49'),(11892,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000034\'','Gltransaction/journalPosting','0.00045299530029297','2016-06-23 15:54:49'),(11893,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052675008773804','2016-06-23 15:54:49'),(11894,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053109884262085','2016-06-23 15:54:49'),(11895,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.015992879867554','2016-06-23 15:54:49'),(11896,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.023573160171509','2016-06-23 15:54:49'),(11897,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016088008880615','2016-06-23 15:54:50'),(11898,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.034540891647339','2016-06-23 15:54:50'),(11899,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053056955337524','2016-06-23 15:54:51'),(11900,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.12231802940369','2016-06-23 15:54:51'),(11901,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.03934383392334','2016-06-23 15:54:51'),(11902,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041901111602783','2016-06-23 15:54:51'),(11903,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053157806396484','2016-06-23 15:54:51'),(11904,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052818059921265','2016-06-23 15:54:51'),(11905,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.052608013153076','2016-06-23 15:54:51'),(11906,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041914939880371','2016-06-23 15:54:51'),(11907,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041904926300049','2016-06-23 15:54:51'),(11908,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042003870010376','2016-06-23 15:54:51'),(11909,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041930913925171','2016-06-23 15:54:51'),(11910,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042011022567749','2016-06-23 15:54:51'),(11911,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041859865188599','2016-06-23 15:54:51'),(11912,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053092002868652','2016-06-23 15:54:51'),(11913,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'247\'','Gltransaction/journalPosting','0.25197792053223','2016-06-23 15:54:52'),(11914,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000035\'','Gltransaction/journalPosting','0.33775305747986','2016-06-23 15:54:52'),(11915,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.042222023010254','2016-06-23 15:54:52'),(11916,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.018187999725342','2016-06-23 15:54:53'),(11917,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.041670083999634','2016-06-23 15:54:53'),(11918,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.019983053207397','2016-06-23 15:54:53'),(11919,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.032082080841064','2016-06-23 15:54:53'),(11920,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.069201946258545','2016-06-23 15:54:53'),(11921,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'248\'','Gltransaction/journalPosting','0.0155930519104','2016-06-23 15:54:53'),(11922,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151000000036\'','Gltransaction/journalPosting','0.00079488754272461','2016-06-23 15:54:54'),(11923,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.020485877990723','2016-06-23 15:54:54'),(11924,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016002178192139','2016-06-23 15:54:54'),(11925,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.023626089096069','2016-06-23 15:54:54'),(11926,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.025382041931152','2016-06-23 15:54:54'),(11927,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.025283098220825','2016-06-23 15:54:54'),(11928,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.025311946868896','2016-06-23 15:54:54'),(11929,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'321\'','Gltransaction/journalPosting','0.057268857955933','2016-06-23 15:54:54'),(11930,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000001\'','Gltransaction/journalPosting','0.00075912475585938','2016-06-23 15:54:54'),(11931,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02515697479248','2016-06-23 15:54:54'),(11932,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.032222032546997','2016-06-23 15:54:54'),(11933,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'322\'','Gltransaction/journalPosting','0.075792074203491','2016-06-23 15:54:55'),(11934,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000002\'','Gltransaction/journalPosting','0.00089406967163086','2016-06-23 15:54:55'),(11935,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.050390005111694','2016-06-23 15:54:55'),(11936,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.064227819442749','2016-06-23 15:54:55'),(11937,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'323\'','Gltransaction/journalPosting','0.060916185379028','2016-06-23 15:54:55'),(11938,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000003\'','Gltransaction/journalPosting','0.00078105926513672','2016-06-23 15:54:55'),(11939,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'112\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.1591899394989','2016-06-23 15:54:56'),(11940,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.032607793807983','2016-06-23 15:54:56'),(11941,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'324\'','Gltransaction/journalPosting','0.050292015075684','2016-06-23 15:54:56'),(11942,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000004\'','Gltransaction/journalPosting','0.0007469654083252','2016-06-23 15:54:56'),(11943,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.027622222900391','2016-06-23 15:54:56'),(11944,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053439855575562','2016-06-23 15:54:56'),(11945,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'325\'','Gltransaction/journalPosting','0.079989194869995','2016-06-23 15:54:57'),(11946,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000005\'','Gltransaction/journalPosting','0.00044894218444824','2016-06-23 15:54:57'),(11947,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10731887817383','2016-06-23 15:54:57'),(11948,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.05311107635498','2016-06-23 15:54:57'),(11949,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'326\'','Gltransaction/journalPosting','0.14329695701599','2016-06-23 15:54:58'),(11950,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000006\'','Gltransaction/journalPosting','0.0012898445129395','2016-06-23 15:54:58'),(11951,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.047955989837646','2016-06-23 15:54:58'),(11952,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.23057699203491','2016-06-23 15:54:58'),(11953,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'327\'','Gltransaction/journalPosting','0.052658796310425','2016-06-23 15:54:58'),(11954,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000007\'','Gltransaction/journalPosting','0.0003659725189209','2016-06-23 15:54:59'),(11955,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.053221940994263','2016-06-23 15:54:59'),(11956,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.081853151321411','2016-06-23 15:54:59'),(11957,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'328\'','Gltransaction/journalPosting','0.061059951782227','2016-06-23 15:54:59'),(11958,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000008\'','Gltransaction/journalPosting','0.00089097023010254','2016-06-23 15:54:59'),(11959,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'57\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.027539014816284','2016-06-23 15:54:59'),(11960,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.02650785446167','2016-06-23 15:54:59'),(11961,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'329\'','Gltransaction/journalPosting','0.024699926376343','2016-06-23 15:55:01'),(11962,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20151000000009\'','Gltransaction/journalPosting','0.00041699409484863','2016-06-23 15:55:01'),(11963,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.023774147033691','2016-06-23 15:55:01'),(11964,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.017049074172974','2016-06-23 15:55:01'),(11965,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.024417877197266','2016-06-23 15:55:01'),(11966,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.014371871948242','2016-06-23 15:55:01'),(11967,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.024291038513184','2016-06-23 15:55:01'),(11968,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029731035232544','2016-06-23 15:55:01'),(11969,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016615152359009','2016-06-23 15:55:01'),(11970,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.032441139221191','2016-06-23 15:55:01'),(11971,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'170\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.016423940658569','2016-06-23 15:55:02'),(11972,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.030975103378296','2016-06-23 15:55:02'),(11973,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'152\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.029279947280884','2016-06-23 15:55:02'),(11974,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.097133874893188','2016-06-23 15:55:02'),(11975,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.72810816764832','2016-06-23 15:55:02'),(11976,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.10960388183594','2016-06-23 15:55:02'),(11977,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.072038888931274','2016-06-23 15:55:03'),(11978,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'10\'','Gltransaction/journalPosting','0.11300897598267','2016-06-23 15:55:03'),(11979,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'249\'','Gltransaction/journalPosting','0.21328496932983','2016-06-23 15:55:45'),(11980,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000001\'','Gltransaction/journalPosting','0.054846048355103','2016-06-23 15:55:45'),(11981,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'11\', \'0\', \'90\', -90, \'2\', \'2016-06-23: 09:06:45\')','Gltransaction/journalPosting','0.10349106788635','2016-06-23 15:55:45'),(11982,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'165\', \'2015\', \'11\', \'90\', \'0\', 90, \'2\', \'2016-06-23: 09:06:45\')','Gltransaction/journalPosting','0.02326512336731','2016-06-23 15:55:45'),(11983,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'250\'','Gltransaction/journalPosting','0.60209798812866','2016-06-23 15:55:47'),(11984,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000002\'','Gltransaction/journalPosting','0.16260004043579','2016-06-23 15:55:47'),(11985,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.051623106002808','2016-06-23 15:55:47'),(11986,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'163\', \'2015\', \'11\', \'174.75\', \'0\', 174.75, \'2\', \'2016-06-23: 09:06:47\')','Gltransaction/journalPosting','0.041204929351807','2016-06-23 15:55:47'),(11987,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'251\'','Gltransaction/journalPosting','0.28179001808167','2016-06-23 15:55:48'),(11988,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000003\'','Gltransaction/journalPosting','0.029146909713745','2016-06-23 15:55:48'),(11989,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.053958177566528','2016-06-23 15:55:48'),(11990,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'177\', \'2015\', \'11\', \'5.95\', \'0\', 5.95, \'2\', \'2016-06-23: 09:06:48\')','Gltransaction/journalPosting','0.16074895858765','2016-06-23 15:55:48'),(11991,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'252\'','Gltransaction/journalPosting','0.13916778564453','2016-06-23 15:55:49'),(11992,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000004\'','Gltransaction/journalPosting','0.057255029678345','2016-06-23 15:55:49'),(11993,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.18223404884338','2016-06-23 15:55:49'),(11994,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'97\', \'2015\', \'11\', \'51.2\', \'0\', 51.2, \'2\', \'2016-06-23: 09:06:49\')','Gltransaction/journalPosting','0.073065996170044','2016-06-23 15:55:49'),(11995,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'253\'','Gltransaction/journalPosting','0.19241189956665','2016-06-23 15:55:50'),(11996,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000005\'','Gltransaction/journalPosting','0.13388586044312','2016-06-23 15:55:51'),(11997,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.055676937103271','2016-06-23 15:55:51'),(11998,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'177\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.041994094848633','2016-06-23 15:55:51'),(11999,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'254\'','Gltransaction/journalPosting','0.52922487258911','2016-06-23 15:55:52'),(12000,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000006\'','Gltransaction/journalPosting','0.088136911392212','2016-06-23 15:55:52'),(12001,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'151\', \'2015\', \'11\', \'0\', \'1872\', -1872, \'2\', \'2016-06-23: 09:06:52\')','Gltransaction/journalPosting','0.043714046478271','2016-06-23 15:55:52'),(12002,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'150\', \'2015\', \'11\', \'1872\', \'0\', 1872, \'2\', \'2016-06-23: 09:06:52\')','Gltransaction/journalPosting','0.024156093597412','2016-06-23 15:55:52'),(12003,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.081065893173218','2016-06-23 15:55:52'),(12004,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'44\', \'114\', \'2015\', \'11\', \'0.5\', \'0\', 0.5, \'2\', \'2016-06-23: 09:06:52\')','Gltransaction/journalPosting','0.019030809402466','2016-06-23 15:55:53'),(12005,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'100\', \'2015\', \'11\', \'0.03\', \'0\', 0.03, \'2\', \'2016-06-23: 09:06:52\')','Gltransaction/journalPosting','0.01570987701416','2016-06-23 15:55:53'),(12006,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.023072957992554','2016-06-23 15:55:53'),(12007,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'255\'','Gltransaction/journalPosting','0.057131052017212','2016-06-23 15:55:53'),(12008,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20151100000007\'','Gltransaction/journalPosting','0.032732963562012','2016-06-23 15:55:53'),(12009,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.040163040161133','2016-06-23 15:55:53'),(12010,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'150\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.031098127365112','2016-06-23 15:55:53'),(12011,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.075163841247559','2016-06-23 15:55:53'),(12012,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.016006946563721','2016-06-23 15:55:53'),(12013,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'100\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.023627042770386','2016-06-23 15:55:53'),(12014,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'151\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'11\'','Gltransaction/journalPosting','0.016026973724365','2016-06-23 15:55:53'),(12015,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'256\'','Gltransaction/journalPosting','0.10341596603394','2016-06-23 15:55:54');
