(372759,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03590989112854','2015-10-30 12:59:14'),(372760,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1488\'','Gltransaction/journalPosting','0.0364830493927','2015-10-30 12:59:15'),(372761,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000060\'','Gltransaction/journalPosting','0.028290987014771','2015-10-30 12:59:15'),(372762,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044680118560791','2015-10-30 12:59:15'),(372763,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'281\', \'2016\', \'5\', \'118\', \'0\', 118, \'2\', \'2015-10-30: 05:10:15\')','Gltransaction/journalPosting','0.010921001434326','2015-10-30 12:59:15'),(372764,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1489\'','Gltransaction/journalPosting','0.031767845153809','2015-10-30 12:59:15'),(372765,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000061\'','Gltransaction/journalPosting','0.021068811416626','2015-10-30 12:59:15'),(372766,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053096055984497','2015-10-30 12:59:15'),(372767,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070914030075073','2015-10-30 12:59:16'),(372768,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0778648853302','2015-10-30 12:59:16'),(372769,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037376880645752','2015-10-30 12:59:16'),(372770,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1490\'','Gltransaction/journalPosting','0.19212603569031','2015-10-30 12:59:16'),(372771,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000062\'','Gltransaction/journalPosting','0.07224702835083','2015-10-30 12:59:16'),(372772,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.074355125427246','2015-10-30 12:59:16'),(372773,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.062747955322266','2015-10-30 12:59:17'),(372774,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.076545000076294','2015-10-30 12:59:17'),(372775,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.055008888244629','2015-10-30 12:59:17'),(372776,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1491\'','Gltransaction/journalPosting','0.26289296150208','2015-10-30 12:59:18'),(372777,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000063\'','Gltransaction/journalPosting','0.22900009155273','2015-10-30 12:59:18'),(372778,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.054409027099609','2015-10-30 12:59:18'),(372779,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10365104675293','2015-10-30 12:59:18'),(372780,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.062608957290649','2015-10-30 12:59:18'),(372781,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.094485998153687','2015-10-30 12:59:18'),(372782,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1492\'','Gltransaction/journalPosting','0.026247978210449','2015-10-30 12:59:19'),(372783,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000064\'','Gltransaction/journalPosting','0.014022827148438','2015-10-30 12:59:19'),(372784,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.025031089782715','2015-10-30 12:59:19'),(372785,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012540817260742','2015-10-30 12:59:19'),(372786,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011953830718994','2015-10-30 12:59:19'),(372787,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013268232345581','2015-10-30 12:59:19'),(372788,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1493\'','Gltransaction/journalPosting','0.037742137908936','2015-10-30 12:59:19'),(372789,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000065\'','Gltransaction/journalPosting','0.022294998168945','2015-10-30 12:59:19'),(372790,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027307033538818','2015-10-30 12:59:19'),(372791,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037665128707886','2015-10-30 12:59:19'),(372792,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028020143508911','2015-10-30 12:59:19'),(372793,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.039444923400879','2015-10-30 12:59:19'),(372794,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1494\'','Gltransaction/journalPosting','0.040245056152344','2015-10-30 12:59:20'),(372795,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000066\'','Gltransaction/journalPosting','0.012655973434448','2015-10-30 12:59:20'),(372796,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035260200500488','2015-10-30 12:59:20'),(372797,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'292\', \'2016\', \'5\', \'40\', \'0\', 40, \'2\', \'2015-10-30: 05:10:20\')','Gltransaction/journalPosting','0.034301996231079','2015-10-30 12:59:20'),(372798,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034006118774414','2015-10-30 12:59:20'),(372799,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.050611019134521','2015-10-30 12:59:20'),(372800,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1495\'','Gltransaction/journalPosting','0.041192770004272','2015-10-30 12:59:20'),(372801,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000067\'','Gltransaction/journalPosting','0.039189100265503','2015-10-30 12:59:20'),(372802,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035234928131104','2015-10-30 12:59:21'),(372803,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037610054016113','2015-10-30 12:59:21'),(372804,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019540071487427','2015-10-30 12:59:21'),(372805,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029412031173706','2015-10-30 12:59:21'),(372806,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1496\'','Gltransaction/journalPosting','0.061369895935059','2015-10-30 12:59:21'),(372807,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000068\'','Gltransaction/journalPosting','0.038921117782593','2015-10-30 12:59:21'),(372808,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035600900650024','2015-10-30 12:59:21'),(372809,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021103858947754','2015-10-30 12:59:21'),(372810,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1497\'','Gltransaction/journalPosting','0.039427042007446','2015-10-30 12:59:21'),(372811,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000069\'','Gltransaction/journalPosting','0.03912878036499','2015-10-30 12:59:21'),(372812,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010396003723145','2015-10-30 12:59:21'),(372813,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012876987457275','2015-10-30 12:59:21'),(372814,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011553049087524','2015-10-30 12:59:22'),(372815,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012988090515137','2015-10-30 12:59:22'),(372816,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1498\'','Gltransaction/journalPosting','0.029925107955933','2015-10-30 12:59:22'),(372817,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000070\'','Gltransaction/journalPosting','0.027240991592407','2015-10-30 12:59:22'),(372818,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026834011077881','2015-10-30 12:59:22'),(372819,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019618988037109','2015-10-30 12:59:22'),(372820,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037503004074097','2015-10-30 12:59:22'),(372821,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019467115402222','2015-10-30 12:59:22'),(372822,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1499\'','Gltransaction/journalPosting','0.035408973693848','2015-10-30 12:59:22'),(372823,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000071\'','Gltransaction/journalPosting','0.029506921768188','2015-10-30 12:59:23'),(372824,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026918888092041','2015-10-30 12:59:23'),(372825,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'292\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028108835220337','2015-10-30 12:59:23'),(372826,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026819944381714','2015-10-30 12:59:23'),(372827,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036354064941406','2015-10-30 12:59:23'),(372828,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1500\'','Gltransaction/journalPosting','0.054105997085571','2015-10-30 12:59:23'),(372829,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000072\'','Gltransaction/journalPosting','0.32698798179626','2015-10-30 12:59:24'),(372830,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.078856945037842','2015-10-30 12:59:24'),(372831,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035133838653564','2015-10-30 12:59:24'),(372832,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036446094512939','2015-10-30 12:59:24'),(372833,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02672004699707','2015-10-30 12:59:24'),(372834,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1501\'','Gltransaction/journalPosting','0.029899120330811','2015-10-30 12:59:24'),(372835,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000073\'','Gltransaction/journalPosting','0.011641025543213','2015-10-30 12:59:24'),(372836,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028246879577637','2015-10-30 12:59:24'),(372837,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027642965316772','2015-10-30 12:59:24'),(372838,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028733968734741','2015-10-30 12:59:24'),(372839,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026834011077881','2015-10-30 12:59:24'),(372840,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1502\'','Gltransaction/journalPosting','0.022730827331543','2015-10-30 12:59:25'),(372841,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000074\'','Gltransaction/journalPosting','0.037872076034546','2015-10-30 12:59:25'),(372842,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034099817276001','2015-10-30 12:59:25'),(372843,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'281\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011399984359741','2015-10-30 12:59:25'),(372844,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027239084243774','2015-10-30 12:59:25'),(372845,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027853965759277','2015-10-30 12:59:25'),(372846,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1503\'','Gltransaction/journalPosting','0.34231901168823','2015-10-30 12:59:26'),(372847,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000075\'','Gltransaction/journalPosting','0.21248197555542','2015-10-30 12:59:26'),(372848,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026246070861816','2015-10-30 12:59:26'),(372849,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036796092987061','2015-10-30 12:59:26'),(372850,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044082880020142','2015-10-30 12:59:26'),(372851,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028603076934814','2015-10-30 12:59:26'),(372852,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1504\'','Gltransaction/journalPosting','0.073057889938354','2015-10-30 12:59:27'),(372853,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000076\'','Gltransaction/journalPosting','0.043621063232422','2015-10-30 12:59:27'),(372854,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018286943435669','2015-10-30 12:59:27'),(372855,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035251140594482','2015-10-30 12:59:27'),(372856,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018641948699951','2015-10-30 12:59:27'),(372857,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010082006454468','2015-10-30 12:59:27'),(372858,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1505\'','Gltransaction/journalPosting','0.016497135162354','2015-10-30 12:59:27'),(372859,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000077\'','Gltransaction/journalPosting','0.012922048568726','2015-10-30 12:59:27'),(372860,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010257005691528','2015-10-30 12:59:27'),(372861,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012365818023682','2015-10-30 12:59:27'),(372862,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010962009429932','2015-10-30 12:59:27'),(372863,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010948896408081','2015-10-30 12:59:27'),(372864,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1506\'','Gltransaction/journalPosting','0.15529704093933','2015-10-30 12:59:28'),(372865,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000078\'','Gltransaction/journalPosting','0.046130180358887','2015-10-30 12:59:28'),(372866,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034098863601685','2015-10-30 12:59:28'),(372867,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011561870574951','2015-10-30 12:59:28'),(372868,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010209083557129','2015-10-30 12:59:28'),(372869,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17504000663757','2015-10-30 12:59:28'),(372870,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1507\'','Gltransaction/journalPosting','0.02488112449646','2015-10-30 12:59:29'),(372871,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000079\'','Gltransaction/journalPosting','0.036604166030884','2015-10-30 12:59:29'),(372872,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053208112716675','2015-10-30 12:59:29'),(372873,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060145854949951','2015-10-30 12:59:29'),(372874,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035219192504883','2015-10-30 12:59:29'),(372875,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011384010314941','2015-10-30 12:59:29'),(372876,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1508\'','Gltransaction/journalPosting','0.11806702613831','2015-10-30 12:59:29'),(372877,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000080\'','Gltransaction/journalPosting','0.12451815605164','2015-10-30 12:59:30'),(372878,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.067284107208252','2015-10-30 12:59:30'),(372879,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036416053771973','2015-10-30 12:59:30'),(372880,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018478870391846','2015-10-30 12:59:30'),(372881,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02831506729126','2015-10-30 12:59:30'),(372882,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1509\'','Gltransaction/journalPosting','0.096925973892212','2015-10-30 12:59:31'),(372883,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000081\'','Gltransaction/journalPosting','0.14949679374695','2015-10-30 12:59:31'),(372884,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.1220269203186','2015-10-30 12:59:31'),(372885,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.072295904159546','2015-10-30 12:59:31'),(372886,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068398952484131','2015-10-30 12:59:31'),(372887,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051728010177612','2015-10-30 12:59:31'),(372888,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1510\'','Gltransaction/journalPosting','0.022610187530518','2015-10-30 12:59:32'),(372889,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000082\'','Gltransaction/journalPosting','0.13996195793152','2015-10-30 12:59:32'),(372890,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14686107635498','2015-10-30 12:59:32'),(372891,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.30581212043762','2015-10-30 12:59:32'),(372892,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17306303977966','2015-10-30 12:59:32'),(372893,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.23654103279114','2015-10-30 12:59:33'),(372894,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1511\'','Gltransaction/journalPosting','0.17763996124268','2015-10-30 12:59:35'),(372895,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000083\'','Gltransaction/journalPosting','0.47417807579041','2015-10-30 12:59:35'),(372896,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.092380046844482','2015-10-30 12:59:35'),(372897,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060498952865601','2015-10-30 12:59:35'),(372898,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.55745100975037','2015-10-30 12:59:35'),(372899,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.086187839508057','2015-10-30 12:59:35'),(372900,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1512\'','Gltransaction/journalPosting','0.14623308181763','2015-10-30 12:59:36'),(372901,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000084\'','Gltransaction/journalPosting','0.072919845581055','2015-10-30 12:59:37'),(372902,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.041989088058472','2015-10-30 12:59:37'),(372903,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14615797996521','2015-10-30 12:59:37'),(372904,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.28969192504883','2015-10-30 12:59:37'),(372905,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14803099632263','2015-10-30 12:59:37'),(372906,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1513\'','Gltransaction/journalPosting','0.20035815238953','2015-10-30 12:59:38'),(372907,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000085\'','Gltransaction/journalPosting','0.076411962509155','2015-10-30 12:59:38'),(372908,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.083855152130127','2015-10-30 12:59:39'),(372909,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060889005661011','2015-10-30 12:59:39'),(372910,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.079756021499634','2015-10-30 12:59:39'),(372911,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045171976089478','2015-10-30 12:59:39'),(372912,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1514\'','Gltransaction/journalPosting','0.16548991203308','2015-10-30 12:59:40'),(372913,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000086\'','Gltransaction/journalPosting','0.071610927581787','2015-10-30 12:59:40'),(372914,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15811085700989','2015-10-30 12:59:40'),(372915,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.072729825973511','2015-10-30 12:59:40'),(372916,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.052960872650146','2015-10-30 12:59:40'),(372917,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029387950897217','2015-10-30 12:59:40'),(372918,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1515\'','Gltransaction/journalPosting','0.19250106811523','2015-10-30 12:59:41'),(372919,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000087\'','Gltransaction/journalPosting','0.03563404083252','2015-10-30 12:59:41'),(372920,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05305004119873','2015-10-30 12:59:41'),(372921,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011273145675659','2015-10-30 12:59:41'),(372922,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029553890228271','2015-10-30 12:59:41'),(372923,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036271095275879','2015-10-30 12:59:41'),(372924,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1516\'','Gltransaction/journalPosting','0.15141201019287','2015-10-30 12:59:41'),(372925,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000088\'','Gltransaction/journalPosting','0.034347057342529','2015-10-30 12:59:42'),(372926,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018663883209229','2015-10-30 12:59:42'),(372927,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012765884399414','2015-10-30 12:59:42'),(372928,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053037166595459','2015-10-30 12:59:42'),(372929,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021170854568481','2015-10-30 12:59:42'),(372930,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1517\'','Gltransaction/journalPosting','0.085586071014404','2015-10-30 12:59:42'),(372931,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000089\'','Gltransaction/journalPosting','0.037815809249878','2015-10-30 12:59:42'),(372932,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011312007904053','2015-10-30 12:59:42'),(372933,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01349401473999','2015-10-30 12:59:42'),(372934,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045242071151733','2015-10-30 12:59:42'),(372935,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0139479637146','2015-10-30 12:59:42'),(372936,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1518\'','Gltransaction/journalPosting','0.04767107963562','2015-10-30 12:59:43'),(372937,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000090\'','Gltransaction/journalPosting','0.013907909393311','2015-10-30 12:59:43'),(372938,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012855052947998','2015-10-30 12:59:43'),(372939,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01141619682312','2015-10-30 12:59:43'),(372940,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012479782104492','2015-10-30 12:59:43'),(372941,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011306047439575','2015-10-30 12:59:43'),(372942,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1519\'','Gltransaction/journalPosting','0.097452163696289','2015-10-30 12:59:44'),(372943,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000091\'','Gltransaction/journalPosting','0.243332862854','2015-10-30 12:59:44'),(372944,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036608934402466','2015-10-30 12:59:44'),(372945,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'8\', \'275\', \'2016\', \'5\', \'1450\', \'0\', 1450, \'2\', \'2015-10-30: 05:10:43\')','Gltransaction/journalPosting','0.066143035888672','2015-10-30 12:59:44'),(372946,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028987169265747','2015-10-30 12:59:44'),(372947,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036341905593872','2015-10-30 12:59:44'),(372948,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1520\'','Gltransaction/journalPosting','0.1270911693573','2015-10-30 12:59:45'),(372949,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000092\'','Gltransaction/journalPosting','0.066087007522583','2015-10-30 12:59:45'),(372950,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05295991897583','2015-10-30 12:59:45'),(372951,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'280\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019496917724609','2015-10-30 12:59:45'),(372952,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029376029968262','2015-10-30 12:59:45'),(372953,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027901887893677','2015-10-30 12:59:45'),(372954,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1521\'','Gltransaction/journalPosting','0.15370202064514','2015-10-30 12:59:46'),(372955,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000093\'','Gltransaction/journalPosting','0.071744918823242','2015-10-30 12:59:46'),(372956,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.086326837539673','2015-10-30 12:59:46'),(372957,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019535064697266','2015-10-30 12:59:46'),(372958,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021090984344482','2015-10-30 12:59:46'),(372959,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053013801574707','2015-10-30 12:59:46'),(372960,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1522\'','Gltransaction/journalPosting','0.019261121749878','2015-10-30 12:59:47'),(372961,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000094\'','Gltransaction/journalPosting','0.029376029968262','2015-10-30 12:59:47'),(372962,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036864042282104','2015-10-30 12:59:47'),(372963,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020910024642944','2015-10-30 12:59:47'),(372964,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.052524089813232','2015-10-30 12:59:47'),(372965,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020764827728271','2015-10-30 12:59:47'),(372966,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1523\'','Gltransaction/journalPosting','0.035248994827271','2015-10-30 12:59:48'),(372967,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000095\'','Gltransaction/journalPosting','0.036596059799194','2015-10-30 12:59:48'),(372968,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11307001113892','2015-10-30 12:59:48'),(372969,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.098516941070557','2015-10-30 12:59:48'),(372970,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.076467990875244','2015-10-30 12:59:48'),(372971,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019820928573608','2015-10-30 12:59:48'),(372972,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1524\'','Gltransaction/journalPosting','0.14555311203003','2015-10-30 12:59:49'),(372973,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000096\'','Gltransaction/journalPosting','0.036909103393555','2015-10-30 12:59:49'),(372974,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.016613960266113','2015-10-30 12:59:49'),(372975,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01148796081543','2015-10-30 12:59:49'),(372976,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010344982147217','2015-10-30 12:59:49'),(372977,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.073518991470337','2015-10-30 12:59:49'),(372978,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1525\'','Gltransaction/journalPosting','0.036002159118652','2015-10-30 12:59:49'),(372979,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000097\'','Gltransaction/journalPosting','0.041424989700317','2015-10-30 12:59:50'),(372980,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010127067565918','2015-10-30 12:59:50'),(372981,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036515951156616','2015-10-30 12:59:50'),(372982,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0099811553955078','2015-10-30 12:59:50'),(372983,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01032280921936','2015-10-30 12:59:50'),(372984,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1526\'','Gltransaction/journalPosting','0.033423900604248','2015-10-30 12:59:50'),(372985,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000098\'','Gltransaction/journalPosting','0.044813871383667','2015-10-30 12:59:50'),(372986,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011382818222046','2015-10-30 12:59:50'),(372987,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011458158493042','2015-10-30 12:59:50'),(372988,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043163061141968','2015-10-30 12:59:50'),(372989,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011936902999878','2015-10-30 12:59:50'),(372990,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1527\'','Gltransaction/journalPosting','0.056670904159546','2015-10-30 12:59:51'),(372991,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000099\'','Gltransaction/journalPosting','0.037873983383179','2015-10-30 12:59:51'),(372992,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15561580657959','2015-10-30 12:59:51'),(372993,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10609889030457','2015-10-30 12:59:51'),(372994,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10678005218506','2015-10-30 12:59:51'),(372995,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.072312831878662','2015-10-30 12:59:51'),(372996,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1528\'','Gltransaction/journalPosting','0.058850049972534','2015-10-30 12:59:52'),(372997,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000100\'','Gltransaction/journalPosting','0.029489994049072','2015-10-30 12:59:52'),(372998,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043721914291382','2015-10-30 12:59:52'),(372999,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043431043624878','2015-10-30 12:59:52'),(373000,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011373043060303','2015-10-30 12:59:52'),(373001,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060202836990356','2015-10-30 12:59:52'),(373002,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1529\'','Gltransaction/journalPosting','0.11952710151672','2015-10-30 12:59:53'),(373003,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000101\'','Gltransaction/journalPosting','0.17205381393433','2015-10-30 12:59:53'),(373004,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02686595916748','2015-10-30 12:59:53'),(373005,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.095870971679688','2015-10-30 12:59:53'),(373006,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14796590805054','2015-10-30 12:59:53'),(373007,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.21257209777832','2015-10-30 12:59:53'),(373008,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1530\'','Gltransaction/journalPosting','0.12684798240662','2015-10-30 12:59:54'),(373009,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000102\'','Gltransaction/journalPosting','0.12944388389587','2015-10-30 12:59:54'),(373010,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.095307111740112','2015-10-30 12:59:54'),(373011,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.067961931228638','2015-10-30 12:59:54'),(373012,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11565089225769','2015-10-30 12:59:54'),(373013,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10972785949707','2015-10-30 12:59:54'),(373014,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1531\'','Gltransaction/journalPosting','0.14301204681396','2015-10-30 12:59:56'),(373015,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000103\'','Gltransaction/journalPosting','0.18372201919556','2015-10-30 12:59:56'),(373016,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.21250200271606','2015-10-30 12:59:56'),(373017,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.2313859462738','2015-10-30 12:59:56'),(373018,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.2145779132843','2015-10-30 12:59:56'),(373019,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.16484618186951','2015-10-30 12:59:56'),(373020,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1532\'','Gltransaction/journalPosting','0.26396894454956','2015-10-30 12:59:58'),(373021,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000104\'','Gltransaction/journalPosting','0.83955001831055','2015-10-30 12:59:58'),(373022,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.083207130432129','2015-10-30 12:59:58'),(373023,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018409967422485','2015-10-30 12:59:58'),(373024,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.056646108627319','2015-10-30 12:59:58'),(373025,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053225040435791','2015-10-30 12:59:58'),(373026,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1533\'','Gltransaction/journalPosting','0.021007061004639','2015-10-30 12:59:59'),(373027,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000105\'','Gltransaction/journalPosting','0.011525869369507','2015-10-30 12:59:59'),(373028,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011444807052612','2015-10-30 12:59:59'),(373029,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035786151885986','2015-10-30 12:59:59'),(373030,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028820037841797','2015-10-30 12:59:59'),(373031,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027332067489624','2015-10-30 12:59:59'),(373032,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1534\'','Gltransaction/journalPosting','0.016251087188721','2015-10-30 13:00:00'),(373033,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000106\'','Gltransaction/journalPosting','0.12672805786133','2015-10-30 13:00:00'),(373034,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11863088607788','2015-10-30 13:00:00'),(373035,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019829988479614','2015-10-30 13:00:00'),(373036,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018517971038818','2015-10-30 13:00:00'),(373037,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.076400995254517','2015-10-30 13:00:00'),(373038,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1535\'','Gltransaction/journalPosting','0.17202281951904','2015-10-30 13:00:01'),(373039,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000107\'','Gltransaction/journalPosting','0.07043194770813','2015-10-30 13:00:01'),(373040,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10934495925903','2015-10-30 13:00:01'),(373041,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17300295829773','2015-10-30 13:00:01'),(373042,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13974499702454','2015-10-30 13:00:01'),(373043,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.085729122161865','2015-10-30 13:00:01'),(373044,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1536\'','Gltransaction/journalPosting','0.12366795539856','2015-10-30 13:00:02'),(373045,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000108\'','Gltransaction/journalPosting','0.044294834136963','2015-10-30 13:00:02'),(373046,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035299062728882','2015-10-30 13:00:02'),(373047,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01028299331665','2015-10-30 13:00:02'),(373048,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010161876678467','2015-10-30 13:00:02'),(373049,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01148796081543','2015-10-30 13:00:02'),(373050,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1537\'','Gltransaction/journalPosting','0.026903867721558','2015-10-30 13:00:02'),(373051,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000109\'','Gltransaction/journalPosting','0.011567115783691','2015-10-30 13:00:02'),(373052,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.014488935470581','2015-10-30 13:00:02'),(373053,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013372182846069','2015-10-30 13:00:02'),(373054,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012117147445679','2015-10-30 13:00:02'),(373055,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012761831283569','2015-10-30 13:00:02'),(373056,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1538\'','Gltransaction/journalPosting','0.12269282341003','2015-10-30 13:00:03'),(373057,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000110\'','Gltransaction/journalPosting','0.036536931991577','2015-10-30 13:00:03'),(373058,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01856803894043','2015-10-30 13:00:03'),(373059,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012670040130615','2015-10-30 13:00:03'),(373060,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034992933273315','2015-10-30 13:00:03'),(373061,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037662982940674','2015-10-30 13:00:03'),(373062,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1539\'','Gltransaction/journalPosting','0.036314010620117','2015-10-30 13:00:03'),(373063,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000111\'','Gltransaction/journalPosting','0.029436111450195','2015-10-30 13:00:03'),(373064,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02828311920166','2015-10-30 13:00:03'),(373065,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027694940567017','2015-10-30 13:00:03'),(373066,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029356002807617','2015-10-30 13:00:04'),(373067,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036243915557861','2015-10-30 13:00:04'),(373068,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1540\'','Gltransaction/journalPosting','0.020965814590454','2015-10-30 13:00:05'),(373069,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000112\'','Gltransaction/journalPosting','0.062978982925415','2015-10-30 13:00:05'),(373070,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.19118905067444','2015-10-30 13:00:05'),(373071,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.064482927322388','2015-10-30 13:00:05'),(373072,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061218023300171','2015-10-30 13:00:05'),(373073,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061954975128174','2015-10-30 13:00:05'),(373074,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1541\'','Gltransaction/journalPosting','0.15104293823242','2015-10-30 13:00:06'),(373075,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000113\'','Gltransaction/journalPosting','0.065607070922852','2015-10-30 13:00:06'),(373076,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0365309715271','2015-10-30 13:00:06'),(373077,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019431829452515','2015-10-30 13:00:06'),(373078,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02937388420105','2015-10-30 13:00:06'),(373079,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.041173219680786','2015-10-30 13:00:06'),(373080,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1542\'','Gltransaction/journalPosting','0.12812781333923','2015-10-30 13:00:08'),(373081,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000114\'','Gltransaction/journalPosting','0.77014899253845','2015-10-30 13:00:08'),(373082,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035114049911499','2015-10-30 13:00:08'),(373083,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029181003570557','2015-10-30 13:00:08'),(373084,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029342889785767','2015-10-30 13:00:08'),(373085,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.083575010299683','2015-10-30 13:00:08'),(373086,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1543\'','Gltransaction/journalPosting','0.069677114486694','2015-10-30 13:00:09'),(373087,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000115\'','Gltransaction/journalPosting','0.013834953308105','2015-10-30 13:00:09'),(373088,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018875122070312','2015-10-30 13:00:09'),(373089,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012641906738281','2015-10-30 13:00:09'),(373090,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011237859725952','2015-10-30 13:00:09'),(373091,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012614011764526','2015-10-30 13:00:09'),(373092,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1544\'','Gltransaction/journalPosting','0.23311805725098','2015-10-30 13:00:09'),(373093,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000116\'','Gltransaction/journalPosting','0.066786050796509','2015-10-30 13:00:10'),(373094,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027997970581055','2015-10-30 13:00:10'),(373095,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01125693321228','2015-10-30 13:00:10'),(373096,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013104200363159','2015-10-30 13:00:10'),(373097,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019095897674561','2015-10-30 13:00:10'),(373098,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1545\'','Gltransaction/journalPosting','0.21087408065796','2015-10-30 13:00:10'),(373099,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000117\'','Gltransaction/journalPosting','0.044104099273682','2015-10-30 13:00:10'),(373100,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019742012023926','2015-10-30 13:00:10'),(373101,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011178970336914','2015-10-30 13:00:10'),(373102,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012462139129639','2015-10-30 13:00:10'),(373103,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012598991394043','2015-10-30 13:00:10'),(373104,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1546\'','Gltransaction/journalPosting','0.29951190948486','2015-10-30 13:00:11'),(373105,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000118\'','Gltransaction/journalPosting','0.060561895370483','2015-10-30 13:00:11'),(373106,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018539905548096','2015-10-30 13:00:11'),(373107,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.038166999816895','2015-10-30 13:00:11'),(373108,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011288166046143','2015-10-30 13:00:11'),(373109,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012798070907593','2015-10-30 13:00:11'),(373110,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1547\'','Gltransaction/journalPosting','0.071367979049683','2015-10-30 13:00:12'),(373111,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000119\'','Gltransaction/journalPosting','0.054208040237427','2015-10-30 13:00:12'),(373112,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019754886627197','2015-10-30 13:00:12'),(373113,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10292887687683','2015-10-30 13:00:12'),(373114,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17295503616333','2015-10-30 13:00:12'),(373115,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.1315929889679','2015-10-30 13:00:12'),(373116,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1548\'','Gltransaction/journalPosting','0.19240808486938','2015-10-30 13:00:13'),(373117,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000120\'','Gltransaction/journalPosting','0.18276309967041','2015-10-30 13:00:13'),(373118,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.25307703018188','2015-10-30 13:00:13'),(373119,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.046815156936646','2015-10-30 13:00:13'),(373120,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036402940750122','2015-10-30 13:00:13'),(373121,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.093384981155396','2015-10-30 13:00:13'),(373122,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1549\'','Gltransaction/journalPosting','0.23542809486389','2015-10-30 13:00:15'),(373123,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000121\'','Gltransaction/journalPosting','0.29628086090088','2015-10-30 13:00:15'),(373124,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.24698996543884','2015-10-30 13:00:15'),(373125,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.098611831665039','2015-10-30 13:00:15'),(373126,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10997104644775','2015-10-30 13:00:15'),(373127,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13568902015686','2015-10-30 13:00:15'),(373128,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1550\'','Gltransaction/journalPosting','0.22946214675903','2015-10-30 13:00:17'),(373129,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000122\'','Gltransaction/journalPosting','0.39012908935547','2015-10-30 13:00:17'),(373130,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020990133285522','2015-10-30 13:00:17'),(373131,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.071417808532715','2015-10-30 13:00:17'),(373132,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020362138748169','2015-10-30 13:00:17'),(373133,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026849985122681','2015-10-30 13:00:17'),(373134,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1551\'','Gltransaction/journalPosting','0.15634989738464','2015-10-30 13:00:18'),(373135,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000123\'','Gltransaction/journalPosting','0.059775114059448','2015-10-30 13:00:18'),(373136,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.067178010940552','2015-10-30 13:00:18'),(373137,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028002977371216','2015-10-30 13:00:18'),(373138,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035254001617432','2015-10-30 13:00:18'),(373139,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069739103317261','2015-10-30 13:00:19'),(373140,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1552\'','Gltransaction/journalPosting','0.17364001274109','2015-10-30 13:00:20'),(373141,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000124\'','Gltransaction/journalPosting','0.50844287872314','2015-10-30 13:00:20'),(373142,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15887808799744','2015-10-30 13:00:20'),(373143,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10178399085999','2015-10-30 13:00:20'),(373144,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069713115692139','2015-10-30 13:00:20'),(373145,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059879064559937','2015-10-30 13:00:21'),(373146,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1553\'','Gltransaction/journalPosting','0.10893893241882','2015-10-30 13:00:21'),(373147,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000125\'','Gltransaction/journalPosting','0.069705009460449','2015-10-30 13:00:22'),(373148,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05040717124939','2015-10-30 13:00:22'),(373149,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053139209747314','2015-10-30 13:00:22'),(373150,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026863098144531','2015-10-30 13:00:22'),(373151,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027819871902466','2015-10-30 13:00:22'),(373152,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1554\'','Gltransaction/journalPosting','0.15807604789734','2015-10-30 13:00:23'),(373153,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000126\'','Gltransaction/journalPosting','0.13289999961853','2015-10-30 13:00:23'),(373154,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12177705764771','2015-10-30 13:00:23'),(373155,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13994598388672','2015-10-30 13:00:23'),(373156,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.042580127716064','2015-10-30 13:00:23'),(373157,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051868200302124','2015-10-30 13:00:23'),(373158,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1555\'','Gltransaction/journalPosting','0.2042510509491','2015-10-30 13:00:24'),(373159,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000127\'','Gltransaction/journalPosting','0.42286205291748','2015-10-30 13:00:24'),(373160,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068657875061035','2015-10-30 13:00:24'),(373161,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060307025909424','2015-10-30 13:00:24'),(373162,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059855937957764','2015-10-30 13:00:24'),(373163,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061404943466187','2015-10-30 13:00:24'),(373164,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1556\'','Gltransaction/journalPosting','0.13968515396118','2015-10-30 13:00:25'),(373165,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000128\'','Gltransaction/journalPosting','0.068458080291748','2015-10-30 13:00:25'),(373166,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.025454998016357','2015-10-30 13:00:25'),(373167,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011328935623169','2015-10-30 13:00:25'),(373168,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069097995758057','2015-10-30 13:00:25'),(373169,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15076494216919','2015-10-30 13:00:26'),(373170,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1557\'','Gltransaction/journalPosting','0.10843801498413','2015-10-30 13:00:26'),(373171,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000129\'','Gltransaction/journalPosting','0.082688808441162','2015-10-30 13:00:26'),(373172,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035492181777954','2015-10-30 13:00:26'),(373173,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068489074707031','2015-10-30 13:00:26'),(373174,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011373996734619','2015-10-30 13:00:26'),(373175,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035264015197754','2015-10-30 13:00:26'),(373176,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1558\'','Gltransaction/journalPosting','0.12515997886658','2015-10-30 13:00:27'),(373177,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000130\'','Gltransaction/journalPosting','0.086538076400757','2015-10-30 13:00:27'),(373178,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.017241954803467','2015-10-30 13:00:27'),(373179,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019328117370605','2015-10-30 13:00:27'),(373180,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010082960128784','2015-10-30 13:00:27'),(373181,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011532068252563','2015-10-30 13:00:27'),(373182,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1639\'','Gltransaction/journalPosting','0.22290205955505','2015-10-30 13:01:03'),(373183,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000211\'','Gltransaction/journalPosting','0.11096382141113','2015-10-30 13:01:03'),(373184,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.025732040405273','2015-10-30 13:01:03'),(373185,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011270999908447','2015-10-30 13:01:03'),(373186,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010073900222778','2015-10-30 13:01:03'),(373187,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.014062166213989','2015-10-30 13:01:03'),(373188,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1640\'','Gltransaction/journalPosting','0.02092719078064','2015-10-30 13:01:03'),(373189,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000212\'','Gltransaction/journalPosting','0.014096975326538','2015-10-30 13:01:03'),(373190,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011564016342163','2015-10-30 13:01:03'),(373191,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012552976608276','2015-10-30 13:01:03'),(373192,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013411045074463','2015-10-30 13:01:03'),(373193,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011940002441406','2015-10-30 13:01:03'),(373194,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1641\'','Gltransaction/journalPosting','0.042553901672363','2015-10-30 13:01:04'),(373195,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000213\'','Gltransaction/journalPosting','0.012680053710938','2015-10-30 13:01:04'),(373196,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012760162353516','2015-10-30 13:01:04'),(373197,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012197971343994','2015-10-30 13:01:04'),(373198,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013568162918091','2015-10-30 13:01:04'),(373199,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011892080307007','2015-10-30 13:01:04'),(373200,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1642\'','Gltransaction/journalPosting','0.039546012878418','2015-10-30 13:01:04'),(373201,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000214\'','Gltransaction/journalPosting','0.012551069259644','2015-10-30 13:01:04'),(373202,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012825012207031','2015-10-30 13:01:04'),(373203,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0208420753479','2015-10-30 13:01:04'),(373204,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01121711730957','2015-10-30 13:01:04'),(373205,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021213054656982','2015-10-30 13:01:04'),(373206,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1643\'','Gltransaction/journalPosting','0.029192924499512','2015-10-30 13:01:05'),(373207,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000215\'','Gltransaction/journalPosting','0.013967990875244','2015-10-30 13:01:05'),(373208,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011358976364136','2015-10-30 13:01:05'),(373209,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'107\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013270139694214','2015-10-30 13:01:05'),(373210,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1644\'','Gltransaction/journalPosting','0.040575981140137','2015-10-30 13:01:05'),(373211,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000216\'','Gltransaction/journalPosting','0.038854837417603','2015-10-30 13:01:05'),(373212,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01842212677002','2015-10-30 13:01:05'),(373213,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012485980987549','2015-10-30 13:01:05'),(373214,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012704133987427','2015-10-30 13:01:05'),(373215,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019838094711304','2015-10-30 13:01:05'),(373216,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1645\'','Gltransaction/journalPosting','0.047240018844604','2015-10-30 13:01:06'),(373217,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000217\'','Gltransaction/journalPosting','0.037824153900146','2015-10-30 13:01:06'),(373218,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02773904800415','2015-10-30 13:01:06'),(373219,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027927875518799','2015-10-30 13:01:06'),(373220,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.022740125656128','2015-10-30 13:01:06'),(373221,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045989036560059','2015-10-30 13:01:06'),(373222,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1646\'','Gltransaction/journalPosting','0.052061080932617','2015-10-30 13:01:06'),(373223,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000218\'','Gltransaction/journalPosting','0.043443918228149','2015-10-30 13:01:07'),(373224,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018584966659546','2015-10-30 13:01:07'),(373225,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029417037963867','2015-10-30 13:01:07'),(373226,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027663946151733','2015-10-30 13:01:07'),(373227,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.046016931533813','2015-10-30 13:01:07'),(373228,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1647\'','Gltransaction/journalPosting','0.019064903259277','2015-10-30 13:01:07'),(373229,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000219\'','Gltransaction/journalPosting','0.030794858932495','2015-10-30 13:01:07'),(373230,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020648956298828','2015-10-30 13:01:07'),(373231,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.04499077796936','2015-10-30 13:01:07'),(373232,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02910304069519','2015-10-30 13:01:07'),(373233,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020303964614868','2015-10-30 13:01:07'),(373234,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1648\'','Gltransaction/journalPosting','0.26342296600342','2015-10-30 13:01:08'),(373235,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000220\'','Gltransaction/journalPosting','0.12216019630432','2015-10-30 13:01:08'),(373236,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.18168902397156','2015-10-30 13:01:08'),(373237,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029245853424072','2015-10-30 13:01:08'),(373238,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019810914993286','2015-10-30 13:01:08'),(373239,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020588159561157','2015-10-30 13:01:08'),(373240,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1569\'','Gltransaction/journalPosting','0.0919029712677','2015-10-30 13:01:09'),(373241,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000141\'','Gltransaction/journalPosting','0.071309089660645','2015-10-30 13:01:09'),(373242,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027987957000732','2015-10-30 13:01:09'),(373243,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'82\', \'2016\', \'5\', \'150\', \'0\', 150, \'2\', \'2015-10-30: 06:10:09\')','Gltransaction/journalPosting','0.08521294593811','2015-10-30 13:01:09'),(373244,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1570\'','Gltransaction/journalPosting','0.020857095718384','2015-10-30 13:01:09'),(373245,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000142\'','Gltransaction/journalPosting','0.022446870803833','2015-10-30 13:01:09'),(373246,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012772083282471','2015-10-30 13:01:09'),(373247,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028254985809326','2015-10-30 13:01:09'),(373248,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012644052505493','2015-10-30 13:01:10'),(373249,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019730806350708','2015-10-30 13:01:10'),(373250,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1571\'','Gltransaction/journalPosting','0.03977108001709','2015-10-30 13:01:10'),(373251,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000143\'','Gltransaction/journalPosting','0.012866973876953','2015-10-30 13:01:10'),(373252,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.042529106140137','2015-10-30 13:01:10'),(373253,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.023436069488525','2015-10-30 13:01:10'),(373254,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019014120101929','2015-10-30 13:01:10'),(373255,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019955158233643','2015-10-30 13:01:10'),(373256,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1572\'','Gltransaction/journalPosting','0.018883943557739','2015-10-30 13:01:11'),(373257,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000144\'','Gltransaction/journalPosting','0.011559009552002','2015-10-30 13:01:11'),(373258,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011727094650269','2015-10-30 13:01:11'),(373259,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011031866073608','2015-10-30 13:01:11'),(373260,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012356996536255','2015-10-30 13:01:11'),(373261,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018532037734985','2015-10-30 13:01:11'),(373262,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1573\'','Gltransaction/journalPosting','0.033832788467407','2015-10-30 13:01:11'),(373263,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000145\'','Gltransaction/journalPosting','0.011469125747681','2015-10-30 13:01:11'),(373264,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0097699165344238','2015-10-30 13:01:11'),(373265,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012318134307861','2015-10-30 13:01:11'),(373266,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010964870452881','2015-10-30 13:01:11'),(373267,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012324094772339','2015-10-30 13:01:11'),(373268,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1574\'','Gltransaction/journalPosting','0.037627935409546','2015-10-30 13:01:11'),(373269,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000146\'','Gltransaction/journalPosting','0.011651039123535','2015-10-30 13:01:11'),(373270,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011430025100708','2015-10-30 13:01:12'),(373271,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.032384872436523','2015-10-30 13:01:12'),(373272,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027720928192139','2015-10-30 13:01:12'),(373273,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069705009460449','2015-10-30 13:01:12'),(373274,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1575\'','Gltransaction/journalPosting','0.10203003883362','2015-10-30 13:01:12'),(373275,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000147\'','Gltransaction/journalPosting','0.011428117752075','2015-10-30 13:01:13'),(373276,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035255908966064','2015-10-30 13:01:13'),(373277,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060116052627563','2015-10-30 13:01:13'),(373278,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036417007446289','2015-10-30 13:01:13'),(373279,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.16159296035767','2015-10-30 13:01:13'),(373280,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1576\'','Gltransaction/journalPosting','0.20194315910339','2015-10-30 13:01:14'),(373281,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000148\'','Gltransaction/journalPosting','0.068476915359497','2015-10-30 13:01:14'),(373282,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.093455076217651','2015-10-30 13:01:14'),(373283,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17687892913818','2015-10-30 13:01:14'),(373284,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11114811897278','2015-10-30 13:01:14'),(373285,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043385028839111','2015-10-30 13:01:14'),(373286,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1577\'','Gltransaction/journalPosting','0.1417829990387','2015-10-30 13:01:16'),(373287,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000149\'','Gltransaction/journalPosting','0.14937305450439','2015-10-30 13:01:16'),(373288,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018428087234497','2015-10-30 13:01:16'),(373289,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.1600239276886','2015-10-30 13:01:16'),(373290,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15585112571716','2015-10-30 13:01:16'),(373291,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.26478290557861','2015-10-30 13:01:16'),(373292,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1578\'','Gltransaction/journalPosting','0.027254819869995','2015-10-30 13:01:17'),(373293,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000150\'','Gltransaction/journalPosting','0.023010969161987','2015-10-30 13:01:17'),(373294,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.025743961334229','2015-10-30 13:01:17'),(373295,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'296\', \'2016\', \'5\', \'15\', \'0\', 15, \'2\', \'2015-10-30: 06:10:17\')','Gltransaction/journalPosting','0.084555864334106','2015-10-30 13:01:17'),(373296,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051784992218018','2015-10-30 13:01:17'),(373297,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018350839614868','2015-10-30 13:01:17'),(373298,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1579\'','Gltransaction/journalPosting','0.12302708625793','2015-10-30 13:01:18'),(373299,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000151\'','Gltransaction/journalPosting','0.036144971847534','2015-10-30 13:01:18'),(373300,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018369913101196','2015-10-30 13:01:18'),(373301,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043603897094727','2015-10-30 13:01:18'),(373302,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018283128738403','2015-10-30 13:01:18'),(373303,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036487102508545','2015-10-30 13:01:18'),(373304,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1580\'','Gltransaction/journalPosting','0.042363882064819','2015-10-30 13:01:19'),(373305,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000152\'','Gltransaction/journalPosting','0.028165102005005','2015-10-30 13:01:19'),(373306,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05308985710144','2015-10-30 13:01:19'),(373307,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026710987091064','2015-10-30 13:01:19'),(373308,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069808006286621','2015-10-30 13:01:19'),(373309,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068236112594604','2015-10-30 13:01:19'),(373310,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1581\'','Gltransaction/journalPosting','0.19506812095642','2015-10-30 13:01:20'),(373311,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000153\'','Gltransaction/journalPosting','0.76101684570312','2015-10-30 13:01:21'),(373312,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.033884048461914','2015-10-30 13:01:21'),(373313,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17112708091736','2015-10-30 13:01:21'),(373314,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070440053939819','2015-10-30 13:01:21'),(373315,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028065919876099','2015-10-30 13:01:21'),(373316,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1582\'','Gltransaction/journalPosting','0.043121814727783','2015-10-30 13:01:21'),(373317,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000154\'','Gltransaction/journalPosting','0.046324968338013','2015-10-30 13:01:22'),(373318,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.058120012283325','2015-10-30 13:01:22'),(373319,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061892986297607','2015-10-30 13:01:22'),(373320,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034573078155518','2015-10-30 13:01:22'),(373321,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12107610702515','2015-10-30 13:01:22'),(373322,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1583\'','Gltransaction/journalPosting','0.12850213050842','2015-10-30 13:01:23'),(373323,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000155\'','Gltransaction/journalPosting','0.15679001808167','2015-10-30 13:01:23'),(373324,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17167186737061','2015-10-30 13:01:23'),(373325,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12309098243713','2015-10-30 13:01:23'),(373326,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.09991717338562','2015-10-30 13:01:23'),(373327,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.15473389625549','2015-10-30 13:01:23'),(373328,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1584\'','Gltransaction/journalPosting','0.1298041343689','2015-10-30 13:01:24'),(373329,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000156\'','Gltransaction/journalPosting','0.066930055618286','2015-10-30 13:01:24'),(373330,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069844007492065','2015-10-30 13:01:24'),(373331,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051868915557861','2015-10-30 13:01:24'),(373332,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035892963409424','2015-10-30 13:01:24'),(373333,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10297584533691','2015-10-30 13:01:24'),(373334,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1585\'','Gltransaction/journalPosting','0.022770881652832','2015-10-30 13:01:24'),(373335,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000157\'','Gltransaction/journalPosting','0.013714075088501','2015-10-30 13:01:24'),(373336,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.016875982284546','2015-10-30 13:01:24'),(373337,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013339042663574','2015-10-30 13:01:24'),(373338,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011976003646851','2015-10-30 13:01:24'),(373339,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.038323879241943','2015-10-30 13:01:25'),(373340,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1586\'','Gltransaction/journalPosting','0.095495939254761','2015-10-30 13:01:25'),(373341,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000158\'','Gltransaction/journalPosting','0.044892072677612','2015-10-30 13:01:25'),(373342,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019593000411987','2015-10-30 13:01:25'),(373343,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011822938919067','2015-10-30 13:01:25'),(373344,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01329493522644','2015-10-30 13:01:25'),(373345,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029623985290527','2015-10-30 13:01:25'),(373346,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1587\'','Gltransaction/journalPosting','0.1459059715271','2015-10-30 13:01:26'),(373347,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000159\'','Gltransaction/journalPosting','0.066346168518066','2015-10-30 13:01:26'),(373348,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034960985183716','2015-10-30 13:01:26'),(373349,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029378890991211','2015-10-30 13:01:26'),(373350,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028439044952393','2015-10-30 13:01:26'),(373351,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10776019096375','2015-10-30 13:01:27'),(373352,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1588\'','Gltransaction/journalPosting','0.016802072525024','2015-10-30 13:01:27'),(373353,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000160\'','Gltransaction/journalPosting','0.013841867446899','2015-10-30 13:01:27'),(373354,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05450701713562','2015-10-30 13:01:27'),(373355,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027890920639038','2015-10-30 13:01:27'),(373356,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029467105865479','2015-10-30 13:01:27'),(373357,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036142110824585','2015-10-30 13:01:27'),(373358,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1589\'','Gltransaction/journalPosting','0.1952121257782','2015-10-30 13:01:29'),(373359,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000161\'','Gltransaction/journalPosting','0.13362002372742','2015-10-30 13:01:29'),(373360,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14597487449646','2015-10-30 13:01:29'),(373361,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059497117996216','2015-10-30 13:01:29'),(373362,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036403894424438','2015-10-30 13:01:29'),(373363,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.062458992004395','2015-10-30 13:01:29'),(373364,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1590\'','Gltransaction/journalPosting','0.15433788299561','2015-10-30 13:01:30'),(373365,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000162\'','Gltransaction/journalPosting','0.10960412025452','2015-10-30 13:01:30'),(373366,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.04970908164978','2015-10-30 13:01:30'),(373367,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14157319068909','2015-10-30 13:01:30'),(373368,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059422016143799','2015-10-30 13:01:30'),(373369,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021527051925659','2015-10-30 13:01:30'),(373370,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1591\'','Gltransaction/journalPosting','0.30621695518494','2015-10-30 13:01:31'),(373371,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000163\'','Gltransaction/journalPosting','0.31507110595703','2015-10-30 13:01:31'),(373372,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035104036331177','2015-10-30 13:01:31'),(373373,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011553049087524','2015-10-30 13:01:32'),(373374,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013312101364136','2015-10-30 13:01:32'),(373375,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013098001480103','2015-10-30 13:01:32'),(373376,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1592\'','Gltransaction/journalPosting','0.20460510253906','2015-10-30 13:01:32'),(373377,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000164\'','Gltransaction/journalPosting','0.012907981872559','2015-10-30 13:01:32'),(373378,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012048959732056','2015-10-30 13:01:32'),(373379,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011727809906006','2015-10-30 13:01:32'),(373380,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.013309001922607','2015-10-30 13:01:32'),(373381,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011883974075317','2015-10-30 13:01:33'),(373382,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1593\'','Gltransaction/journalPosting','0.090291976928711','2015-10-30 13:01:33'),(373383,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000165\'','Gltransaction/journalPosting','0.013916969299316','2015-10-30 13:01:33'),(373384,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034770965576172','2015-10-30 13:01:33'),(373385,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012589931488037','2015-10-30 13:01:33'),(373386,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01127815246582','2015-10-30 13:01:33'),(373387,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.046010971069336','2015-10-30 13:01:33'),(373388,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1594\'','Gltransaction/journalPosting','0.033616065979004','2015-10-30 13:01:34'),(373389,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000166\'','Gltransaction/journalPosting','0.013988018035889','2015-10-30 13:01:34'),(373390,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01255202293396','2015-10-30 13:01:34'),(373391,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'290\', \'2016\', \'5\', \'1638.4\', \'0\', 1638.4, \'2\', \'2015-10-30: 06:10:34\')','Gltransaction/journalPosting','0.14394187927246','2015-10-30 13:01:34'),(373392,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.033271074295044','2015-10-30 13:01:34'),(373393,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'290\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.063313007354736','2015-10-30 13:01:34'),(373394,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.071592807769775','2015-10-30 13:01:35'),(373395,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14315795898438','2015-10-30 13:01:35'),(373396,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1595\'','Gltransaction/journalPosting','0.13747596740723','2015-10-30 13:01:35'),(373397,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000167\'','Gltransaction/journalPosting','0.17793202400208','2015-10-30 13:01:36'),(373398,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060081005096436','2015-10-30 13:01:36'),(373399,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'290\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051799058914185','2015-10-30 13:01:36'),(373400,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028139114379883','2015-10-30 13:01:36'),(373401,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026657104492188','2015-10-30 13:01:36'),(373402,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.094970941543579','2015-10-30 13:01:36'),(373403,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'290\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.076503992080688','2015-10-30 13:01:36'),(373404,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1596\'','Gltransaction/journalPosting','0.022449016571045','2015-10-30 13:01:36'),(373405,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000168\'','Gltransaction/journalPosting','0.021428108215332','2015-10-30 13:01:36'),(373406,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035090923309326','2015-10-30 13:01:36'),(373407,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'296\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069161891937256','2015-10-30 13:01:36'),(373408,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1597\'','Gltransaction/journalPosting','0.3797459602356','2015-10-30 13:01:37'),(373409,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000169\'','Gltransaction/journalPosting','0.1894998550415','2015-10-30 13:01:37'),(373410,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.17185497283936','2015-10-30 13:01:37'),(373411,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'296\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.095052003860474','2015-10-30 13:01:38'),(373412,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1598\'','Gltransaction/journalPosting','0.061781167984009','2015-10-30 13:01:38'),(373413,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000170\'','Gltransaction/journalPosting','0.052794933319092','2015-10-30 13:01:38'),(373414,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10305309295654','2015-10-30 13:01:39'),(373415,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'296\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.085846185684204','2015-10-30 13:01:39'),(373416,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14810299873352','2015-10-30 13:01:39'),(373417,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068397998809814','2015-10-30 13:01:39'),(373418,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1599\'','Gltransaction/journalPosting','0.067285060882568','2015-10-30 13:01:40'),(373419,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000171\'','Gltransaction/journalPosting','0.2992959022522','2015-10-30 13:01:40'),(373420,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060512065887451','2015-10-30 13:01:40'),(373421,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'296\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.050762891769409','2015-10-30 13:01:40'),(373422,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.058293104171753','2015-10-30 13:01:40'),(373423,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.052540063858032','2015-10-30 13:01:40'),(373424,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1600\'','Gltransaction/journalPosting','0.14941811561584','2015-10-30 13:01:41'),(373425,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000172\'','Gltransaction/journalPosting','0.056391000747681','2015-10-30 13:01:41'),(373426,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.033515930175781','2015-10-30 13:01:41'),(373427,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.067919015884399','2015-10-30 13:01:41'),(373428,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036473989486694','2015-10-30 13:01:42'),(373429,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02675986289978','2015-10-30 13:01:42'),(373430,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1601\'','Gltransaction/journalPosting','0.16710710525513','2015-10-30 13:01:42'),(373431,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000173\'','Gltransaction/journalPosting','0.028857946395874','2015-10-30 13:01:42'),(373432,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044238805770874','2015-10-30 13:01:42'),(373433,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027586936950684','2015-10-30 13:01:42'),(373434,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044147968292236','2015-10-30 13:01:42'),(373435,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070346117019653','2015-10-30 13:01:42'),(373436,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1602\'','Gltransaction/journalPosting','0.058463096618652','2015-10-30 13:01:43'),(373437,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000174\'','Gltransaction/journalPosting','0.020536184310913','2015-10-30 13:01:43'),(373438,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.031885147094727','2015-10-30 13:01:43'),(373439,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0365149974823','2015-10-30 13:01:43'),(373440,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11488890647888','2015-10-30 13:01:43'),(373441,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.058475971221924','2015-10-30 13:01:43'),(373442,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1603\'','Gltransaction/journalPosting','0.054619073867798','2015-10-30 13:01:44'),(373443,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000175\'','Gltransaction/journalPosting','0.045943975448608','2015-10-30 13:01:44'),(373444,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035254955291748','2015-10-30 13:01:44'),(373445,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061843872070312','2015-10-30 13:01:44'),(373446,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018410921096802','2015-10-30 13:01:44'),(373447,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018391847610474','2015-10-30 13:01:44'),(373448,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1604\'','Gltransaction/journalPosting','0.031106948852539','2015-10-30 13:01:44'),(373449,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000176\'','Gltransaction/journalPosting','0.02826189994812','2015-10-30 13:01:44'),(373450,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011661052703857','2015-10-30 13:01:44'),(373451,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010630130767822','2015-10-30 13:01:44'),(373452,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010754108428955','2015-10-30 13:01:44'),(373453,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053896903991699','2015-10-30 13:01:44'),(373454,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1605\'','Gltransaction/journalPosting','0.012861013412476','2015-10-30 13:01:45'),(373455,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000177\'','Gltransaction/journalPosting','0.012984991073608','2015-10-30 13:01:45'),(373456,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043663024902344','2015-10-30 13:01:45'),(373457,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13766193389893','2015-10-30 13:01:45'),(373458,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13149905204773','2015-10-30 13:01:45'),(373459,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037308931350708','2015-10-30 13:01:45'),(373460,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1606\'','Gltransaction/journalPosting','0.014053106307983','2015-10-30 13:01:45'),(373461,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000178\'','Gltransaction/journalPosting','0.012036085128784','2015-10-30 13:01:45'),(373462,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.017220020294189','2015-10-30 13:01:45'),(373463,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012367010116577','2015-10-30 13:01:45'),(373464,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1607\'','Gltransaction/journalPosting','0.014762878417969','2015-10-30 13:01:46'),(373465,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000179\'','Gltransaction/journalPosting','0.099952936172485','2015-10-30 13:01:46'),(373466,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.063707828521729','2015-10-30 13:01:46'),(373467,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053076982498169','2015-10-30 13:01:46'),(373468,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035068035125732','2015-10-30 13:01:46'),(373469,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026757001876831','2015-10-30 13:01:46'),(373470,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1608\'','Gltransaction/journalPosting','0.10712099075317','2015-10-30 13:01:46'),(373471,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000180\'','Gltransaction/journalPosting','0.048654079437256','2015-10-30 13:01:46'),(373472,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043143033981323','2015-10-30 13:01:47'),(373473,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010193109512329','2015-10-30 13:01:47'),(373474,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019772052764893','2015-10-30 13:01:47'),(373475,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018428087234497','2015-10-30 13:01:47'),(373476,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1609\'','Gltransaction/journalPosting','0.14945316314697','2015-10-30 13:01:47'),(373477,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000181\'','Gltransaction/journalPosting','0.051348209381104','2015-10-30 13:01:47'),(373478,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019683122634888','2015-10-30 13:01:47'),(373479,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026880979537964','2015-10-30 13:01:47'),(373480,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.053109884262085','2015-10-30 13:01:48'),(373481,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060094833374023','2015-10-30 13:01:48'),(373482,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1610\'','Gltransaction/journalPosting','0.12670803070068','2015-10-30 13:01:48'),(373483,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000182\'','Gltransaction/journalPosting','0.063212156295776','2015-10-30 13:01:48'),(373484,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.034329891204834','2015-10-30 13:01:48'),(373485,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.06110405921936','2015-10-30 13:01:48'),(373486,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1611\'','Gltransaction/journalPosting','0.037576913833618','2015-10-30 13:01:50'),(373487,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000183\'','Gltransaction/journalPosting','0.90032291412354','2015-10-30 13:01:50'),(373488,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018532991409302','2015-10-30 13:01:50'),(373489,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02869987487793','2015-10-30 13:01:50'),(373490,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028160095214844','2015-10-30 13:01:50'),(373491,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044206857681274','2015-10-30 13:01:50'),(373492,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1612\'','Gltransaction/journalPosting','0.10300707817078','2015-10-30 13:01:51'),(373493,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000184\'','Gltransaction/journalPosting','0.012603998184204','2015-10-30 13:01:51'),(373494,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061568021774292','2015-10-30 13:01:51'),(373495,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.30195498466492','2015-10-30 13:01:51'),(373496,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.26827788352966','2015-10-30 13:01:51'),(373497,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.064248085021973','2015-10-30 13:01:51'),(373498,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1613\'','Gltransaction/journalPosting','0.07443904876709','2015-10-30 13:01:52'),(373499,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000185\'','Gltransaction/journalPosting','0.023252964019775','2015-10-30 13:01:52'),(373500,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020004987716675','2015-10-30 13:01:52'),(373501,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'277\', \'2016\', \'5\', \'643.3\', \'0\', 643.3, \'2\', \'2015-10-30: 06:10:52\')','Gltransaction/journalPosting','0.057362079620361','2015-10-30 13:01:52'),(373502,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1614\'','Gltransaction/journalPosting','0.012130975723267','2015-10-30 13:01:53'),(373503,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000186\'','Gltransaction/journalPosting','0.014047861099243','2015-10-30 13:01:53'),(373504,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011455059051514','2015-10-30 13:01:53'),(373505,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'110\', \'2016\', \'5\', \'9753\', \'0\', 9753, \'2\', \'2015-10-30: 06:10:52\')','Gltransaction/journalPosting','0.083906888961792','2015-10-30 13:01:53'),(373506,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1615\'','Gltransaction/journalPosting','0.033950090408325','2015-10-30 13:01:53'),(373507,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000187\'','Gltransaction/journalPosting','0.014136075973511','2015-10-30 13:01:53'),(373508,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03628396987915','2015-10-30 13:01:53'),(373509,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012656927108765','2015-10-30 13:01:53'),(373510,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011552095413208','2015-10-30 13:01:53'),(373511,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021186828613281','2015-10-30 13:01:53'),(373512,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1616\'','Gltransaction/journalPosting','0.126384973526','2015-10-30 13:01:54'),(373513,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000188\'','Gltransaction/journalPosting','0.068637847900391','2015-10-30 13:01:54'),(373514,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.063983917236328','2015-10-30 13:01:54'),(373515,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070930957794189','2015-10-30 13:01:54'),(373516,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.16427707672119','2015-10-30 13:01:54'),(373517,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12312602996826','2015-10-30 13:01:54'),(373518,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1617\'','Gltransaction/journalPosting','0.13802099227905','2015-10-30 13:01:55'),(373519,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000189\'','Gltransaction/journalPosting','0.02678108215332','2015-10-30 13:01:55'),(373520,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036571979522705','2015-10-30 13:01:55'),(373521,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03764820098877','2015-10-30 13:01:55'),(373522,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1618\'','Gltransaction/journalPosting','0.01799488067627','2015-10-30 13:01:55'),(373523,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000190\'','Gltransaction/journalPosting','0.064096927642822','2015-10-30 13:01:55'),(373524,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03533411026001','2015-10-30 13:01:55'),(373525,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03772497177124','2015-10-30 13:01:55'),(373526,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1619\'','Gltransaction/journalPosting','0.01775598526001','2015-10-30 13:01:55'),(373527,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000191\'','Gltransaction/journalPosting','0.014743804931641','2015-10-30 13:01:55'),(373528,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043301105499268','2015-10-30 13:01:56'),(373529,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'82\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01308798789978','2015-10-30 13:01:56'),(373530,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1620\'','Gltransaction/journalPosting','0.038559913635254','2015-10-30 13:01:56'),(373531,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000192\'','Gltransaction/journalPosting','0.11623311042786','2015-10-30 13:01:56'),(373532,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.074347972869873','2015-10-30 13:01:56'),(373533,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03623104095459','2015-10-30 13:01:56'),(373534,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1621\'','Gltransaction/journalPosting','0.11486411094666','2015-10-30 13:01:57'),(373535,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000193\'','Gltransaction/journalPosting','0.20776295661926','2015-10-30 13:01:57'),(373536,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.20708203315735','2015-10-30 13:01:57'),(373537,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'304\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.078248023986816','2015-10-30 13:01:58'),(373538,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.19284605979919','2015-10-30 13:01:58'),(373539,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12289094924927','2015-10-30 13:01:58'),(373540,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1622\'','Gltransaction/journalPosting','0.27310419082642','2015-10-30 13:01:59'),(373541,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000194\'','Gltransaction/journalPosting','0.38751983642578','2015-10-30 13:01:59'),(373542,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.30886483192444','2015-10-30 13:01:59'),(373543,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'10\', \'278\', \'2016\', \'5\', \'2000\', \'0\', 2000, \'2\', \'2015-10-30: 06:10:59\')','Gltransaction/journalPosting','0.069413900375366','2015-10-30 13:02:00'),(373544,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1623\'','Gltransaction/journalPosting','0.14626312255859','2015-10-30 13:02:01'),(373545,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000195\'','Gltransaction/journalPosting','0.57341194152832','2015-10-30 13:02:01'),(373546,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.31373596191406','2015-10-30 13:02:02'),(373547,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.28100919723511','2015-10-30 13:02:02'),(373548,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1624\'','Gltransaction/journalPosting','0.19003081321716','2015-10-30 13:02:03'),(373549,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000196\'','Gltransaction/journalPosting','0.24958801269531','2015-10-30 13:02:03'),(373550,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.33652496337891','2015-10-30 13:02:03'),(373551,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'312\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10825300216675','2015-10-30 13:02:04'),(373552,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070132970809937','2015-10-30 13:02:04'),(373553,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069736003875732','2015-10-30 13:02:04'),(373554,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1625\'','Gltransaction/journalPosting','0.15204000473022','2015-10-30 13:02:04'),(373555,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000197\'','Gltransaction/journalPosting','0.071552991867065','2015-10-30 13:02:04'),(373556,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11676406860352','2015-10-30 13:02:04'),(373557,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'107\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.065462112426758','2015-10-30 13:02:04'),(373558,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1626\'','Gltransaction/journalPosting','0.11216306686401','2015-10-30 13:02:05'),(373559,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000198\'','Gltransaction/journalPosting','0.12937808036804','2015-10-30 13:02:05'),(373560,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.50859999656677','2015-10-30 13:02:05'),(373561,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'262\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11163902282715','2015-10-30 13:02:05'),(373562,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1627\'','Gltransaction/journalPosting','0.081820964813232','2015-10-30 13:02:06'),(373563,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000199\'','Gltransaction/journalPosting','0.036473035812378','2015-10-30 13:02:06'),(373564,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018635988235474','2015-10-30 13:02:06'),(373565,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'273\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018486022949219','2015-10-30 13:02:06'),(373566,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036455154418945','2015-10-30 13:02:06'),(373567,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018564939498901','2015-10-30 13:02:06'),(373568,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1628\'','Gltransaction/journalPosting','0.062508106231689','2015-10-30 13:02:07'),(373569,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000200\'','Gltransaction/journalPosting','0.011399984359741','2015-10-30 13:02:07'),(373570,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018550872802734','2015-10-30 13:02:07'),(373571,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010215997695923','2015-10-30 13:02:07'),(373572,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.05308198928833','2015-10-30 13:02:07'),(373573,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043551921844482','2015-10-30 13:02:07'),(373574,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1629\'','Gltransaction/journalPosting','0.036438941955566','2015-10-30 13:02:07'),(373575,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000201\'','Gltransaction/journalPosting','0.056246995925903','2015-10-30 13:02:07'),(373576,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035079956054688','2015-10-30 13:02:07'),(373577,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'275\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010431051254272','2015-10-30 13:02:07'),(373578,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10015296936035','2015-10-30 13:02:08'),(373579,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.071294069290161','2015-10-30 13:02:08'),(373580,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1630\'','Gltransaction/journalPosting','0.087870121002197','2015-10-30 13:02:08'),(373581,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000202\'','Gltransaction/journalPosting','0.019833087921143','2015-10-30 13:02:08'),(373582,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068212985992432','2015-10-30 13:02:08'),(373583,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'272\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010077953338623','2015-10-30 13:02:08'),(373584,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010255098342896','2015-10-30 13:02:08'),(373585,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019838094711304','2015-10-30 13:02:08'),(373586,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1631\'','Gltransaction/journalPosting','0.04244589805603','2015-10-30 13:02:09'),(373587,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000203\'','Gltransaction/journalPosting','0.057876110076904','2015-10-30 13:02:09'),(373588,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.080713987350464','2015-10-30 13:02:09'),(373589,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'107\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.056266069412231','2015-10-30 13:02:09'),(373590,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1632\'','Gltransaction/journalPosting','0.16136908531189','2015-10-30 13:02:09'),(373591,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000204\'','Gltransaction/journalPosting','0.036193132400513','2015-10-30 13:02:09'),(373592,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.025765895843506','2015-10-30 13:02:09'),(373593,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027987003326416','2015-10-30 13:02:09'),(373594,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` IS NULL AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026356935501099','2015-10-30 13:02:09'),(373595,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019820213317871','2015-10-30 13:02:10'),(373596,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1633\'','Gltransaction/journalPosting','0.043161153793335','2015-10-30 13:02:10'),(373597,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000205\'','Gltransaction/journalPosting','0.011470794677734','2015-10-30 13:02:10'),(373598,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018930912017822','2015-10-30 13:02:10'),(373599,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.060240983963013','2015-10-30 13:02:10'),(373600,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061468124389648','2015-10-30 13:02:10'),(373601,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.052216053009033','2015-10-30 13:02:10'),(373602,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1634\'','Gltransaction/journalPosting','0.22956991195679','2015-10-30 13:02:11'),(373603,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000206\'','Gltransaction/journalPosting','0.074733018875122','2015-10-30 13:02:11'),(373604,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036109924316406','2015-10-30 13:02:11'),(373605,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.064187049865723','2015-10-30 13:02:11'),(373606,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1635\'','Gltransaction/journalPosting','0.025922060012817','2015-10-30 13:02:12'),(373607,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000207\'','Gltransaction/journalPosting','0.019930124282837','2015-10-30 13:02:12'),(373608,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028276920318604','2015-10-30 13:02:12'),(373609,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044187784194946','2015-10-30 13:02:12'),(373610,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1636\'','Gltransaction/journalPosting','0.11827993392944','2015-10-30 13:02:14'),(373611,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000208\'','Gltransaction/journalPosting','0.57415103912354','2015-10-30 13:02:14'),(373612,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.29946303367615','2015-10-30 13:02:14'),(373613,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.071823120117188','2015-10-30 13:02:14'),(373614,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1637\'','Gltransaction/journalPosting','0.2555820941925','2015-10-30 13:02:15'),(373615,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000209\'','Gltransaction/journalPosting','0.077554941177368','2015-10-30 13:02:16'),(373616,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.16766786575317','2015-10-30 13:02:16'),(373617,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'274\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.22759318351746','2015-10-30 13:02:16'),(373618,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059669017791748','2015-10-30 13:02:16'),(373619,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.082329988479614','2015-10-30 13:02:16'),(373620,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1638\'','Gltransaction/journalPosting','0.21695399284363','2015-10-30 13:02:17'),(373621,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000210\'','Gltransaction/journalPosting','0.20775389671326','2015-10-30 13:02:17'),(373622,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.18037700653076','2015-10-30 13:02:17'),(373623,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'107\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.066224098205566','2015-10-30 13:02:18'),(373624,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1925\'','Gltransaction/journalPosting','0.023015022277832','2015-10-30 13:02:52'),(373625,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000012\'','Gltransaction/journalPosting','0.037642002105713','2015-10-30 13:02:52'),(373626,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'3\', \'265\', \'2016\', \'5\', \'7150\', \'0\', 7150, \'2\', \'2015-10-30: 06:10:52\')','Gltransaction/journalPosting','0.046555042266846','2015-10-30 13:02:52'),(373627,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'7\', \'142\', \'2016\', \'5\', \'0\', \'7150\', -7150, \'2\', \'2015-10-30: 06:10:52\')','Gltransaction/journalPosting','0.037626981735229','2015-10-30 13:02:52'),(373628,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036708116531372','2015-10-30 13:02:52'),(373629,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'4\', \'40\', \'2016\', \'5\', \'0\', \'429\', -429, \'2\', \'2015-10-30: 06:10:52\')','Gltransaction/journalPosting','0.019259929656982','2015-10-30 13:02:52'),(373630,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1926\'','Gltransaction/journalPosting','0.037077903747559','2015-10-30 13:02:53'),(373631,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000013\'','Gltransaction/journalPosting','0.080710172653198','2015-10-30 13:02:53'),(373632,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043450832366943','2015-10-30 13:02:53'),(373633,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'7\', \'141\', \'2016\', \'5\', \'0\', \'250\', -250, \'2\', \'2015-10-30: 06:10:53\')','Gltransaction/journalPosting','0.061708927154541','2015-10-30 13:02:53'),(373634,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.078386068344116','2015-10-30 13:02:53'),(373635,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.088238000869751','2015-10-30 13:02:53'),(373636,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1927\'','Gltransaction/journalPosting','0.025418996810913','2015-10-30 13:02:54'),(373637,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000014\'','Gltransaction/journalPosting','0.012849807739258','2015-10-30 13:02:54'),(373638,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02806282043457','2015-10-30 13:02:54'),(373639,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'142\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028542041778564','2015-10-30 13:02:54'),(373640,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021778106689453','2015-10-30 13:02:54'),(373641,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036318063735962','2015-10-30 13:02:54'),(373642,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1928\'','Gltransaction/journalPosting','0.046751022338867','2015-10-30 13:02:54'),(373643,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000015\'','Gltransaction/journalPosting','0.030707836151123','2015-10-30 13:02:54'),(373644,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036324977874756','2015-10-30 13:02:54'),(373645,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'141\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.021323919296265','2015-10-30 13:02:54'),(373646,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011900901794434','2015-10-30 13:02:54'),(373647,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037803888320923','2015-10-30 13:02:55'),(373648,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1929\'','Gltransaction/journalPosting','0.023149967193604','2015-10-30 13:02:55'),(373649,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000016\'','Gltransaction/journalPosting','0.047526121139526','2015-10-30 13:02:55'),(373650,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061290979385376','2015-10-30 13:02:55'),(373651,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'141\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037409067153931','2015-10-30 13:02:55'),(373652,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10306286811829','2015-10-30 13:02:55'),(373653,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.029788970947266','2015-10-30 13:02:55'),(373654,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1930\'','Gltransaction/journalPosting','0.074223041534424','2015-10-30 13:02:56'),(373655,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000017\'','Gltransaction/journalPosting','0.072297096252441','2015-10-30 13:02:56'),(373656,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.054446935653687','2015-10-30 13:02:56'),(373657,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'7\', \'59\', \'2016\', \'5\', \'0\', \'1565.49\', -1565.49, \'2\', \'2015-10-30: 06:10:56\')','Gltransaction/journalPosting','0.035703897476196','2015-10-30 13:02:56'),(373658,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1931\'','Gltransaction/journalPosting','0.071058034896851','2015-10-30 13:02:57'),(373659,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000018\'','Gltransaction/journalPosting','0.039016008377075','2015-10-30 13:02:57'),(373660,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.45384907722473','2015-10-30 13:02:57'),(373661,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.087528944015503','2015-10-30 13:02:57'),(373662,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1932\'','Gltransaction/journalPosting','0.069392919540405','2015-10-30 13:02:58'),(373663,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000019\'','Gltransaction/journalPosting','0.06480598449707','2015-10-30 13:02:58'),(373664,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.051754951477051','2015-10-30 13:02:58'),(373665,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'141\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045615196228027','2015-10-30 13:02:58'),(373666,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069005012512207','2015-10-30 13:02:58'),(373667,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.087002038955688','2015-10-30 13:02:58'),(373668,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1933\'','Gltransaction/journalPosting','0.38735699653625','2015-10-30 13:02:59'),(373669,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000020\'','Gltransaction/journalPosting','0.21136093139648','2015-10-30 13:02:59'),(373670,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011300086975098','2015-10-30 13:02:59'),(373671,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'141\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027358055114746','2015-10-30 13:02:59'),(373672,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035610914230347','2015-10-30 13:02:59'),(373673,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.048849105834961','2015-10-30 13:02:59'),(373674,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1934\'','Gltransaction/journalPosting','0.041749954223633','2015-10-30 13:03:00'),(373675,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AR20160500000021\'','Gltransaction/journalPosting','0.061851024627686','2015-10-30 13:03:00'),(373676,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03387188911438','2015-10-30 13:03:00'),(373677,3,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'3\', \'7\', \'60\', \'2016\', \'5\', \'0\', \'2800\', -2800, \'2\', \'2015-10-30: 06:10:00\')','Gltransaction/journalPosting','0.018346071243286','2015-10-30 13:03:00'),(373678,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'265\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.033544778823853','2015-10-30 13:03:00'),(373679,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044063091278076','2015-10-30 13:03:00'),(373680,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1649\'','Gltransaction/journalPosting','0.054007053375244','2015-10-30 13:03:01'),(373681,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000221\'','Gltransaction/journalPosting','0.071197986602783','2015-10-30 13:03:01'),(373682,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11834287643433','2015-10-30 13:03:01'),(373683,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.03574800491333','2015-10-30 13:03:01'),(373684,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.04483699798584','2015-10-30 13:03:01'),(373685,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035100936889648','2015-10-30 13:03:01'),(373686,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1650\'','Gltransaction/journalPosting','0.029787063598633','2015-10-30 13:03:01'),(373687,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000222\'','Gltransaction/journalPosting','0.02336597442627','2015-10-30 13:03:01'),(373688,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018673896789551','2015-10-30 13:03:01'),(373689,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.043560981750488','2015-10-30 13:03:01'),(373690,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044185161590576','2015-10-30 13:03:01'),(373691,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010993003845215','2015-10-30 13:03:01'),(373692,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1651\'','Gltransaction/journalPosting','0.017408132553101','2015-10-30 13:03:02'),(373693,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000223\'','Gltransaction/journalPosting','0.011316061019897','2015-10-30 13:03:02'),(373694,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019582986831665','2015-10-30 13:03:02'),(373695,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044391870498657','2015-10-30 13:03:02'),(373696,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061250925064087','2015-10-30 13:03:02'),(373697,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018372058868408','2015-10-30 13:03:02'),(373698,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1652\'','Gltransaction/journalPosting','0.039227962493896','2015-10-30 13:03:02'),(373699,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000224\'','Gltransaction/journalPosting','0.02119779586792','2015-10-30 13:03:02'),(373700,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010019063949585','2015-10-30 13:03:02'),(373701,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012433052062988','2015-10-30 13:03:02'),(373702,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010744094848633','2015-10-30 13:03:02'),(373703,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010886192321777','2015-10-30 13:03:03'),(373704,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1653\'','Gltransaction/journalPosting','0.035415887832642','2015-10-30 13:03:03'),(373705,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000225\'','Gltransaction/journalPosting','0.011456966400146','2015-10-30 13:03:03'),(373706,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.019044876098633','2015-10-30 13:03:03'),(373707,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026756048202515','2015-10-30 13:03:03'),(373708,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.052418947219849','2015-10-30 13:03:03'),(373709,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026679039001465','2015-10-30 13:03:03'),(373710,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1654\'','Gltransaction/journalPosting','0.02221417427063','2015-10-30 13:03:04'),(373711,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000226\'','Gltransaction/journalPosting','0.038002014160156','2015-10-30 13:03:04'),(373712,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026772975921631','2015-10-30 13:03:04'),(373713,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036327123641968','2015-10-30 13:03:04'),(373714,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.10222792625427','2015-10-30 13:03:04'),(373715,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026674032211304','2015-10-30 13:03:04'),(373716,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1655\'','Gltransaction/journalPosting','0.023884057998657','2015-10-30 13:03:04'),(373717,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000227\'','Gltransaction/journalPosting','0.054518938064575','2015-10-30 13:03:04'),(373718,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.026757001876831','2015-10-30 13:03:04'),(373719,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027601003646851','2015-10-30 13:03:04'),(373720,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.028012990951538','2015-10-30 13:03:04'),(373721,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018460988998413','2015-10-30 13:03:04'),(373722,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1656\'','Gltransaction/journalPosting','0.16632103919983','2015-10-30 13:03:06'),(373723,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000228\'','Gltransaction/journalPosting','0.26586103439331','2015-10-30 13:03:06'),(373724,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.30449604988098','2015-10-30 13:03:06'),(373725,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.055950164794922','2015-10-30 13:03:06'),(373726,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018399953842163','2015-10-30 13:03:06'),(373727,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.044738054275513','2015-10-30 13:03:06'),(373728,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1657\'','Gltransaction/journalPosting','0.19076991081238','2015-10-30 13:03:07'),(373729,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000229\'','Gltransaction/journalPosting','0.060083866119385','2015-10-30 13:03:07'),(373730,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.088449954986572','2015-10-30 13:03:07'),(373731,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045315027236938','2015-10-30 13:03:08'),(373732,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.035724878311157','2015-10-30 13:03:08'),(373733,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.062021017074585','2015-10-30 13:03:08'),(373734,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1658\'','Gltransaction/journalPosting','0.10093998908997','2015-10-30 13:03:09'),(373735,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000230\'','Gltransaction/journalPosting','0.031006097793579','2015-10-30 13:03:09'),(373736,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01744818687439','2015-10-30 13:03:09'),(373737,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010369062423706','2015-10-30 13:03:09'),(373738,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.012168884277344','2015-10-30 13:03:09'),(373739,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01084303855896','2015-10-30 13:03:09'),(373740,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1659\'','Gltransaction/journalPosting','0.15178513526917','2015-10-30 13:03:09'),(373741,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000231\'','Gltransaction/journalPosting','0.03312611579895','2015-10-30 13:03:09'),(373742,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01853084564209','2015-10-30 13:03:09'),(373743,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010037183761597','2015-10-30 13:03:09'),(373744,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018425941467285','2015-10-30 13:03:10'),(373745,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01994800567627','2015-10-30 13:03:10'),(373746,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1660\'','Gltransaction/journalPosting','0.037034034729004','2015-10-30 13:03:10'),(373747,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000232\'','Gltransaction/journalPosting','0.012984991073608','2015-10-30 13:03:10'),(373748,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.017776966094971','2015-10-30 13:03:10'),(373749,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.036022901535034','2015-10-30 13:03:10'),(373750,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010140180587769','2015-10-30 13:03:10'),(373751,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.01834511756897','2015-10-30 13:03:10'),(373752,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1661\'','Gltransaction/journalPosting','0.10576391220093','2015-10-30 13:03:11'),(373753,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000233\'','Gltransaction/journalPosting','0.069673776626587','2015-10-30 13:03:11'),(373754,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.054890155792236','2015-10-30 13:03:11'),(373755,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.079138040542603','2015-10-30 13:03:11'),(373756,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14078688621521','2015-10-30 13:03:11'),(373757,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.057233095169067','2015-10-30 13:03:11'),(373758,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1662\'','Gltransaction/journalPosting','0.1817889213562','2015-10-30 13:03:12'),(373759,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000234\'','Gltransaction/journalPosting','0.10978698730469','2015-10-30 13:03:12'),(373760,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068290948867798','2015-10-30 13:03:12'),(373761,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0622878074646','2015-10-30 13:03:12'),(373762,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.037578105926514','2015-10-30 13:03:12'),(373763,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061153888702393','2015-10-30 13:03:12'),(373764,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1663\'','Gltransaction/journalPosting','0.11978816986084','2015-10-30 13:03:13'),(373765,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000235\'','Gltransaction/journalPosting','0.13285303115845','2015-10-30 13:03:13'),(373766,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.12720918655396','2015-10-30 13:03:13'),(373767,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061468839645386','2015-10-30 13:03:13'),(373768,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.1542820930481','2015-10-30 13:03:13'),(373769,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.1056079864502','2015-10-30 13:03:13'),(373770,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1664\'','Gltransaction/journalPosting','0.066840887069702','2015-10-30 13:03:14'),(373771,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000236\'','Gltransaction/journalPosting','0.030672073364258','2015-10-30 13:03:14'),(373772,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.068144083023071','2015-10-30 13:03:14'),(373773,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.48045015335083','2015-10-30 13:03:14'),(373774,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.094644069671631','2015-10-30 13:03:14'),(373775,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070823907852173','2015-10-30 13:03:15'),(373776,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1665\'','Gltransaction/journalPosting','0.25921511650085','2015-10-30 13:03:16'),(373777,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000237\'','Gltransaction/journalPosting','0.14337587356567','2015-10-30 13:03:16'),(373778,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.21657800674438','2015-10-30 13:03:16'),(373779,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.14595985412598','2015-10-30 13:03:17'),(373780,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069055080413818','2015-10-30 13:03:17'),(373781,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13380408287048','2015-10-30 13:03:17'),(373782,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1666\'','Gltransaction/journalPosting','0.17597699165344','2015-10-30 13:03:18'),(373783,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000238\'','Gltransaction/journalPosting','0.17985892295837','2015-10-30 13:03:19'),(373784,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.084964036941528','2015-10-30 13:03:19'),(373785,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.06252908706665','2015-10-30 13:03:19'),(373786,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.069509029388428','2015-10-30 13:03:19'),(373787,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070765018463135','2015-10-30 13:03:19'),(373788,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1667\'','Gltransaction/journalPosting','0.073455095291138','2015-10-30 13:03:20'),(373789,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000239\'','Gltransaction/journalPosting','0.080651044845581','2015-10-30 13:03:20'),(373790,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059976100921631','2015-10-30 13:03:20'),(373791,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.054192066192627','2015-10-30 13:03:20'),(373792,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.061257839202881','2015-10-30 13:03:20'),(373793,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.4249210357666','2015-10-30 13:03:20'),(373794,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1668\'','Gltransaction/journalPosting','0.15206623077393','2015-10-30 13:03:21'),(373795,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000240\'','Gltransaction/journalPosting','0.13290500640869','2015-10-30 13:03:21'),(373796,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.070679187774658','2015-10-30 13:03:21'),(373797,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.11722207069397','2015-10-30 13:03:21'),(373798,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13384008407593','2015-10-30 13:03:21'),(373799,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.020972013473511','2015-10-30 13:03:21'),(373800,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1669\'','Gltransaction/journalPosting','0.089975118637085','2015-10-30 13:03:22'),(373801,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000241\'','Gltransaction/journalPosting','0.073206901550293','2015-10-30 13:03:22'),(373802,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018151044845581','2015-10-30 13:03:22'),(373803,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.13640809059143','2015-10-30 13:03:22'),(373804,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.059714078903198','2015-10-30 13:03:22'),(373805,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.0207200050354','2015-10-30 13:03:22'),(373806,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1670\'','Gltransaction/journalPosting','0.13005304336548','2015-10-30 13:03:23'),(373807,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000242\'','Gltransaction/journalPosting','0.09455394744873','2015-10-30 13:03:23'),(373808,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.017197132110596','2015-10-30 13:03:23'),(373809,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011189937591553','2015-10-30 13:03:23'),(373810,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010267019271851','2015-10-30 13:03:23'),(373811,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.027026891708374','2015-10-30 13:03:23'),(373812,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1671\'','Gltransaction/journalPosting','0.14449310302734','2015-10-30 13:03:23'),(373813,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000243\'','Gltransaction/journalPosting','0.030272960662842','2015-10-30 13:03:23'),(373814,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.018417835235596','2015-10-30 13:03:23'),(373815,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010267019271851','2015-10-30 13:03:23'),(373816,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010293006896973','2015-10-30 13:03:24'),(373817,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.045001983642578','2015-10-30 13:03:24'),(373818,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1672\'','Gltransaction/journalPosting','0.087752103805542','2015-10-30 13:03:24'),(373819,3,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'3\' AND `journalID` =  \'AP20160500000244\'','Gltransaction/journalPosting','0.046267032623291','2015-10-30 13:03:24'),(373820,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.017515182495117','2015-10-30 13:03:24'),(373821,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'114\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.011662006378174','2015-10-30 13:03:24'),(373822,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'33\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.010414838790894','2015-10-30 13:03:24'),(373823,3,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'3\' AND `a`.`acctID` =  \'261\' AND `a`.`year` =  \'2016\' AND `a`.`period` =  \'5\'','Gltransaction/journalPosting','0.02814507484436','2015-10-30 13:03:24'),(373824,3,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'1673\'','Gltransaction/journalPosting','0.03772497177124','2015-10-30 13:03:24');
