INSERT INTO `_log_query` VALUES (372213,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372214,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372215,3,75,'192.168.1.47','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32723\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372216,3,75,'192.168.1.47','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32723\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372217,3,75,'192.168.1.47','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32723\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.093600034713745','2016-03-01 11:13:44'),(372218,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372219,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372220,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372221,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372222,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372223,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372224,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372225,3,75,'192.168.1.47','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32723\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372226,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372227,3,75,'192.168.1.47','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32723\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372228,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372229,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372230,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:13:44'),(372231,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372232,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372233,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372234,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372235,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372236,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372237,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372238,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372239,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372240,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372241,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372242,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372243,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372244,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372245,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372246,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372247,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372248,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372249,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:13:44'),(372250,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372251,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372252,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372253,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372254,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372255,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372256,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372257,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372258,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372259,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372260,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372261,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372262,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372263,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372264,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372265,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372266,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372267,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372268,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372269,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:13:44'),(372270,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372271,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372272,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372273,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372274,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372275,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372276,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372277,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372278,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372279,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372280,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372281,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372282,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372283,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372284,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372285,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372286,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372287,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372288,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372289,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372290,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372291,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372292,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372293,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372294,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372295,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372296,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372297,3,76,'192.168.1.124','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32532\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372298,3,76,'192.168.1.124','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32532\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.26520013809204','2016-03-01 11:13:44'),(372299,3,76,'192.168.1.124','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32532\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.046799898147583','2016-03-01 11:13:44'),(372300,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372301,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372302,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372303,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32532\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372304,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32532\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372305,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:13:44'),(372306,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372307,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372308,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372309,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372310,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372311,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372312,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372313,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:44'),(372314,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372315,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372316,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372317,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372318,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372319,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372320,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372321,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372322,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372323,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372324,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372325,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372326,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372327,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372328,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372329,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372330,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372331,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372332,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372333,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372334,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372335,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372336,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372337,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372338,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372339,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372340,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372341,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372342,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372343,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372344,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372345,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372346,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372347,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372348,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372349,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372350,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372351,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372352,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372353,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372354,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 11:13:44'),(372355,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372356,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372357,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372358,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372359,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372360,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372361,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372362,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372363,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372364,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372365,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372366,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372367,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372368,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372369,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372370,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372371,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372372,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372373,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372374,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372375,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372376,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372377,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372378,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372379,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-13-44\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-13-44\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-43-44\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:13:44'),(372380,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372381,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372382,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372383,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372384,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:45'),(372385,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372386,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372387,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372388,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372389,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372390,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372391,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372392,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372393,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372394,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372395,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372396,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372397,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372398,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372399,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372400,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372401,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372402,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:45'),(372403,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372404,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372405,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372406,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372407,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372408,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372409,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372410,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372411,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372412,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372413,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372414,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372415,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372416,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372417,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372418,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372419,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372420,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:45'),(372421,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372422,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372423,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372424,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372425,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372426,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372427,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372428,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372429,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372430,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372431,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372432,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372433,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372434,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372435,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372436,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372437,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372438,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372439,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372440,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372441,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372442,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372443,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372444,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372445,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372446,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372447,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372448,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:45'),(372449,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372450,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372451,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372452,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372453,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-13-45\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-13-45\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-43-45\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:13:45'),(372454,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372455,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 11:13:58'),(372456,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372457,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372458,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372459,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372460,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372461,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372462,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372463,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372464,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372465,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372466,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372467,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372468,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372469,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372470,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372471,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372472,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372473,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372474,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372475,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372476,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372477,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372478,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372479,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372480,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372481,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372482,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372483,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372484,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372485,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372486,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372487,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372488,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372489,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372490,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015600204467773','2016-03-01 11:13:58'),(372491,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372492,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372493,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372494,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372495,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372496,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372497,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372498,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372499,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372500,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372501,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372502,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372503,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372504,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372505,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372506,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372507,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372508,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372509,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372510,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372511,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372512,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372513,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372514,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372515,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372516,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372517,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372518,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372519,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372520,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372521,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372522,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372523,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372524,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372525,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372526,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:13:58'),(372527,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:13:58'),(372528,3,75,'192.168.1.47','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'75\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372529,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nAND `period` =  \'12\'','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372530,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0','2016-03-01 11:13:58'),(372531,3,75,'192.168.1.47','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 11:13:58'),(372532,3,75,'192.168.1.47','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0.046799898147583','2016-03-01 11:13:58'),(372533,3,75,'192.168.1.47','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 11:13:58'),(372534,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372535,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:13:58'),(372536,3,75,'192.168.1.47','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.10920000076294','2016-03-01 11:13:58'),(372537,3,75,'192.168.1.47','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:13:58'),(372538,3,75,'192.168.1.47','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:13:58'),(372539,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 11:13:58'),(372540,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372541,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:13:58'),(372542,3,75,'192.168.1.47','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:13:58'),(372543,3,75,'192.168.1.47','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:13:58'),(372544,3,75,'192.168.1.47','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:13:58'),(372545,3,75,'192.168.1.47','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:13:58'),(372546,3,75,'192.168.1.47','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372547,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372548,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:13:58'),(372549,3,75,'192.168.1.47','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:13:58'),(372550,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2013\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372551,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:13:58'),(372552,3,75,'192.168.1.47','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2013\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372553,3,75,'192.168.1.47','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372554,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372555,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0.015599966049194','2016-03-01 11:13:58'),(372556,3,75,'192.168.1.47','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:13:58'),(372557,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:13:58'),(372558,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:13:58'),(372559,3,75,'192.168.1.47','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372560,3,75,'192.168.1.47','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:13:58'),(372561,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372562,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372563,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372564,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372565,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372566,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372567,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372568,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372569,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372570,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372571,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372572,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372573,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372574,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372575,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372576,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372577,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372578,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372579,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:58'),(372580,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372581,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372582,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372583,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372584,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372585,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372586,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372587,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:58'),(372588,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372589,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372590,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372591,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372592,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372593,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372594,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372595,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372596,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372597,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:58'),(372598,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372599,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372600,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372601,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372602,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372603,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372604,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372605,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372606,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372607,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:13:58'),(372608,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372609,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372610,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372611,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372612,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372613,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372614,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372615,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372616,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372617,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372618,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372619,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372620,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372621,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372622,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372623,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372624,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372625,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372626,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372627,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 11:13:58'),(372628,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372629,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372630,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372631,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372632,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372633,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372634,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-13-58\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-13-58\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-43-58\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:13:58'),(372635,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372636,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372637,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372638,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372639,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372640,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372641,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372642,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372643,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015600204467773','2016-03-01 11:14:06'),(372644,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372645,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372646,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372647,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372648,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372649,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372650,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372651,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:06'),(372652,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372653,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372654,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372655,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372656,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372657,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372658,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372659,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372660,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:06'),(372661,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372662,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372663,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372664,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372665,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372666,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372667,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372668,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372669,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372670,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372671,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372672,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372673,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372674,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372675,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372676,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372677,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372678,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372679,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372680,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372681,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372682,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372683,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372684,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372685,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372686,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372687,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372688,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372689,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372690,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372691,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372692,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372693,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372694,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372695,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372696,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372697,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372698,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372699,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372700,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372701,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372702,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372703,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372704,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372705,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372706,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372707,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372708,3,75,'192.168.1.47','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32723\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372709,3,75,'192.168.1.47','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32723\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:06'),(372710,3,75,'192.168.1.47','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32723\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.062399864196777','2016-03-01 11:14:06'),(372711,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372712,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372713,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372714,3,75,'192.168.1.47','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32723\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372715,3,75,'192.168.1.47','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32723\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372716,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:06'),(372717,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372718,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372719,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372720,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372721,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372722,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372723,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372724,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372725,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372726,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372727,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372728,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372729,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372730,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372731,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372732,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372733,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372734,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372735,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372736,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372737,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372738,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372739,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372740,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372741,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372742,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372743,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372744,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372745,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:06'),(372746,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372747,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372748,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372749,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372750,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372751,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372752,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372753,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372754,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372755,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372756,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:06'),(372757,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372758,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372759,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372760,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372761,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372762,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372763,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372764,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372765,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372766,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372767,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372768,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372769,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372770,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372771,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372772,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372773,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372774,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372775,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372776,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372777,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372778,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:06'),(372779,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372780,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372781,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372782,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372783,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372784,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372785,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372786,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372787,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372788,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372789,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372790,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-14-06\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-14-06\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-44-06\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:14:06'),(372791,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372792,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372793,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:11'),(372794,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372795,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372796,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372797,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372798,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372799,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372800,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372801,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372802,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372803,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:11'),(372804,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372805,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372806,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372807,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372808,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372809,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372810,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372811,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372812,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372813,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372814,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372815,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:11'),(372816,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372817,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372818,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372819,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372820,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372821,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372822,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372823,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372824,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372825,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372826,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372827,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372828,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372829,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372830,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372831,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372832,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372833,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372834,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372835,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372836,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372837,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:11'),(372838,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372839,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372840,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372841,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372842,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372843,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372844,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372845,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372846,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372847,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372848,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372849,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372850,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372851,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372852,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372853,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372854,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372855,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372856,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372857,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372858,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372859,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372860,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372861,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372862,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372863,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372864,3,75,'192.168.1.47','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32722\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372865,3,75,'192.168.1.47','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32722\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:11'),(372866,3,75,'192.168.1.47','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32722\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.046800136566162','2016-03-01 11:14:11'),(372867,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372868,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372869,3,75,'192.168.1.47','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372870,3,75,'192.168.1.47','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32722\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372871,3,75,'192.168.1.47','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32722\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372872,3,75,'192.168.1.47','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:11'),(372873,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372874,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372875,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372876,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372877,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372878,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372879,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372880,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372881,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372882,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372883,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372884,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372885,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372886,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372887,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372888,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:13'),(372889,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372890,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372891,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372892,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372893,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372894,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372895,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372896,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372897,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:13'),(372898,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372899,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372900,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372901,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372902,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372903,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372904,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372905,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372906,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:13'),(372907,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372908,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372909,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372910,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372911,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372912,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372913,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372914,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372915,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372916,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372917,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:13'),(372918,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372919,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372920,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372921,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372922,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372923,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372924,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372925,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372926,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372927,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372928,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372929,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372930,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372931,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372932,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372933,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372934,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372935,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372936,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372937,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372938,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372939,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372940,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372941,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372942,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372943,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372944,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372945,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372946,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-14-13\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-14-13\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-44-13\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:14:13'),(372947,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372948,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0','2016-03-01 11:14:36'),(372949,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372950,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372951,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372952,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:36'),(372953,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372954,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372955,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372956,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372957,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372958,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372959,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372960,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372961,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372962,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:36'),(372963,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372964,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372965,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372966,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372967,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372968,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372969,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372970,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372971,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372972,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:36'),(372973,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372974,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372975,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372976,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372977,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372978,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372979,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372980,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372981,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372982,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372983,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372984,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372985,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372986,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372987,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372988,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372989,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372990,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372991,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(372992,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372993,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372994,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372995,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372996,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372997,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(372998,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(372999,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(373000,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373001,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(373002,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373003,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:36'),(373004,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373005,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(373006,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373007,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(373008,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373009,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(373010,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373011,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(373012,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373013,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:36'),(373014,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373015,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(373016,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373017,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(373018,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373019,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:36'),(373020,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373021,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPPNLM\'\nAND `accessRight` =  1','glreports/profitNloss','0','2016-03-01 11:14:36'),(373022,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `startDate` <= \'2016-03-01\'\nAND `endDate` >= \'2016-03-01\'\nLIMIT 1','glreports/profitNloss','0','2016-03-01 11:14:36'),(373023,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0','2016-03-01 11:14:36'),(373024,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373025,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373026,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373027,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2016 and b.period <= 1 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0','2016-03-01 11:14:36'),(373028,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373029,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373030,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373031,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373032,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373033,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373034,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373035,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373036,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373037,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373038,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373039,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373040,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373041,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373042,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373043,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373044,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373045,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373046,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373047,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373048,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373049,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373050,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373051,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373052,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373053,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373054,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373055,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373056,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373057,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373058,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373059,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373060,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373061,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373062,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373063,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373064,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373065,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:37'),(373066,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373067,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373068,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373069,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373070,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373071,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373072,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373073,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373074,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373075,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373076,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373077,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373078,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373079,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373080,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373081,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373082,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373083,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373084,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373085,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373086,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373087,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373088,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373089,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373090,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373091,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373092,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373093,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373094,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373095,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373096,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373097,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373098,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373099,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373100,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373101,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-14-37\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-14-37\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-44-37\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:14:37'),(373102,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373103,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/get_TrialBalance_year%\"','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373104,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:14:41'),(373105,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373106,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373107,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373108,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373109,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373110,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373111,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373112,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373113,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373114,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373115,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373116,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373117,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373118,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373119,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373120,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373121,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373122,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:14:41'),(373123,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373124,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373125,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373126,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373127,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373128,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373129,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373130,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373131,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373132,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373133,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373134,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373135,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373136,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373137,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373138,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373139,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373140,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:14:41'),(373141,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373142,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373143,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373144,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373145,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373146,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373147,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373148,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373149,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:14:41'),(373150,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373151,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373152,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373153,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373154,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373155,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373156,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373157,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0.015600204467773','2016-03-01 11:14:41'),(373158,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373159,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373160,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373161,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373162,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373163,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373164,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373165,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373166,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373167,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373168,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373169,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373170,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373171,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373172,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373173,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373174,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373175,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/get_TrialBalance_year','0','2016-03-01 11:14:41'),(373176,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373177,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/profitNloss%\"','glreports/profitNloss','0','2016-03-01 11:14:43'),(373178,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:43'),(373179,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373180,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373181,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373182,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373183,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373184,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373185,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373186,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373187,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373188,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:43'),(373189,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373190,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373191,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373192,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373193,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373194,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373195,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373196,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373197,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373198,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373199,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373200,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373201,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373202,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373203,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373204,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373205,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373206,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373207,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:43'),(373208,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373209,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373210,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373211,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373212,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373213,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373214,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373215,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373216,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0.015600204467773','2016-03-01 11:14:43'),(373217,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373218,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373219,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373220,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373221,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373222,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373223,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373224,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373225,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373226,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373227,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:43'),(373228,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373229,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373230,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373231,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373232,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373233,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373234,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373235,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373236,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:43'),(373237,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:43'),(373238,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373239,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373240,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373241,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373242,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/profitNloss','0','2016-03-01 11:14:43'),(373243,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:43'),(373244,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:44'),(373245,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373246,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0','2016-03-01 11:14:44'),(373247,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373248,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:44'),(373249,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373250,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPPNLM\'\nAND `accessRight` =  1','glreports/profitNloss','0.031199932098389','2016-03-01 11:14:44'),(373251,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/profitNloss','0.015600204467773','2016-03-01 11:14:44'),(373252,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373253,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373254,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/profitNloss','0','2016-03-01 11:14:44'),(373255,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/profitNloss','0.015599966049194','2016-03-01 11:14:44'),(373256,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:44'),(373257,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373258,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373259,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373260,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373261,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373262,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373263,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373264,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373265,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373266,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373267,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373268,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373269,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373270,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373271,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373272,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373273,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373274,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373275,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373276,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373277,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373278,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373279,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373280,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373281,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373282,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373283,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373284,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373285,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373286,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373287,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373288,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373289,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373290,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373291,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373292,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:44'),(373293,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373294,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373295,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373296,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373297,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373298,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373299,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373300,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373301,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373302,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373303,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373304,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373305,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373306,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373307,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373308,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373309,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373310,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373311,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373312,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373313,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373314,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373315,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373316,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015600204467773','2016-03-01 11:14:44'),(373317,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373318,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373319,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373320,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373321,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373322,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373323,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373324,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373325,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:44'),(373326,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373327,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373328,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373329,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-14-44\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-14-44\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-44-44\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:14:44'),(373330,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373331,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373332,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373333,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373334,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373335,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0.015600204467773','2016-03-01 11:14:53'),(373336,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373337,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373338,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373339,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373340,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373341,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373342,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373343,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:53'),(373344,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373345,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373346,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373347,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373348,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373349,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373350,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373351,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373352,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373353,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373354,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373355,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373356,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373357,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373358,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373359,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373360,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373361,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373362,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373363,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373364,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373365,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373366,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373367,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373368,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373369,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373370,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373371,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373372,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:14:53'),(373373,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373374,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373375,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373376,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373377,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373378,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373379,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373380,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373381,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373382,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373383,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373384,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373385,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373386,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373387,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373388,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373389,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373390,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373391,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373392,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373393,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373394,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373395,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373396,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373397,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373398,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373399,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373400,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373401,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373402,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373403,3,76,'192.168.1.124','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32599\'\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373404,3,76,'192.168.1.124','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32599\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.21840000152588','2016-03-01 11:14:53'),(373405,3,76,'192.168.1.124','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32599\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.046799898147583','2016-03-01 11:14:53'),(373406,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373407,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32599\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373408,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:14:53'),(373409,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373410,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373411,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:53'),(373412,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373413,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373414,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373415,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373416,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373417,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373418,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373419,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373420,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373421,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:53'),(373422,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373423,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373424,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373425,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373426,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373427,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373428,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373429,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373430,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373431,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373432,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373433,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373434,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373435,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373436,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:53'),(373437,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373438,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373439,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373440,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373441,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373442,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373443,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373444,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373445,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373446,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373447,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373448,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373449,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:54'),(373450,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373451,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373452,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373453,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373454,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373455,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373456,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373457,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373458,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373459,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373460,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373461,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373462,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373463,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373464,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373465,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373466,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:54'),(373467,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373468,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373469,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373470,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373471,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373472,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373473,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373474,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373475,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:14:54'),(373476,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373477,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373478,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373479,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373480,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373481,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373482,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-14-53\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-14-53\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-44-53\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:14:54'),(373483,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373484,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 11:15:58'),(373485,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373486,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373487,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373488,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373489,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373490,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373491,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373492,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373493,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373494,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373495,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373496,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373497,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373498,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373499,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373500,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373501,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373502,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373503,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015600204467773','2016-03-01 11:15:58'),(373504,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373505,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373506,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373507,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373508,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373509,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373510,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373511,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373512,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373513,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373514,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373515,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373516,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373517,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373518,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373519,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373520,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373521,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373522,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373523,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373524,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373525,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373526,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373527,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373528,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373529,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373530,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373531,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373532,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373533,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373534,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373535,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373536,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373537,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373538,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373539,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373540,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373541,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373542,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373543,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373544,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373545,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373546,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373547,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373548,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373549,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373550,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373551,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373552,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373553,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373554,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373555,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:15:58'),(373556,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:15:58'),(373557,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0','2016-03-01 11:15:58'),(373558,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `startDate` <= \'2016-03-01\'\nAND `endDate` >= \'2016-03-01\'\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373559,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nAND `period` =  0','glreports/financialposition','0','2016-03-01 11:15:58'),(373560,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0','2016-03-01 11:15:58'),(373561,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 11:15:58'),(373562,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0','2016-03-01 11:15:58'),(373563,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373564,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373565,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373566,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2015), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2015), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2016 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2016 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2016 And a.period <= 0\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2016\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.046799898147583','2016-03-01 11:15:58'),(373567,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373568,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373569,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 11:15:58'),(373570,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373571,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373572,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.078000068664551','2016-03-01 11:15:58'),(373573,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373574,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373575,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 0\nAND `year` =  \'2016\'\nGROUP BY `acctType`','glreports/financialposition','0.031199932098389','2016-03-01 11:15:58'),(373576,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 0\nAND `year` =  \'2016\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:15:58'),(373577,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373578,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373579,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2016 and b.period <= 0 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373580,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373581,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373582,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:15:58'),(373583,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0.015600204467773','2016-03-01 11:15:58'),(373584,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373585,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373586,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373587,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373588,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373589,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373590,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:15:58'),(373591,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373592,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373593,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373594,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373595,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2016\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373596,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373597,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2016\'\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373598,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373599,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373600,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373601,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373602,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `year` <= 2015\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:15:58'),(373603,3,76,'192.168.1.124','select','SELECT `period`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2015\nORDER BY `period` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373604,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373605,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:15:58'),(373606,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.015599966049194','2016-03-01 11:15:58'),(373607,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2015\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373608,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373609,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:15:58'),(373610,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:15:58'),(373611,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:15:58'),(373612,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373613,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:15:58'),(373614,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373615,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:15:59'),(373616,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373617,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373618,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373619,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373620,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373621,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373622,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373623,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373624,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373625,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373626,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:15:59'),(373627,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373628,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373629,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373630,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373631,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373632,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373633,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373634,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373635,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373636,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373637,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373638,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373639,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373640,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373641,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373642,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373643,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373644,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373645,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373646,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373647,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373648,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373649,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373650,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373651,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373652,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373653,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373654,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373655,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373656,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373657,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373658,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373659,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373660,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373661,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373662,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373663,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373664,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373665,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373666,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373667,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373668,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373669,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373670,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373671,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373672,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373673,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373674,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373675,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373676,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373677,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373678,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373679,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373680,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373681,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373682,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373683,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373684,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373685,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373686,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373687,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-15-59\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-15-59\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-45-59\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:15:59'),(373688,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373689,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/get_TrialBalance_year%\"','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373690,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373691,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0.01560115814209','2016-03-01 11:16:10'),(373692,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373693,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373694,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373695,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373696,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373697,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373698,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373699,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373700,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373701,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373702,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:16:10'),(373703,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373704,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373705,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373706,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373707,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373708,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373709,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373710,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373711,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:16:10'),(373712,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373713,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373714,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373715,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373716,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373717,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373718,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373719,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373720,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373721,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373722,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373723,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373724,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373725,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373726,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373727,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373728,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373729,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373730,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:16:10'),(373731,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373732,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373733,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373734,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373735,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373736,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373737,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373738,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373739,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373740,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373741,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373742,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373743,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373744,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373745,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373746,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373747,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373748,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373749,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373750,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:16:10'),(373751,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373752,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373753,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373754,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373755,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373756,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373757,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373758,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373759,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373760,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/get_TrialBalance_year','0','2016-03-01 11:16:10'),(373761,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/get_TrialBalance_year','0.015599966049194','2016-03-01 11:16:10'),(373762,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373763,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/financialposition%\"','glreports/financialposition','0','2016-03-01 11:16:13'),(373764,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373765,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373766,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373767,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373768,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373769,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373770,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373771,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373772,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373773,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373774,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373775,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:16:13'),(373776,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373777,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373778,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373779,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373780,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373781,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373782,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373783,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373784,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373785,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373786,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373787,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373788,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373789,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373790,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373791,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373792,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373793,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373794,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373795,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373796,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373797,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373798,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373799,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373800,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373801,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373802,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373803,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373804,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373805,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373806,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373807,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373808,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373809,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:16:13'),(373810,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373811,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373812,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373813,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373814,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373815,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373816,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373817,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373818,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373819,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/financialposition','0.015599966049194','2016-03-01 11:16:13'),(373820,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373821,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373822,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373823,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373824,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373825,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373826,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373827,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373828,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373829,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373830,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0.015599966049194','2016-03-01 11:16:13'),(373831,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373832,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373833,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373834,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/financialposition','0','2016-03-01 11:16:13'),(373835,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/financialposition','0','2016-03-01 11:16:13'),(373836,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLRPBS\'\nAND `accessRight` =  1','glreports/financialposition','0.046799898147583','2016-03-01 11:16:13'),(373837,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nAND `period` =  \'12\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373838,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `is_delete` =  \'\'\nORDER BY `financialYear` desc, `period` desc','glreports/financialposition','0','2016-03-01 11:16:13'),(373839,3,76,'192.168.1.124','select','SELECT `comp_financial_year`.*, concat(period, \" [\", date_format(startDate, \"%d-%m-%Y\"), \" - \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriod, concat(period, \" [ As at \", date_format(endDate, \"%d-%m-%Y\"), \"]\") as financialPeriodAsat\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  \'2015\'\nORDER BY `financialYear`, `period`','glreports/financialposition','0','2016-03-01 11:16:13'),(373840,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` =  0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`orderNo`, `a`.`parentID`','glreports/financialposition','0','2016-03-01 11:16:13'),(373841,3,76,'192.168.1.124','select','SELECT `a`.*, `b`.`balance`\nFROM (`_ref_acct_group` a)\nJOIN `comp_acct_type` b ON `b`.`ID` = `a`.`acctTypeID`\nWHERE `a`.`parentID` != 0\nAND (a.acctTypeID = 1 OR a.acctTypeID = 2 OR a.acctTypeID = 5)\nORDER BY `a`.`parentID`, `a`.`orderNo`','glreports/financialposition','0','2016-03-01 11:16:13'),(373842,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373843,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373844,3,76,'192.168.1.124','select','SELECT b.*, IFNULL(ob.debit, 0) oDebit, IFNULL(ob.credit, 0) oCredit, IFNULL(sum(a.amount_dr), 0) as currentyeardebit, IFNULL(sum(a.amount_cr), 0) as currentyearcredit, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa3, comp_chart_of_acct ab3, _ref_acct_group d3 where aa3.companyID = b.companyID and aa3.acctcode = ab3.id and ab3.acctGroupID = d3.id and d3.acctTypeID = 3 and aa3.year <2014), 0) as lastRetainInc, IFNULL((select ifnull(SUM(amount_dr), 0)-ifnull(SUM(amount_cr), 0) from comp_journal_detail aa4, comp_chart_of_acct ab4, _ref_acct_group d4 where aa4.companyID = b.companyID and aa4.acctcode = ab4.id and ab4.acctGroupID = d4.id and d4.acctTypeID = 4 and aa4.year <2014), 0) as lastRetainExp, sum(a.amount_dr - a.amount_cr) as total, `b`.`acctCode`, `b`.`acctName`, `b`.`acctGroupID`, `d`.`acctTypeID`, `e`.`balance`, IFNULL((select sum(aa.amount_dr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.debit, 0) as lastyeardebit, IFNULL((select sum(aa.amount_cr) from comp_journal_detail aa where aa.acctCode = b.ID and aa.year < 2015 And aa.year >= 2015), 0)+IFNULL(ob2.credit, 0) as lastyearcredit\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `comp_journal_detail` a ON `a`.`acctCode` = `b`.`ID` and a.year = 2015 And a.period <= 12\nLEFT OUTER JOIN `_ref_acct_group` d ON `d`.`ID` = `b`.`acctGroupID`\nLEFT OUTER JOIN `comp_acct_type` e ON `e`.`ID` = `d`.`acctTypeID`\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `b`.`companyID` and ob.accountID = b.ID and ob.year =2015\nLEFT OUTER JOIN `comp_opening_balance` ob2 ON `ob2`.`companyID` = `b`.`companyID` and ob2.accountID = b.ID and ob2.year =2015\nWHERE `b`.`companyID` =  \'3\'\nAND `b`.`acctGroupID` >  0\nAND `b`.`id` > 0\nGROUP BY `b`.`acctCode`','glreports/financialposition','0.093600034713745','2016-03-01 11:16:13'),(373845,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:16:13'),(373846,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:16:13'),(373847,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `is_delete` =  \'\'\nORDER BY `period` desc','glreports/financialposition','0','2016-03-01 11:16:13'),(373848,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373849,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373850,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'3\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:16:13'),(373851,3,76,'192.168.1.124','select','SELECT SUM(balance) as bal\nFROM (`view_expence_and_income`)\nWHERE `companyID` =  \'3\'\nAND `acctType` =  \'4\'\nAND `period` <= 12\nAND `year` =  \'2015\'\nGROUP BY `acctType`','glreports/financialposition','0','2016-03-01 11:16:13'),(373852,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` =  0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:16:13'),(373853,3,76,'192.168.1.124','select','SELECT *\nFROM (`_ref_acct_group`)\nWHERE `parentID` != 0\nAND (acctTypeID = 3 OR acctTypeID = 4)\nORDER BY `acctTypeID`, `parentID`, `orderNo`','glreports/financialposition','0','2016-03-01 11:16:13'),(373854,3,76,'192.168.1.124','select','SELECT IFNULL(ob.debit, 0) as oDebit, sum(b.amount_dr) as currentyeardebit, IFNULL(ob.credit, 0) as oCredit, sum(b.amount_cr) as currentyearcredit, sum(b.amount_dr - b.amount_cr) as total, `a`.*, IFNULL(sum(c.amountcr), 0) as budgetAmount, `d`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `comp_journal_detail` b ON `a`.`ID` = `b`.`acctCode` and b.year=2015 and b.period <= 12 and b.companyID = 3\nJOIN `_ref_acct_group` d ON `d`.`ID` = `a`.`acctGroupID` and (d.acctTypeID = \"3\" OR d.acctTypeID = \"4\")\nLEFT OUTER JOIN `comp_opening_balance` ob ON `ob`.`companyID` = `a`.`companyID` and ob.accountID = a.ID and ob.year = b.year\nLEFT OUTER JOIN `comp_budget` c ON `c`.`acctID` = `a`.`ID` and c.year = b.year and c.companyID = a.companyID\nWHERE `a`.`companyID` =  \'3\'\nGROUP BY `a`.`ID`\nORDER BY `a`.`acctCode`','glreports/financialposition','0.031199932098389','2016-03-01 11:16:13'),(373855,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373856,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373857,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:16:13'),(373858,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2013\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373859,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373860,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2013\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373861,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373862,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373863,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373864,3,76,'192.168.1.124','select','SELECT `ID`\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'\nAND `acctCode` =  120000000','glreports/financialposition','0','2016-03-01 11:16:13'),(373865,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < 2014\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/financialposition','0','2016-03-01 11:16:13'),(373866,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/financialposition','0','2016-03-01 11:16:13'),(373867,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32501\'\nAND `a`.`year` < 2014\nAND `a`.`year` >= \'2015\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373868,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32501\'\nAND `year` =  \'2015\'','glreports/financialposition','0','2016-03-01 11:16:13'),(373869,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373870,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373871,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373872,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373873,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373874,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373875,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373876,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373877,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373878,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373879,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373880,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373881,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373882,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373883,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373884,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373885,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:14'),(373886,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373887,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373888,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373889,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373890,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373891,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373892,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373893,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373894,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373895,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373896,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373897,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373898,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373899,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373900,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373901,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373902,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373903,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373904,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373905,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373906,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373907,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373908,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373909,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373910,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:14'),(373911,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373912,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373913,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373914,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373915,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373916,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373917,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373918,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373919,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373920,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373921,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373922,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373923,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373924,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373925,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373926,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373927,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373928,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373929,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373930,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373931,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373932,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373933,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373934,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373935,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373936,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373937,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373938,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373939,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:14'),(373940,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373941,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373942,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-16-14\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-16-14\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-46-14\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:16:14'),(373943,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373944,3,75,'192.168.1.47','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373945,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373946,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373947,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373948,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373949,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373950,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:18'),(373951,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373952,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373953,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373954,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373955,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373956,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373957,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373958,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373959,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373960,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:18'),(373961,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373962,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373963,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373964,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373965,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373966,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373967,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373968,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373969,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373970,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373971,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373972,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373973,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373974,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373975,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373976,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373977,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373978,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373979,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373980,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373981,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373982,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373983,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373984,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373985,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373986,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373987,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373988,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373989,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373990,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373991,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373992,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373993,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373994,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373995,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373996,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:18'),(373997,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373998,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(373999,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374000,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374001,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374002,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374003,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374004,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374005,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:18'),(374006,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374007,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374008,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'75\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374009,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374010,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374011,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374012,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374013,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374014,3,75,'192.168.1.47','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'75\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:18'),(374015,3,75,'192.168.1.47','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374016,3,75,'192.168.1.47','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-16-18\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-16-18\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-46-18\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:16:18'),(374017,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374018,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374019,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374020,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374021,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374022,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374023,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374024,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374025,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374026,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374027,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374028,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374029,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374030,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374031,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374032,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:16:30'),(374033,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374034,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374035,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374036,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374037,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374038,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374039,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374040,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374041,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374042,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374043,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:16:30'),(374044,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374045,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374046,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374047,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374048,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374049,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374050,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374051,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374052,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374053,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374054,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374055,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374056,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374057,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374058,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374059,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374060,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374061,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374062,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374063,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374064,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374065,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374066,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374067,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374068,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374069,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374070,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374071,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015600204467773','2016-03-01 11:16:30'),(374072,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374073,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374074,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374075,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374076,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374077,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374078,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374079,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374080,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:16:30'),(374081,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374082,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374083,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374084,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374085,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:30'),(374086,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374087,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374088,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374089,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374090,3,76,'192.168.1.124','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32721\'\nLIMIT 1','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:16:31'),(374091,3,76,'192.168.1.124','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32721\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0.26520109176636','2016-03-01 11:16:31'),(374092,3,76,'192.168.1.124','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32721\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.046799898147583','2016-03-01 11:16:31'),(374093,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374094,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374095,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:16:31'),(374096,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32721\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374097,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32721\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374098,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:16:31'),(374099,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:31'),(374100,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374101,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374102,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015600204467773','2016-03-01 11:16:31'),(374103,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374104,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374105,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374106,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374107,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374108,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374109,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374110,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374111,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:31'),(374112,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374113,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374114,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374115,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374116,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374117,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374118,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374119,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374120,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374121,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374122,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374123,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374124,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374125,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374126,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374127,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374128,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374129,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374130,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374131,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374132,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374133,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374134,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374135,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374136,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374137,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374138,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374139,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374140,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374141,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374142,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374143,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374144,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374145,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374146,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374147,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374148,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374149,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374150,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374151,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374152,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374153,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374154,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374155,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374156,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374157,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374158,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374159,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374160,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374161,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374162,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374163,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374164,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374165,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:31'),(374166,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374167,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374168,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374169,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374170,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374171,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374172,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-16-31\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-16-31\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-46-31\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0','2016-03-01 11:16:31'),(374173,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374174,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glsetting/openingBalance%\"','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374175,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `fldid` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374176,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374177,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374178,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374179,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374180,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374181,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374182,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374183,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374184,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374185,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374186,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374187,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374188,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374189,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374190,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374191,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374192,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374193,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374194,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374195,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374196,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374197,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374198,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374199,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374200,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374201,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374202,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374203,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374204,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374205,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374206,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374207,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374208,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374209,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374210,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374211,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374212,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374213,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374214,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374215,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374216,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374217,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374218,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374219,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374220,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374221,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374222,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374223,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374224,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374225,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374226,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374227,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374228,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374229,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374230,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374231,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374232,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374233,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374234,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374235,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374236,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374237,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374238,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374239,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374240,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374241,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374242,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374243,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374244,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374245,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374246,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glsetting/openingBalance','0.015600204467773','2016-03-01 11:16:55'),(374247,3,76,'192.168.1.124','select','SELECT `user_module_access_details`.*\nFROM (`user_module_access_details`)\nWHERE `userID` =  \'76\'\nAND `companyID` =  \'3\'\nAND `menuCode` =  \'GLSTCOA\'\nAND `accessRight` =  1','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374248,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_chart_of_acct`)\nWHERE `companyID` =  \'3\'','glsetting/openingBalance','0.015599966049194','2016-03-01 11:16:55'),(374249,3,76,'192.168.1.124','select','Select financialYear,period   from comp_financial_year where companyID = 3 order by ID','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374250,3,76,'192.168.1.124','select','Select distinct year  from comp_opening_balance where companyID = 3','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374251,3,76,'192.168.1.124','insert','insert into comp_opening_balance (companyID, accountID, year, createdBy) select 3, ID, 2015, 76	from comp_chart_of_acct where companyID = 3 and ID not in (select accountID from comp_opening_balance where year= 2015 and companyID = 3)','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374252,3,76,'192.168.1.124','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  0\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374253,3,76,'192.168.1.124','select','SELECT DISTINCT cacc.ID, openB.ID as openingBalanceID, concat(substr(cacc.acctCode, 1, 4), \"-\", substr(cacc.acctCode, 5, 3), \"-\", substr(cacc.acctCode, 8, 2)) as acctCode, cacc.acctName, accGrp.acctGroupName, accType.acctTypeName, openB.debit as openingBalanceDr, openB.credit as openingBalanceCr\nFROM (`comp_chart_of_acct` as cacc)\nLEFT JOIN `_ref_acct_group` as accGrp ON `accGrp`.`ID` = `cacc`.`acctGroupID`\nLEFT JOIN `comp_acct_type` as accType ON `accType`.`ID` = `accGrp`.`acctTypeID`\nLEFT JOIN `comp_opening_balance` as openB ON `cacc`.`ID` = `openB`.`accountID` AND openB.companyID = 3 AND openB.year = 2015\nWHERE `accType`.`acctClass` =  1\nAND `cacc`.`companyID` =  \'3\'\nORDER BY `cacc`.`acctCode` asc','glsetting/openingBalance','0','2016-03-01 11:16:55'),(374254,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:16:56'),(374255,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374256,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374257,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374258,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374259,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374260,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374261,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374262,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374263,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374264,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:57'),(374265,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374266,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374267,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374268,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374269,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374270,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374271,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374272,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374273,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374274,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374275,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374276,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374277,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374278,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374279,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374280,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374281,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374282,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374283,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374284,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374285,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374286,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374287,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374288,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374289,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374290,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374291,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374292,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374293,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374294,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374295,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374296,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374297,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374298,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374299,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374300,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374301,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374302,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374303,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374304,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374305,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374306,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374307,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374308,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374309,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374310,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374311,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374312,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:57'),(374313,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374314,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374315,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374316,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374317,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374318,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374319,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374320,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374321,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374322,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374323,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374324,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374325,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374326,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:16:57'),(374327,3,76,'192.168.1.124','select','SELECT fldid, username, position, last_seen, DATE_FORMAT(last_seen, \"%H:%i:%s\") viewLastSeen, (UNIX_TIMESTAMP(\"2016-03-01 04-16-56\")-UNIX_TIMESTAMP(last_seen)) idle, \"2016-03-01-04-16-56\" now, online, access_comp\nFROM (`tbl_usermaster`)\nWHERE `online` =  1\nAND `last_seen` > \'2016-03-01 03-46-56\'\nORDER BY `last_seen` DESC','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:16:57'),(374328,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374329,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%glreports/accountDetailsfc%\"','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374330,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374331,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374332,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374333,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374334,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374335,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374336,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374337,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374338,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374339,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374340,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374341,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374342,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374343,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374344,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:17:17'),(374345,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374346,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374347,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374348,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374349,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374350,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374351,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374352,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374353,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374354,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374355,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374356,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015600204467773','2016-03-01 11:17:17'),(374357,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374358,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374359,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374360,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374361,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374362,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374363,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374364,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374365,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374366,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374367,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374368,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374369,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374370,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374371,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374372,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374373,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374374,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374375,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374376,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374377,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374378,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:17:17'),(374379,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374380,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374381,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374382,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374383,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374384,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374385,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'6\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374386,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'102\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374387,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'7\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:17:17'),(374388,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'84\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374389,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374390,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'278\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374391,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374392,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'109\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374393,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'7\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374394,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'108\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374395,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374396,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'5\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374397,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'10\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:17:17'),(374398,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'93\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374399,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'9\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374400,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'12\'\nORDER BY `seq`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374401,3,76,'192.168.1.124','select','SELECT `a`.`acctTypeID`, `b`.*\nFROM (`comp_chart_of_acct` b)\nLEFT JOIN `_ref_acct_group` a ON `a`.`ID` = `b`.`acctGroupID`\nWHERE `b`.`ID` =  \'32517\'\nLIMIT 1','glreports/accountDetailsfc','0.015599966049194','2016-03-01 11:17:17'),(374402,3,76,'192.168.1.124','select','SELECT `a`.*, IFNULL((SELECT DISTINCT referenceNo from view_journal_table where formNo = a.formNo and companyID = a.companyID LIMIT 0, 1), \"---\") as refNo, concat((SELECT sam2.acctName FROM comp_journal_detail sam1\r\n JOIN comp_chart_of_acct sam2 on sam2.ID = sam1.acctCode\r\n WHERE sam1.companyID = a.companyID \r\n and sam1.journalID = a.journalID \r\n and sam1.sequence = IF(a.sequence%2 = 0, a.sequence-1, a.sequence+1)), \' - \', SUBSTR(a.description, 1, 20)) AS description, `b`.`effective_date`\nFROM (`comp_journal_detail` a)\nJOIN `comp_journal` b ON `b`.`journalID` = `a`.`journalID` and b.companyID = a.companyID and b.status = 1\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32517\'\nAND `a`.`year` =  \'2015\'\nAND `a`.`period` != 0\nAND CONCAT(b.year,LPAD(b.period,2,\"0\")) <= \'201512\'\nORDER BY `b`.`effective_date`, `journalID`, `sequence`','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374403,3,76,'192.168.1.124','select','SELECT sum(b.amountdr) as currentyeardebit, sum(b.amountcr) as currentyearcredit, sum(b.total) as total, `a`.*, `ref`.`acctTypeID`\nFROM (`comp_chart_of_acct` a)\nLEFT OUTER JOIN `view_comp_acc_det` b ON `b`.`acctID` = `a`.`ID` and CONCAT(b.year,if(b.period <=9, CONCAT(\"0\",b.period),b.period)) <= 201512 and b.companyID = 3\nLEFT JOIN `_ref_acct_group` ref ON `ref`.`ID` = `a`.`acctGroupID`\nWHERE `a`.`companyID` =  \'3\'\nAND `a`.`ID` =  \'32517\'\nGROUP BY `a`.`ID`','glreports/accountDetailsfc','0.062400102615356','2016-03-01 11:17:17'),(374404,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nAND `status` =  0\nORDER BY `period` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374405,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `status` =  1\nAND `financialYear` < \'2015\'\nAND `is_delete` =  0\nORDER BY `financialYear` DESC\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374406,3,76,'192.168.1.124','select','SELECT `financialYear`\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nORDER BY `financialYear` ASC','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374407,3,76,'192.168.1.124','select','SELECT (sum(a.amount_dr)-sum(a.amount_cr)) openingBalance\nFROM (`comp_journal_detail` a)\nWHERE `companyID` =  \'3\'\nAND `a`.`acctCode` =  \'32517\'\nAND `a`.`year` < \'2015\'\nAND `a`.`year` >= \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374408,3,76,'192.168.1.124','select','SELECT (debit-credit) chartOpening\nFROM (`comp_opening_balance`)\nWHERE `companyID` =  \'3\'\nAND `accountID` =  \'32517\'\nAND `year` =  \'2015\'','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374409,3,76,'192.168.1.124','select','SELECT *\nFROM (`comp_financial_year`)\nWHERE `companyID` =  \'3\'\nAND `financialYear` =  2014\nORDER BY `financialYear`, `period`\nLIMIT 1','glreports/accountDetailsfc','0','2016-03-01 11:17:17'),(374410,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `transaction` =  \'1\'\nAND `moduleID` =  \'9\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374411,3,76,'192.168.1.124','select','SELECT * FROM _sys_menu WHERE urls LIKE \"%usersetting/useronlinestatus%\"','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:17:18'),(374412,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  0\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374413,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'1\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374414,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'45\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374415,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374416,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'150\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374417,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374418,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'88\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374419,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'1\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374420,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'46\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374421,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'2\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:17:18'),(374422,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'80\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374423,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374424,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'131\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374425,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374426,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'89\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374427,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'2\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374428,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'86\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374429,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'3\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374430,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'81\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374431,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374432,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'124\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374433,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374434,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'87\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374435,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'3\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374436,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'85\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374437,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'5\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374438,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'82\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374439,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374440,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'152\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374441,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:17:18'),(374442,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'106\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374443,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'5\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374444,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'105\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374445,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'8\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374446,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'50\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374447,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374448,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'147\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374449,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374450,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'52\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374451,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'8\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374452,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'51\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374453,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'4\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374454,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'90\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374455,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374456,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'148\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374457,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374458,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'92\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374459,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Setup` =  \'1\'\nAND `moduleID` =  \'4\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374460,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'91\'\nORDER BY `seq`','usersetting/useronlinestatus','0.015599966049194','2016-03-01 11:17:18'),(374461,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `userID` =  \'76\'\nAND `moduleID` =  \'6\'\nAND `companyID` =  \'3\'\nAND (transaction = \"1\" OR reports = \"1\" OR setup = \"1\")','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374462,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'83\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374463,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Transaction` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374464,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'151\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374465,3,76,'192.168.1.124','select','SELECT *\nFROM (`user_module_access`)\nWHERE `companyID` =  \'3\'\nAND `userID` =  \'76\'\nAND `Reports` =  \'1\'\nAND `moduleID` =  \'6\'','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),(374466,3,76,'192.168.1.124','select','SELECT *\nFROM (`_sys_menu`)\nWHERE `display` =  1\nAND `parents` =  \'103\'\nORDER BY `seq`','usersetting/useronlinestatus','0','2016-03-01 11:17:18'),