INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6821, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000006''', 'Gltransaction/journalPosting', '0.0080001354217529', '2015-05-25 13:41:34'),
(6822, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', NULL, ''0'', ''2015'', ''2'', ''0'', ''8720'', -8720, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.075005054473877', '2015-05-25 13:41:34'),
(6823, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:34'),
(6824, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''187''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6825, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000007''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6826, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:34'),
(6827, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6828, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:34'),
(6829, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''65'', ''2015'', ''2'', ''78.75'', ''0'', 78.75, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.013000965118408', '2015-05-25 13:41:34'),
(6830, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''33'', ''2015'', ''2'', ''4.72'', ''0'', 4.72, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:34'),
(6831, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6832, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6833, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''124'', ''2015'', ''2'', ''1512'', ''0'', 1512, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.072005033493042', '2015-05-25 13:41:34'),
(6834, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''33'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:34'),
(6835, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:34'),
(6836, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.022001028060913', '2015-05-25 13:41:34'),
(6837, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''126'', ''2015'', ''2'', ''2520'', ''0'', 2520, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.046003103256226', '2015-05-25 13:41:34'),
(6838, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''33'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:34'),
(6839, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:34'),
(6840, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-25 13:41:34'),
(6841, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''72'', ''2015'', ''2'', ''50'', ''0'', 50, ''2'', ''2015-05-25: 07:05:34'')', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:34'),
(6842, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''188''', 'Gltransaction/journalPosting', '0.032001972198486', '2015-05-25 13:41:35'),
(6843, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000008''', 'Gltransaction/journalPosting', '0.011000871658325', '2015-05-25 13:41:35'),
(6844, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', NULL, NULL, ''2015'', ''2'', ''0'', ''36467'', -36467, ''2'', ''2015-05-25: 07:05:35'')', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:35'),
(6845, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-25 13:41:35'),
(6846, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''189''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-25 13:41:35'),
(6847, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000009''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-05-25 13:41:35'),
(6848, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6849, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-25 13:41:35'),
(6850, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''190''', 'Gltransaction/journalPosting', '0.021001100540161', '2015-05-25 13:41:35'),
(6851, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000010''', 'Gltransaction/journalPosting', '0.01400089263916', '2015-05-25 13:41:35'),
(6852, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6853, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6854, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''191''', 'Gltransaction/journalPosting', '0.0020008087158203', '2015-05-25 13:41:35'),
(6855, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000011''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:35'),
(6856, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.04000186920166', '2015-05-25 13:41:35'),
(6857, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:35'),
(6858, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-25 13:41:35'),
(6859, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:35'),
(6860, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''192''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6861, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000012''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-25 13:41:35'),
(6862, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-25 13:41:35'),
(6863, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-25 13:41:35'),
(6864, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''193''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6865, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000013''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6866, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-25 13:41:35'),
(6867, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.015001058578491', '2015-05-25 13:41:35'),
(6868, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''3'', ''2'', ''PI2015'', '''', ''2015-04-24'', ''IMM/FW/TX1429860126929'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.49202799797058', '2015-05-26 16:58:13'),
(6869, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (25, ''2'', ''66'', ''1'', ''LEVY - Wardaningsih'', ''2050'', ''0'', ''23'', ''0'', ''2050'')', 'purchasetransaction/saveCharge', '0.1640088558197', '2015-05-26 16:58:13'),
(6870, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2050'' WHERE `ID` =  25', 'purchasetransaction/saveCharge', '0.015001058578491', '2015-05-26 16:58:13'),
(6871, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =25', 'purchasetransaction/saveCharge', '0.033002138137817', '2015-05-26 16:58:13'),
(6872, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''25'', ''2'', ''2'', ''71'', ''SERVICE FEE'', ''38'', ''19'', ''6'', ''2.28'', ''40.28'')', 'purchasetransaction/saveChargeDetailOnly', '0.013001203536987', '2015-05-26 16:59:18'),
(6873, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2.28'', `totalAmount` = ''2090.28'' WHERE `ID` =  ''25''', 'purchasetransaction/saveChargeDetailOnly', '0.01400089263916', '2015-05-26 16:59:18'),
(6874, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =25', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-26 16:59:18'),
(6875, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''3'', ''2'', ''PI2015'', '''', ''2015-04-24'', ''IMM/FW/TX1429858957337'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.01400089263916', '2015-05-26 17:03:22'),
(6876, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (26, ''2'', ''66'', ''1'', ''LEVY x 6 INDO'', ''8700'', ''0'', ''23'', ''0'', ''8700'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-26 17:03:22'),
(6877, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''8700'' WHERE `ID` =  26', 'purchasetransaction/saveCharge', '0.013000965118408', '2015-05-26 17:03:22'),
(6878, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =26', 'purchasetransaction/saveCharge', '0.010000944137573', '2015-05-26 17:03:22'),
(6879, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''26'', ''2'', ''2'', ''71'', ''SERVICE FEE'', ''228'', ''19'', ''6'', ''13.68'', ''241.68'')', 'purchasetransaction/saveChargeDetailOnly', '0.017000913619995', '2015-05-26 17:04:53'),
(6880, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''13.68'', `totalAmount` = ''8941.68'' WHERE `ID` =  ''26''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-26 17:04:53'),
(6881, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =26', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-26 17:04:53'),
(6882, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''25'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.024001121520996', '2015-05-26 17:06:34'),
(6883, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  ''4''', 'Aptransaction/invoicePosting', '0.013000965118408', '2015-05-26 17:06:34'),
(6884, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000039'' WHERE `ID` =  ''25''', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-26 17:06:34'),
(6885, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000039'', ''PI2015[00000007]'', ''Purchase Invoice Confirm [ PI2015[00000007] ]'', ''3'', ''2015-04-24'', ''2015'', ''1'', 2090.28, 2090.28, ''2'')', 'Aptransaction/invoicePosting', '0.041002035140991', '2015-05-26 17:06:34'),
(6886, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000039'', 1, ''LEVY - Wardaningsih'', ''64'', ''MY EG SDN. BHD.'', 2050, ''1'', ''1'', ''2050'', ''1'', ''2015'', ''1'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.076004028320312', '2015-05-26 17:06:34'),
(6887, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000039'', ''LEVY - Wardaningsih'', ''66'', ''MY EG SDN. BHD.'', 2050, ''1'', ''1'', ''2050'', ''1'', ''2015'', ''1'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.068004131317139', '2015-05-26 17:06:34'),
(6888, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000039'', 3, ''SERVICE FEE'', ''64'', ''MY EG SDN. BHD.'', 38, ''1'', ''1'', ''38'', ''1'', ''2015'', ''2'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0050010681152344', '2015-05-26 17:06:34'),
(6889, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000039'', ''SERVICE FEE'', ''71'', ''MY EG SDN. BHD.'', 38, ''1'', ''1'', ''38'', ''1'', ''2015'', ''2'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.017001152038574', '2015-05-26 17:06:34'),
(6890, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150100000039'', ''SERVICE FEE'', ''33'', ''MY EG SDN. BHD.'', 2.28, ''1'', ''1'', ''2.28'', ''1'', ''2015'', ''2'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-26 17:06:34'),
(6891, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150100000039'', ''SERVICE FEE'', ''64'', ''MY EG SDN. BHD.'', 2.28, ''1'', ''1'', ''2.28'', ''1'', ''2015'', ''2'', ''PI2015[00000007]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-26 17:06:34'),
(6892, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2090.28, `total_amount_cr` = 2090.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000039''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-26 17:06:34'),
(6893, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''26'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.021000862121582', '2015-05-26 17:06:34'),
(6894, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  ''4''', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-26 17:06:34'),
(6895, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000040'' WHERE `ID` =  ''26''', 'Aptransaction/invoicePosting', '0.042001962661743', '2015-05-26 17:06:34'),
(6896, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000040'', ''PI2015[00000008]'', ''Purchase Invoice Confirm [ PI2015[00000008] ]'', ''3'', ''2015-04-24'', ''2015'', ''1'', 8941.68, 8941.68, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-26 17:06:34'),
(6897, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000040'', 1, ''LEVY x 6 INDO'', ''64'', ''MY EG SDN. BHD.'', 8700, ''1'', ''1'', ''8700'', ''1'', ''2015'', ''1'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-26 17:06:34'),
(6898, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000040'', ''LEVY x 6 INDO'', ''66'', ''MY EG SDN. BHD.'', 8700, ''1'', ''1'', ''8700'', ''1'', ''2015'', ''1'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-26 17:06:34'),
(6899, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000040'', 3, ''SERVICE FEE'', ''64'', ''MY EG SDN. BHD.'', 228, ''1'', ''1'', ''228'', ''1'', ''2015'', ''2'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-26 17:06:34'),
(6900, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000040'', ''SERVICE FEE'', ''71'', ''MY EG SDN. BHD.'', 228, ''1'', ''1'', ''228'', ''1'', ''2015'', ''2'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-26 17:06:34'),
(6901, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150100000040'', ''SERVICE FEE'', ''33'', ''MY EG SDN. BHD.'', 13.68, ''1'', ''1'', ''13.68'', ''1'', ''2015'', ''2'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-26 17:06:34'),
(6902, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150100000040'', ''SERVICE FEE'', ''64'', ''MY EG SDN. BHD.'', 13.68, ''1'', ''1'', ''13.68'', ''1'', ''2015'', ''2'', ''PI2015[00000008]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-26 17:06:34'),
(6903, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8941.68, `total_amount_cr` = 8941.68, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000040''', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-05-26 17:06:34'),
(6904, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''3'', ''0'', ''11031.96'', ''69'', ''PP20150526'', ''3'', ''1'', ''1.00000'', ''2015-04-20'', ''PV 20/4'', 0, '''', '''', ''0.00'', ''11031.96'', ''11031.96'', ''-0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.18201017379761', '2015-05-26 17:10:09'),
(6905, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 11,1,ID,totalAmount, totalPayable  ,0.00,2090.28,2 from comp_supplier_invoice where ID=25', 'aptransaction/saveSupplierPayment', '0.024000883102417', '2015-05-26 17:10:09'),
(6906, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 2090.28, totalPayable = totalAmount - amountPaid  where ID = 25', 'aptransaction/saveSupplierPayment', '0.002000093460083', '2015-05-26 17:10:09'),
(6907, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 11,2,ID,totalAmount, totalPayable  ,0.00,8941.68,2 from comp_supplier_invoice where ID=26', 'aptransaction/saveSupplierPayment', '0.0010008811950684', '2015-05-26 17:10:09'),
(6908, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 8941.68, totalPayable = totalAmount - amountPaid  where ID = 26', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-05-26 17:10:09'),
(6909, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''11''', 'aptransaction/paymentPosting', '0.015001058578491', '2015-05-26 17:11:21'),
(6910, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  ''4''', 'aptransaction/paymentPosting', '0.0069999694824219', '2015-05-26 17:11:21'),
(6911, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150100000041'' WHERE `ID` =  ''11''', 'aptransaction/paymentPosting', '0.0030009746551514', '2015-05-26 17:11:21'),
(6912, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000041'', ''PP20150526[00000006]'', ''Payment [ PP20150526[00000006] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 11031.96, 11031.96, ''2'')', 'aptransaction/paymentPosting', '0.016000986099243', '2015-05-26 17:11:21'),
(6913, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150100000041'', 1, ''PI2015[00000008]'', ''0'', ''MY EG SDN. BHD.'', 8941.68, ''1'', ''1'', ''8941.68'', ''1'', ''2015'', ''2'', ''PP20150526[00000011]'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-26 17:11:21'),
(6914, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150100000041'', ''PI2015[00000008]'', ''64'', ''MY EG SDN. BHD.'', 8941.68, ''1'', ''1'', ''8941.68'', ''1'', ''2015'', ''PP20150526[00000011]'', ''2'', ''2'')', 'aptransaction/paymentPosting', '0.0019998550415039', '2015-05-26 17:11:21'),
(6915, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150100000041'', 3, ''PI2015[00000007]'', ''0'', ''MY EG SDN. BHD.'', 2090.28, ''1'', ''1'', ''2090.28'', ''1'', ''2015'', ''1'', ''PP20150526[00000011]'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-26 17:11:21'),
(6916, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 4, ''AP20150100000041'', ''PI2015[00000007]'', ''64'', ''MY EG SDN. BHD.'', 2090.28, ''1'', ''1'', ''2090.28'', ''1'', ''2015'', ''PP20150526[00000011]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-26 17:11:21'),
(6917, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 11031.96, `total_amount_cr` = 11031.96, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000041''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-26 17:11:21'),
(6918, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''194''', 'Gltransaction/journalPosting', '0.0080008506774902', '2015-05-26 17:11:38'),
(6919, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000039''', 'Gltransaction/journalPosting', '0.022001028060913', '2015-05-26 17:11:38'),
(6920, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''64'', ''2015'', ''1'', ''0'', ''2050'', -2050, ''2'', ''2015-05-26: 11:05:38'')', 'Gltransaction/journalPosting', '0.01400089263916', '2015-05-26 17:11:38'),
(6921, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0020010471343994', '2015-05-26 17:11:38'),
(6922, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:38'),
(6923, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''71'', ''2015'', ''1'', ''38'', ''0'', 38, ''2'', ''2015-05-26: 11:05:38'')', 'Gltransaction/journalPosting', '0.010999917984009', '2015-05-26 17:11:38'),
(6924, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''33'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:38'),
(6925, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.015000104904175', '2015-05-26 17:11:38'),
(6926, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''195''', 'Gltransaction/journalPosting', '0.01200008392334', '2015-05-26 17:11:39'),
(6927, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000040''', 'Gltransaction/journalPosting', '0.0020008087158203', '2015-05-26 17:11:39'),
(6928, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6929, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6930, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6931, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''71'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0079998970031738', '2015-05-26 17:11:39'),
(6932, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''33'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6933, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0080010890960693', '2015-05-26 17:11:39'),
(6934, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''196''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6935, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000041''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-26 17:11:39'),
(6936, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-26 17:11:39');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6937, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-26 17:11:39'),
(6938, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-26 17:11:39'),
(6939, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-26 17:11:39'),
(6940, 2, 2, '::1', 'insert', 'INSERT INTO `supplier` (`companyID`, `supplierCode`, `supplierCompanyNo`, `supplierName`, `attention`, `line1`, `line2`, `line3`, `city`, `supplierPostCode`, `email`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `generalNote`, `gstRegNo`, `termsID`, `supplierCountryID`, `supplierStateID`, `linkedAPAccountID`, `currencyID`, `creditLimitAlert`, `creditLimit`, `createdDate`) VALUES (''2'', ''RHB'', ''6171-M'', ''RHB BANK BERHAD'', '''', ''14-16, Ipoh Road, Chow Kit,'', '' 50350 Kuala Lumpur, '', ''Federal Territory of Kuala Lumpur, Malaysia'', ''KUALA LUMPUR'', ''50350'', '''', '''', '''', '''', '''', '''', ''000178266112'', ''0'', ''458'', ''1933'', ''36'', ''1'', 0, '''', ''2015-05-27'')', 'supplier/SupplierNew', '0.10500597953796', '2015-05-27 09:56:33'),
(6941, 2, 2, '::1', 'insert', 'INSERT INTO `supplier` (`companyID`, `supplierCode`, `supplierCompanyNo`, `supplierName`, `attention`, `line1`, `line2`, `line3`, `city`, `supplierPostCode`, `email`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `generalNote`, `gstRegNo`, `termsID`, `supplierCountryID`, `supplierStateID`, `linkedAPAccountID`, `currencyID`, `creditLimitAlert`, `creditLimit`, `createdDate`) VALUES (''2'', ''RHB'', ''6171-M'', ''RHB BANK BERHAD'', '''', ''14-16, Ipoh Road, Chow Kit,'', '' 50350 Kuala Lumpur, '', ''Federal Territory of Kuala Lumpur, Malaysia'', ''KUALA LUMPUR'', ''50350'', '''', '''', '''', '''', '''', '''', ''000178266112'', ''0'', ''458'', ''1933'', ''36'', ''1'', 0, '''', ''2015-05-27'')', 'supplier/SupplierNew', '0.022001028060913', '2015-05-27 10:02:04'),
(6942, 2, 2, '::1', 'update', 'UPDATE `supplier` SET `is_delete` = ''1'' WHERE `ID` =  ''11''', 'supplier/suppliermaster_delete', '0.0010001659393311', '2015-05-27 10:04:40'),
(6943, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-04-28'', ''BDS08610025113150428100157'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.096004962921143', '2015-05-27 10:08:16'),
(6944, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (27, ''2'', ''66'', ''1'', ''LEVY x 20 INDO'', ''29000'', ''0'', ''23'', ''0'', ''29000'')', 'purchasetransaction/saveCharge', '0.085005044937134', '2015-05-27 10:08:16'),
(6945, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''29000'' WHERE `ID` =  27', 'purchasetransaction/saveCharge', '0.021000862121582', '2015-05-27 10:08:16'),
(6946, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =27', 'purchasetransaction/saveCharge', '0.042003154754639', '2015-05-27 10:08:16'),
(6947, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''27'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.016001224517822', '2015-05-27 10:12:24'),
(6948, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''29002.65'' WHERE `ID` =  ''27''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 10:12:24'),
(6949, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =27', 'purchasetransaction/saveChargeDetailOnly', '0.015000820159912', '2015-05-27 10:12:24'),
(6950, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''27'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.013000011444092', '2015-05-27 10:18:09'),
(6951, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''29002.800000000003'' WHERE `ID` =  ''27''', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 10:18:09'),
(6952, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =27', 'purchasetransaction/saveChargeDetailOnly', '0.011999845504761', '2015-05-27 10:18:09'),
(6953, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''27'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.015000104904175', '2015-05-27 10:19:12'),
(6954, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  ''4''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 10:19:12'),
(6955, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000042'' WHERE `ID` =  ''27''', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-05-27 10:19:12'),
(6956, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000042'', ''PI2015[00000009]'', ''Purchase Invoice Confirm [ PI2015[00000009] ]'', ''3'', ''2015-04-28'', ''2015'', ''1'', 29002.8, 29002.8, ''2'')', 'Aptransaction/invoicePosting', '0.070003986358643', '2015-05-27 10:19:12'),
(6957, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000042'', 1, ''LEVY x 20 INDO'', ''36'', ''RHB BANK BERHAD'', 29000, ''1'', ''1'', ''29000'', ''1'', ''2015'', ''1'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075004100799561', '2015-05-27 10:19:12'),
(6958, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000042'', ''LEVY x 20 INDO'', ''66'', ''RHB BANK BERHAD'', 29000, ''1'', ''1'', ''29000'', ''1'', ''2015'', ''1'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-05-27 10:19:12'),
(6959, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000042'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''1'', ''2015'', ''2'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 10:19:12'),
(6960, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000042'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''1'', ''2015'', ''2'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 10:19:12'),
(6961, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150100000042'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''1'', ''2015'', ''2'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052003145217896', '2015-05-27 10:19:12'),
(6962, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150100000042'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''1'', ''2015'', ''2'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 10:19:12'),
(6963, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000042'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''1'', ''2015'', ''3'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 10:19:12'),
(6964, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150100000042'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''1'', ''2015'', ''3'', ''PI2015[00000009]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 10:19:12'),
(6965, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 29002.8, `total_amount_cr` = 29002.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000042''', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 10:19:12'),
(6966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''29002.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-04-28'', '''', 0, '''', '''', ''0.00'', ''29002.80'', ''29002.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.071003913879395', '2015-05-27 10:21:50'),
(6967, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 12,1,ID,totalAmount, totalPayable  ,0.00,29002.8,2 from comp_supplier_invoice where ID=27', 'aptransaction/saveSupplierPayment', '0.038003206253052', '2015-05-27 10:21:50'),
(6968, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 29002.8, totalPayable = totalAmount - amountPaid  where ID = 27', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 10:21:50'),
(6969, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''12''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 10:22:12'),
(6970, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  ''4''', 'aptransaction/paymentPosting', '0.021000862121582', '2015-05-27 10:22:12'),
(6971, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150100000043'' WHERE `ID` =  ''12''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 10:22:12'),
(6972, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000043'', ''PP20150527[00000007]'', ''Payment [ PP20150527[00000007] ]'', ''3'', ''2015-04-28'', ''2015'', ''1'', 29002.8, 29002.8, ''2'')', 'aptransaction/paymentPosting', '0.024002075195312', '2015-05-27 10:22:12'),
(6973, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150100000043'', 1, ''PI2015[00000009]'', ''0'', ''RHB BANK BERHAD'', 29002.8, ''1'', ''1'', ''29002.8'', ''1'', ''2015'', ''1'', ''PP20150527[00000012]'', ''2'')', 'aptransaction/paymentPosting', '0.025001049041748', '2015-05-27 10:22:12'),
(6974, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150100000043'', ''PI2015[00000009]'', ''36'', ''RHB BANK BERHAD'', 29002.8, ''1'', ''1'', ''29002.8'', ''1'', ''2015'', ''PP20150527[00000012]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0019998550415039', '2015-05-27 10:22:12'),
(6975, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 29002.8, `total_amount_cr` = 29002.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000043''', 'aptransaction/paymentPosting', '0.022001981735229', '2015-05-27 10:22:12'),
(6976, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''197''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 10:22:30'),
(6977, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000042''', 'Gltransaction/journalPosting', '0.036001920700073', '2015-05-27 10:22:30'),
(6978, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052003145217896', '2015-05-27 10:22:31'),
(6979, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.067003965377808', '2015-05-27 10:22:31'),
(6980, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 10:22:31'),
(6981, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 10:22:31'),
(6982, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.058004140853882', '2015-05-27 10:22:31'),
(6983, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 10:22:31'),
(6984, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 10:22:31'),
(6985, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 10:22:31'),
(6986, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''198''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 10:22:31'),
(6987, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000043''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 10:22:31'),
(6988, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 10:22:31'),
(6989, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-05-27 10:22:31'),
(6990, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS086013120138150505162652 / BDS086013120101150505150609 / BDS08601312099150505150328 / BDS08601312097150505150057 / BDS08601312093150505145437 / BDS086013120103150505150915 '', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.12800717353821', '2015-05-27 11:00:13'),
(6991, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (28, ''2'', ''66'', ''1'', ''LEVY'', ''2050'', ''0'', ''23'', ''0'', ''2050'')', 'purchasetransaction/saveCharge', '0.05600380897522', '2015-05-27 11:00:13'),
(6992, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2050'' WHERE `ID` =  28', 'purchasetransaction/saveCharge', '0.032001972198486', '2015-05-27 11:00:13'),
(6993, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveCharge', '0.0090000629425049', '2015-05-27 11:00:13'),
(6994, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''2'', ''2'', ''66'', ''LEVY'', ''7250'', ''23'', ''0'', ''0'', ''7250'')', 'purchasetransaction/saveChargeDetailOnly', '0.0260009765625', '2015-05-27 11:00:46'),
(6995, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''9300'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.028002023696899', '2015-05-27 11:00:46'),
(6996, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.042001962661743', '2015-05-27 11:00:46'),
(6997, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''3'', ''2'', ''66'', ''LEVY'', ''4350'', ''23'', ''0'', ''0'', ''4350'')', 'purchasetransaction/saveChargeDetailOnly', '0.039001941680908', '2015-05-27 11:01:14'),
(6998, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''13650'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:01:14'),
(6999, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 11:01:14'),
(7000, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''4'', ''2'', ''66'', ''LEVY'', ''2905'', ''23'', ''0'', ''0'', ''2905'')', 'purchasetransaction/saveChargeDetailOnly', '0.010001182556152', '2015-05-27 11:01:47'),
(7001, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''16555'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 11:01:47'),
(7002, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:01:47'),
(7003, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''5'', ''2'', ''66'', ''LEVY'', ''1450'', ''23'', ''0'', ''0'', ''1450'')', 'purchasetransaction/saveChargeDetailOnly', '0.013000965118408', '2015-05-27 11:02:32'),
(7004, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''18005'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:02:32'),
(7005, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:02:32'),
(7006, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''6'', ''2'', ''66'', ''LEVY'', ''20300'', ''23'', ''0'', ''0'', ''20300'')', 'purchasetransaction/saveChargeDetailOnly', '0.010001182556152', '2015-05-27 11:03:01'),
(7007, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''38305'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:03:01'),
(7008, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.012001037597656', '2015-05-27 11:03:01'),
(7009, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''7'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''15'', ''15'', ''6'', ''0.9'', ''15.9'')', 'purchasetransaction/saveChargeDetailOnly', '0.011000156402588', '2015-05-27 11:03:45'),
(7010, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''38320.9'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:03:45'),
(7011, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.012001037597656', '2015-05-27 11:03:45'),
(7012, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''28'', ''8'', ''2'', ''114'', ''STAMP DUTY'', ''0.9'', ''23'', ''0'', ''0'', ''0.9'')', 'purchasetransaction/saveChargeDetailOnly', '0.018000841140747', '2015-05-27 11:04:30'),
(7013, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''38321.8'' WHERE `ID` =  ''28''', 'purchasetransaction/saveChargeDetailOnly', '0.044003009796143', '2015-05-27 11:04:30'),
(7014, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 11:04:30'),
(7015, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `projectID` = '''', `termsID` = ''9'', `invoiceDate` = ''2015-05-05'', `memo` = '''', `supplierInvoiceNo` = ''BDS086013120138150505162652 / BD'' WHERE `ID` =  ''28''', 'purchasetransaction/update_purchaseInvoice_header', '0', '2015-05-27 11:05:22'),
(7016, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''18021.800000000003'' WHERE `ID` =  ''28''', 'purchasetransaction/deleteCharge', '0.0010001659393311', '2015-05-27 11:14:38'),
(7017, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''16571.800000000003'' WHERE `ID` =  ''28''', 'purchasetransaction/deleteCharge', '0.018001079559326', '2015-05-27 11:14:41'),
(7018, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''13666.8'' WHERE `ID` =  ''28''', 'purchasetransaction/deleteCharge', '0.0069999694824219', '2015-05-27 11:14:44'),
(7019, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''9316.8'' WHERE `ID` =  ''28''', 'purchasetransaction/deleteCharge', '0.010000944137573', '2015-05-27 11:14:47'),
(7020, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''2066.8'' WHERE `ID` =  ''28''', 'purchasetransaction/deleteCharge', '0.01400089263916', '2015-05-27 11:14:50'),
(7021, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''66'', `chargeDescription` = ''LEVY'', `amountExcludedTax` = ''20300'', `taxID` = ''23'', `taxRate` = ''0'', `taxAmount` = ''0'', `amountIncludedTax` = ''20300'' WHERE `ID` =  ''35''', 'purchasetransaction/updateCharge', '0.024001836776733', '2015-05-27 11:15:23'),
(7022, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''20316.800000000003'' WHERE `ID` =  ''28''', 'purchasetransaction/updateCharge', '0.029000997543335', '2015-05-27 11:15:23'),
(7023, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''20,316.80'' WHERE `ID` =  ''28''', 'purchasetransaction/updateInvoice', '0.0010001659393311', '2015-05-27 11:15:23'),
(7024, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''114'', `chargeDescription` = ''COMMISSION & SERVICE CHARGE'', `amountExcludedTax` = ''2.5'', `taxID` = ''15'', `taxRate` = ''6'', `taxAmount` = ''0.15'', `amountIncludedTax` = ''2.65'' WHERE `ID` =  ''41''', 'purchasetransaction/updateCharge', '0.0010001659393311', '2015-05-27 11:15:46'),
(7025, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''20303.550000000003'' WHERE `ID` =  ''28''', 'purchasetransaction/updateCharge', '0.016000986099243', '2015-05-27 11:15:46'),
(7026, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''20,303.55'' WHERE `ID` =  ''28''', 'purchasetransaction/updateInvoice', '0.0010001659393311', '2015-05-27 11:15:46'),
(7027, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''114'', `chargeDescription` = ''STAMP DUTY'', `amountExcludedTax` = ''0.15'', `taxID` = ''23'', `taxRate` = ''0'', `taxAmount` = ''0'', `amountIncludedTax` = ''0.15'' WHERE `ID` =  ''42''', 'purchasetransaction/updateCharge', '0.0010008811950684', '2015-05-27 11:16:03'),
(7028, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''20302.800000000003'' WHERE `ID` =  ''28''', 'purchasetransaction/updateCharge', '0.00099992752075195', '2015-05-27 11:16:03'),
(7029, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''20,302.80'' WHERE `ID` =  ''28''', 'purchasetransaction/updateInvoice', '0.0010001659393311', '2015-05-27 11:16:03'),
(7030, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS086013120101150505150609'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.013001203536987', '2015-05-27 11:19:35'),
(7031, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (29, ''2'', ''66'', ''1'', ''LEVY'', ''1450'', ''0'', ''23'', ''0'', ''1450'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:19:35'),
(7032, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  29', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:19:35'),
(7033, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =29', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:19:35'),
(7034, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''29'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.011001110076904', '2015-05-27 11:19:59'),
(7035, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1452.65'' WHERE `ID` =  ''29''', 'purchasetransaction/saveChargeDetailOnly', '0.012000799179077', '2015-05-27 11:19:59'),
(7036, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =29', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 11:19:59'),
(7037, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''29'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.013999938964844', '2015-05-27 11:20:23'),
(7038, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1452.8000000000002'' WHERE `ID` =  ''29''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:20:23'),
(7039, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =29', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 11:20:23'),
(7040, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS08601312099150505150328'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.0260009765625', '2015-05-27 11:22:36'),
(7041, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (30, ''2'', ''66'', ''1'', ''LEVY'', ''2905'', ''0'', ''23'', ''0'', ''2905'')', 'purchasetransaction/saveCharge', '0.0010011196136475', '2015-05-27 11:22:36'),
(7042, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2905'' WHERE `ID` =  30', 'purchasetransaction/saveCharge', '0.017000913619995', '2015-05-27 11:22:36'),
(7043, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =30', 'purchasetransaction/saveCharge', '0.0079998970031738', '2015-05-27 11:22:36'),
(7044, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''30'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.0080008506774902', '2015-05-27 11:23:01'),
(7045, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2907.65'' WHERE `ID` =  ''30''', 'purchasetransaction/saveChargeDetailOnly', '0.013999938964844', '2015-05-27 11:23:01'),
(7046, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =30', 'purchasetransaction/saveChargeDetailOnly', '0.0070009231567383', '2015-05-27 11:23:01'),
(7047, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''30'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.017001152038574', '2015-05-27 11:23:33'),
(7048, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2907.8'' WHERE `ID` =  ''30''', 'purchasetransaction/saveChargeDetailOnly', '0.03200101852417', '2015-05-27 11:23:33'),
(7049, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =30', 'purchasetransaction/saveChargeDetailOnly', '0.0010008811950684', '2015-05-27 11:23:33'),
(7050, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS08601312097150505150057'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.015000104904175', '2015-05-27 11:26:00'),
(7051, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (31, ''2'', ''66'', ''1'', ''LEVY'', ''4350'', ''0'', ''23'', ''0'', ''4350'')', 'purchasetransaction/saveCharge', '0.0010008811950684', '2015-05-27 11:26:00'),
(7052, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''4350'' WHERE `ID` =  31', 'purchasetransaction/saveCharge', '0', '2015-05-27 11:26:00'),
(7053, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =31', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:26:00'),
(7054, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''31'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.012001037597656', '2015-05-27 11:26:25'),
(7055, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''4352.65'' WHERE `ID` =  ''31''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 11:26:25'),
(7056, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =31', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:26:25'),
(7057, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''31'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.010000944137573', '2015-05-27 11:27:11'),
(7058, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''4352.799999999999'' WHERE `ID` =  ''31''', 'purchasetransaction/saveChargeDetailOnly', '0.0070011615753174', '2015-05-27 11:27:11'),
(7059, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =31', 'purchasetransaction/saveChargeDetailOnly', '0.014999866485596', '2015-05-27 11:27:11'),
(7060, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS08601312093150505145437'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.044002056121826', '2015-05-27 11:29:02'),
(7061, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (32, ''2'', ''66'', ''1'', ''LEVY'', ''7250'', ''0'', ''23'', ''0'', ''7250'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:29:02'),
(7062, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''7250'' WHERE `ID` =  32', 'purchasetransaction/saveCharge', '0.02000093460083', '2015-05-27 11:29:02'),
(7063, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =32', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:29:02'),
(7064, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''32'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.011001110076904', '2015-05-27 11:29:26'),
(7065, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''7252.65'' WHERE `ID` =  ''32''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:29:26'),
(7066, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =32', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 11:29:26'),
(7067, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''32'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.012000799179077', '2015-05-27 11:29:54'),
(7068, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''7252.799999999999'' WHERE `ID` =  ''32''', 'purchasetransaction/saveChargeDetailOnly', '0.013000011444092', '2015-05-27 11:29:54'),
(7069, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =32', 'purchasetransaction/saveChargeDetailOnly', '0.0040011405944824', '2015-05-27 11:29:54'),
(7070, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-05'', ''BDS086013120103150505150915'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.04600191116333', '2015-05-27 11:32:12'),
(7071, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (33, ''2'', ''66'', ''1'', ''LEVY'', ''2050'', ''0'', ''23'', ''0'', ''2050'')', 'purchasetransaction/saveCharge', '0.016000986099243', '2015-05-27 11:32:12'),
(7072, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2050'' WHERE `ID` =  33', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:32:12'),
(7073, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =33', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 11:32:12'),
(7074, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''33'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.0090000629425049', '2015-05-27 11:32:44'),
(7075, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2052.65'' WHERE `ID` =  ''33''', 'purchasetransaction/saveChargeDetailOnly', '0.0010011196136475', '2015-05-27 11:32:44'),
(7076, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =33', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:32:44'),
(7077, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''33'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.011000871658325', '2015-05-27 11:33:10'),
(7078, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2052.8'' WHERE `ID` =  ''33''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:33:10'),
(7079, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =33', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 11:33:10'),
(7080, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''28'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.021001100540161', '2015-05-27 11:37:15');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7081, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7082, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000014'' WHERE `ID` =  ''28''', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 11:37:15'),
(7083, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000014'', ''PI2015[00000010]'', ''Purchase Invoice Confirm [ PI2015[00000010] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 20302.8, 20302.8, ''2'')', 'Aptransaction/invoicePosting', '0.04600191116333', '2015-05-27 11:37:15'),
(7084, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000014'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 20300, ''1'', ''1'', ''20300'', ''2'', ''2015'', ''1'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0260009765625', '2015-05-27 11:37:15'),
(7085, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000014'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 20300, ''1'', ''1'', ''20300'', ''2'', ''2015'', ''1'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.015001058578491', '2015-05-27 11:37:15'),
(7086, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000014'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''7'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7087, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000014'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''7'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7088, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000014'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''7'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7089, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000014'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''7'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010011196136475', '2015-05-27 11:37:15'),
(7090, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000014'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''8'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 11:37:15'),
(7091, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000014'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''8'', ''PI2015[00000010]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7092, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 20302.8, `total_amount_cr` = 20302.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000014''', 'Aptransaction/invoicePosting', '0', '2015-05-27 11:37:15'),
(7093, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''29'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7094, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0', '2015-05-27 11:37:15'),
(7095, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000015'' WHERE `ID` =  ''29''', 'Aptransaction/invoicePosting', '0.014999866485596', '2015-05-27 11:37:15'),
(7096, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000015'', ''PI2015[00000011]'', ''Purchase Invoice Confirm [ PI2015[00000011] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 1452.8, 1452.8, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7097, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000015'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 11:37:15'),
(7098, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000015'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7099, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000015'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7100, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000015'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7101, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000015'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7102, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000015'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 11:37:15'),
(7103, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000015'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7104, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000015'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000011]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-27 11:37:15'),
(7105, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1452.8, `total_amount_cr` = 1452.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000015''', 'Aptransaction/invoicePosting', '0.0010011196136475', '2015-05-27 11:37:15'),
(7106, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''30'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.024001121520996', '2015-05-27 11:37:15'),
(7107, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0040009021759033', '2015-05-27 11:37:15'),
(7108, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000016'' WHERE `ID` =  ''30''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7109, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000016'', ''PI2015[00000012]'', ''Purchase Invoice Confirm [ PI2015[00000012] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 2907.8, 2907.8, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 11:37:15'),
(7110, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000016'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 2905, ''1'', ''1'', ''2905'', ''2'', ''2015'', ''1'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7111, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000016'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 2905, ''1'', ''1'', ''2905'', ''2'', ''2015'', ''1'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7112, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000016'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7113, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000016'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7114, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000016'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7115, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000016'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.019001960754395', '2015-05-27 11:37:15'),
(7116, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000016'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7117, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000016'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000012]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7118, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2907.8, `total_amount_cr` = 2907.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000016''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7119, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''31'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.013001203536987', '2015-05-27 11:37:15'),
(7120, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7121, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000017'' WHERE `ID` =  ''31''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7122, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000017'', ''PI2015[00000013]'', ''Purchase Invoice Confirm [ PI2015[00000013] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 4352.8, 4352.8, ''2'')', 'Aptransaction/invoicePosting', '0.007000207901001', '2015-05-27 11:37:15'),
(7123, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000017'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 4350, ''1'', ''1'', ''4350'', ''2'', ''2015'', ''1'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7124, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000017'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 4350, ''1'', ''1'', ''4350'', ''2'', ''2015'', ''1'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7125, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000017'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7126, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000017'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7127, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000017'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-05-27 11:37:15'),
(7128, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000017'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7129, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000017'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0', '2015-05-27 11:37:15'),
(7130, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000017'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000013]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.022000789642334', '2015-05-27 11:37:15'),
(7131, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 4352.8, `total_amount_cr` = 4352.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000017''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7132, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''32'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.01400089263916', '2015-05-27 11:37:15'),
(7133, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0099999904632568', '2015-05-27 11:37:15'),
(7134, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000018'' WHERE `ID` =  ''32''', 'Aptransaction/invoicePosting', '0', '2015-05-27 11:37:15'),
(7135, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000018'', ''PI2015[00000014]'', ''Purchase Invoice Confirm [ PI2015[00000014] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 7252.8, 7252.8, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7136, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000018'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 7250, ''1'', ''1'', ''7250'', ''2'', ''2015'', ''1'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7137, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000018'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 7250, ''1'', ''1'', ''7250'', ''2'', ''2015'', ''1'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7138, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000018'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 11:37:15'),
(7139, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000018'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:15'),
(7140, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000018'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0099999904632568', '2015-05-27 11:37:16'),
(7141, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000018'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7142, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000018'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 11:37:16'),
(7143, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000018'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000014]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7144, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 7252.8, `total_amount_cr` = 7252.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000018''', 'Aptransaction/invoicePosting', '0.011000156402588', '2015-05-27 11:37:16'),
(7145, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''33'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.014001131057739', '2015-05-27 11:37:16'),
(7146, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.01400089263916', '2015-05-27 11:37:16'),
(7147, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000019'' WHERE `ID` =  ''33''', 'Aptransaction/invoicePosting', '0.041002035140991', '2015-05-27 11:37:16'),
(7148, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000019'', ''PI2015[00000015]'', ''Purchase Invoice Confirm [ PI2015[00000015] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 2052.8, 2052.8, ''2'')', 'Aptransaction/invoicePosting', '0.0020010471343994', '2015-05-27 11:37:16'),
(7149, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000019'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 2050, ''1'', ''1'', ''2050'', ''2'', ''2015'', ''1'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.01200008392334', '2015-05-27 11:37:16'),
(7150, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000019'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 2050, ''1'', ''1'', ''2050'', ''2'', ''2015'', ''1'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7151, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000019'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 11:37:16'),
(7152, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000019'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7153, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000019'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-27 11:37:16'),
(7154, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000019'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7155, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000019'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 11:37:16'),
(7156, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000019'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000015]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 11:37:16'),
(7157, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2052.8, `total_amount_cr` = 2052.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000019''', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 11:37:16'),
(7158, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''7252.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-04-30'', ''PI2015[00000014]'', 0, '''', '''', ''0.00'', ''7252.80'', ''7252.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.16901016235352', '2015-05-27 11:49:33'),
(7159, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 13,1,ID,totalAmount, totalPayable  ,0.00,7252.8,2 from comp_supplier_invoice where ID=32', 'aptransaction/saveSupplierPayment', '0.10000586509705', '2015-05-27 11:49:33'),
(7160, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 7252.8, totalPayable = totalAmount - amountPaid  where ID = 32', 'aptransaction/saveSupplierPayment', '0.015001058578491', '2015-05-27 11:49:33'),
(7161, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''4352.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-05'', ''PI2015[00000013]'', 0, '''', '''', ''0.00'', ''4352.80'', ''4352.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.017001152038574', '2015-05-27 11:55:24'),
(7162, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 14,1,ID,totalAmount, totalPayable  ,0.00,4352.8,2 from comp_supplier_invoice where ID=31', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 11:55:24'),
(7163, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 4352.8, totalPayable = totalAmount - amountPaid  where ID = 31', 'aptransaction/saveSupplierPayment', '0', '2015-05-27 11:55:24'),
(7164, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''14''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:56:17'),
(7165, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:56:17'),
(7166, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000020'' WHERE `ID` =  ''14''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:56:17'),
(7167, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000020'', ''PP20150527[00000009]'', ''Payment [ PP20150527[00000009] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 4352.8, 4352.8, ''2'')', 'aptransaction/paymentPosting', '0.058002948760986', '2015-05-27 11:56:17'),
(7168, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000020'', 1, ''PI2015[00000013]'', ''0'', ''RHB BANK BERHAD'', 4352.8, ''1'', ''1'', ''4352.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000014]'', ''2'')', 'aptransaction/paymentPosting', '0.042001962661743', '2015-05-27 11:56:17'),
(7169, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000020'', ''PI2015[00000013]'', ''36'', ''RHB BANK BERHAD'', 4352.8, ''1'', ''1'', ''4352.8'', ''2'', ''2015'', ''PP20150527[00000014]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:56:17'),
(7170, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 4352.8, `total_amount_cr` = 4352.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000020''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:56:17'),
(7171, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''1452.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-05'', ''PI2015[00000011]'', 0, '''', '''', ''0.00'', ''1452.80'', ''1452.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.047003030776978', '2015-05-27 11:57:58'),
(7172, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 15,1,ID,totalAmount, totalPayable  ,0.00,1452.8,2 from comp_supplier_invoice where ID=29', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 11:57:58'),
(7173, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 1452.8, totalPayable = totalAmount - amountPaid  where ID = 29', 'aptransaction/saveSupplierPayment', '0.02000093460083', '2015-05-27 11:57:58'),
(7174, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''15''', 'aptransaction/paymentPosting', '0.012001037597656', '2015-05-27 11:58:07'),
(7175, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.011000871658325', '2015-05-27 11:58:07'),
(7176, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000021'' WHERE `ID` =  ''15''', 'aptransaction/paymentPosting', '0.005000114440918', '2015-05-27 11:58:07'),
(7177, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000021'', ''PP20150527[00000010]'', ''Payment [ PP20150527[00000010] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 1452.8, 1452.8, ''2'')', 'aptransaction/paymentPosting', '0.036001920700073', '2015-05-27 11:58:07'),
(7178, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000021'', 1, ''PI2015[00000011]'', ''0'', ''RHB BANK BERHAD'', 1452.8, ''1'', ''1'', ''1452.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000015]'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 11:58:07'),
(7179, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000021'', ''PI2015[00000011]'', ''36'', ''RHB BANK BERHAD'', 1452.8, ''1'', ''1'', ''1452.8'', ''2'', ''2015'', ''PP20150527[00000015]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 11:58:07'),
(7180, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1452.8, `total_amount_cr` = 1452.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000021''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:58:07'),
(7181, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''2907.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-05'', ''PI2015[00000012]'', 0, '''', '''', ''0.00'', ''2907.80'', ''2907.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.019001007080078', '2015-05-27 11:59:37'),
(7182, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 16,1,ID,totalAmount, totalPayable  ,0.00,2907.8,2 from comp_supplier_invoice where ID=30', 'aptransaction/saveSupplierPayment', '0.0010008811950684', '2015-05-27 11:59:37'),
(7183, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 2907.8, totalPayable = totalAmount - amountPaid  where ID = 30', 'aptransaction/saveSupplierPayment', '0.015000104904175', '2015-05-27 11:59:37'),
(7184, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''16''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:59:42'),
(7185, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:59:42'),
(7186, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000022'' WHERE `ID` =  ''16''', 'aptransaction/paymentPosting', '0.026001930236816', '2015-05-27 11:59:42'),
(7187, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000022'', ''PP20150527[00000011]'', ''Payment [ PP20150527[00000011] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 2907.8, 2907.8, ''2'')', 'aptransaction/paymentPosting', '0.005000114440918', '2015-05-27 11:59:42'),
(7188, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000022'', 1, ''PI2015[00000012]'', ''0'', ''RHB BANK BERHAD'', 2907.8, ''1'', ''1'', ''2907.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000016]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:59:42'),
(7189, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000022'', ''PI2015[00000012]'', ''36'', ''RHB BANK BERHAD'', 2907.8, ''1'', ''1'', ''2907.8'', ''2'', ''2015'', ''PP20150527[00000016]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-27 11:59:42'),
(7190, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2907.8, `total_amount_cr` = 2907.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000022''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 11:59:42'),
(7191, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''2052.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-05'', ''PI2015[00000015]	'', 0, '''', '''', ''0.00'', ''2052.80'', ''2052.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.016000986099243', '2015-05-27 12:01:15'),
(7192, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 17,1,ID,totalAmount, totalPayable  ,0.00,2052.8,2 from comp_supplier_invoice where ID=33', 'aptransaction/saveSupplierPayment', '0.015001058578491', '2015-05-27 12:01:15'),
(7193, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 2052.8, totalPayable = totalAmount - amountPaid  where ID = 33', 'aptransaction/saveSupplierPayment', '0.016000986099243', '2015-05-27 12:01:15'),
(7194, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''17''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:01:25'),
(7195, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:01:25'),
(7196, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000023'' WHERE `ID` =  ''17''', 'aptransaction/paymentPosting', '0.013000965118408', '2015-05-27 12:01:25'),
(7197, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000023'', ''PP20150527[00000012]'', ''Payment [ PP20150527[00000012] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 2052.8, 2052.8, ''2'')', 'aptransaction/paymentPosting', '0.029001951217651', '2015-05-27 12:01:25'),
(7198, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000023'', 1, ''PI2015[00000015]'', ''0'', ''RHB BANK BERHAD'', 2052.8, ''1'', ''1'', ''2052.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000017]'', ''2'')', 'aptransaction/paymentPosting', '0.03400182723999', '2015-05-27 12:01:25'),
(7199, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000023'', ''PI2015[00000015]'', ''36'', ''RHB BANK BERHAD'', 2052.8, ''1'', ''1'', ''2052.8'', ''2'', ''2015'', ''PP20150527[00000017]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:01:25'),
(7200, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2052.8, `total_amount_cr` = 2052.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000023''', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-27 12:01:25'),
(7201, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''20302.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-05'', ''PI2015[00000010]'', 0, '''', '''', ''0.00'', ''20302.80'', ''20302.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.011000871658325', '2015-05-27 12:03:41'),
(7202, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 18,1,ID,totalAmount, totalPayable  ,0.00,20302.8,2 from comp_supplier_invoice where ID=28', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 12:03:41'),
(7203, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 20302.8, totalPayable = totalAmount - amountPaid  where ID = 28', 'aptransaction/saveSupplierPayment', '0.015001058578491', '2015-05-27 12:03:41'),
(7204, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''18''', 'aptransaction/paymentPosting', '0.017000913619995', '2015-05-27 12:03:45'),
(7205, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0090000629425049', '2015-05-27 12:03:45'),
(7206, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000024'' WHERE `ID` =  ''18''', 'aptransaction/paymentPosting', '0.011000871658325', '2015-05-27 12:03:45');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7207, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000024'', ''PP20150527[00000013]'', ''Payment [ PP20150527[00000013] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 20302.8, 20302.8, ''2'')', 'aptransaction/paymentPosting', '0.0060000419616699', '2015-05-27 12:03:45'),
(7208, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000024'', 1, ''PI2015[00000010]'', ''0'', ''RHB BANK BERHAD'', 20302.8, ''1'', ''1'', ''20302.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000018]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:03:45'),
(7209, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000024'', ''PI2015[00000010]'', ''36'', ''RHB BANK BERHAD'', 20302.8, ''1'', ''1'', ''20302.8'', ''2'', ''2015'', ''PP20150527[00000018]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 12:03:45'),
(7210, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 20302.8, `total_amount_cr` = 20302.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000024''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:03:45'),
(7211, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''199''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 12:35:44'),
(7212, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000014''', 'Gltransaction/journalPosting', '0.043003082275391', '2015-05-27 12:35:44'),
(7213, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''36'', ''2015'', ''2'', ''0'', ''20300'', -20300, ''2'', ''2015-05-27: 06:05:44'')', 'Gltransaction/journalPosting', '0.026001930236816', '2015-05-27 12:35:44'),
(7214, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0079998970031738', '2015-05-27 12:35:44'),
(7215, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0020010471343994', '2015-05-27 12:35:44'),
(7216, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''44'', ''114'', ''2015'', ''2'', ''2.5'', ''0'', 2.5, ''2'', ''2015-05-27: 06:05:44'')', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7217, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-27 12:35:44'),
(7218, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:35:44'),
(7219, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:35:44'),
(7220, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 12:35:44'),
(7221, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''200''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7222, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000015''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7223, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-05-27 12:35:44'),
(7224, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0099999904632568', '2015-05-27 12:35:44'),
(7225, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0090010166168213', '2015-05-27 12:35:44'),
(7226, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.011000871658325', '2015-05-27 12:35:44'),
(7227, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 12:35:44'),
(7228, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7229, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7230, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:44'),
(7231, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''201''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7232, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000016''', 'Gltransaction/journalPosting', '0.011999845504761', '2015-05-27 12:35:45'),
(7233, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0260009765625', '2015-05-27 12:35:45'),
(7234, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.015000820159912', '2015-05-27 12:35:45'),
(7235, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7236, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7237, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7238, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0020010471343994', '2015-05-27 12:35:45'),
(7239, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7240, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:35:45'),
(7241, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''202''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7242, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000017''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7243, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7244, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7245, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-27 12:35:45'),
(7246, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7247, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:35:45'),
(7248, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7249, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7250, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7251, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''203''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7252, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000018''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7253, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7254, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:35:45'),
(7255, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7256, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7257, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7258, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7259, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7260, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7261, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''204''', 'Gltransaction/journalPosting', '0.0069999694824219', '2015-05-27 12:35:45'),
(7262, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000019''', 'Gltransaction/journalPosting', '0.023000955581665', '2015-05-27 12:35:45'),
(7263, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7264, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7265, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7266, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7267, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7268, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7269, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-27 12:35:45'),
(7270, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7271, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''205''', 'Gltransaction/journalPosting', '0', '2015-05-27 12:35:45'),
(7272, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000020''', 'Gltransaction/journalPosting', '0', '2015-05-27 12:35:45'),
(7273, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7274, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7275, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''206''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:45'),
(7276, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000021''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:45'),
(7277, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.010000944137573', '2015-05-27 12:35:45'),
(7278, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0060000419616699', '2015-05-27 12:35:45'),
(7279, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''207''', 'Gltransaction/journalPosting', '0.014001131057739', '2015-05-27 12:35:46'),
(7280, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000022''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7281, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.010000944137573', '2015-05-27 12:35:46'),
(7282, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 12:35:46'),
(7283, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''208''', 'Gltransaction/journalPosting', '0.021000862121582', '2015-05-27 12:35:46'),
(7284, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000023''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 12:35:46'),
(7285, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7286, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7287, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''209''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7288, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000024''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7289, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 12:35:46'),
(7290, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-27 12:35:46'),
(7291, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''13''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:45:00'),
(7292, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  ''4''', 'aptransaction/paymentPosting', '0', '2015-05-27 12:45:00'),
(7293, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150100000044'' WHERE `ID` =  ''13''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:45:00'),
(7294, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150100000044'', ''PP20150527[00000008]'', ''Payment [ PP20150527[00000008] ]'', ''3'', ''2015-04-30'', ''2015'', ''1'', 7252.8, 7252.8, ''2'')', 'aptransaction/paymentPosting', '0.018001079559326', '2015-05-27 12:45:00'),
(7295, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150100000044'', 1, ''PI2015[00000014]'', ''0'', ''RHB BANK BERHAD'', 7252.8, ''1'', ''1'', ''7252.8'', ''1'', ''2015'', ''1'', ''PP20150527[00000013]'', ''2'')', 'aptransaction/paymentPosting', '0.03400182723999', '2015-05-27 12:45:00'),
(7296, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150100000044'', ''PI2015[00000014]'', ''36'', ''RHB BANK BERHAD'', 7252.8, ''1'', ''1'', ''7252.8'', ''1'', ''2015'', ''PP20150527[00000013]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 12:45:00'),
(7297, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 7252.8, `total_amount_cr` = 7252.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000044''', 'aptransaction/paymentPosting', '0.0020010471343994', '2015-05-27 12:45:00'),
(7298, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''210''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:45:22'),
(7299, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000044''', 'Gltransaction/journalPosting', '0.030001878738403', '2015-05-27 12:45:22'),
(7300, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.011001110076904', '2015-05-27 12:45:22'),
(7301, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 12:45:22'),
(7302, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-12'', ''BDS08601312015150512103549'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.10900592803955', '2015-05-27 12:49:39'),
(7303, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (34, ''2'', ''66'', ''1'', ''LEVY'', ''24650'', ''0'', ''23'', ''0'', ''24650'')', 'purchasetransaction/saveCharge', '0.024001121520996', '2015-05-27 12:49:39'),
(7304, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''24650'' WHERE `ID` =  34', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 12:49:39'),
(7305, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =34', 'purchasetransaction/saveCharge', '0.013000965118408', '2015-05-27 12:49:39'),
(7306, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''34'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.013000965118408', '2015-05-27 12:50:01'),
(7307, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''24652.65'' WHERE `ID` =  ''34''', 'purchasetransaction/saveChargeDetailOnly', '0.013000965118408', '2015-05-27 12:50:01'),
(7308, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =34', 'purchasetransaction/saveChargeDetailOnly', '0.0099999904632568', '2015-05-27 12:50:01');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7309, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''34'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.021001100540161', '2015-05-27 12:50:56'),
(7310, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''24652.800000000003'' WHERE `ID` =  ''34''', 'purchasetransaction/saveChargeDetailOnly', '0.0010008811950684', '2015-05-27 12:50:56'),
(7311, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =34', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 12:50:56'),
(7312, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''114'', `chargeDescription` = ''COMMISSION & SERVICE CHARGE'', `amountExcludedTax` = ''2.5'', `taxID` = ''15'', `taxRate` = ''6'', `taxAmount` = ''0.15'', `amountIncludedTax` = ''2.65'' WHERE `ID` =  ''59''', 'purchasetransaction/updateCharge', '0.0019998550415039', '2015-05-27 12:53:18'),
(7313, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''24652.800000000003'' WHERE `ID` =  ''34''', 'purchasetransaction/updateCharge', '0.022001028060913', '2015-05-27 12:53:18'),
(7314, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''24,652.80'' WHERE `ID` =  ''34''', 'purchasetransaction/updateInvoice', '0.00099992752075195', '2015-05-27 12:53:19'),
(7315, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''114'', `chargeDescription` = ''COMMISSION & SERVICE CHARGE'', `amountExcludedTax` = ''3'', `taxID` = ''15'', `taxRate` = ''6'', `taxAmount` = ''0.18'', `amountIncludedTax` = ''3.18'' WHERE `ID` =  ''59''', 'purchasetransaction/updateCharge', '0.00099992752075195', '2015-05-27 12:53:51'),
(7316, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.18'', `totalAmount` = ''24653.33'' WHERE `ID` =  ''34''', 'purchasetransaction/updateCharge', '0.0010001659393311', '2015-05-27 12:53:51'),
(7317, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''24,653.33'' WHERE `ID` =  ''34''', 'purchasetransaction/updateInvoice', '0.0019998550415039', '2015-05-27 12:53:51'),
(7318, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''34'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7319, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7320, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000025'' WHERE `ID` =  ''34''', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 12:54:43'),
(7321, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000025'', ''PI2015[00000016]'', ''Purchase Invoice Confirm [ PI2015[00000016] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 24653.33, 24653.33, ''2'')', 'Aptransaction/invoicePosting', '0.01400089263916', '2015-05-27 12:54:43'),
(7322, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000025'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 24650, ''1'', ''1'', ''24650'', ''2'', ''2015'', ''1'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043002128601074', '2015-05-27 12:54:43'),
(7323, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000025'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 24650, ''1'', ''1'', ''24650'', ''2'', ''2015'', ''1'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7324, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000025'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7325, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000025'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 12:54:43'),
(7326, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000025'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0020008087158203', '2015-05-27 12:54:43'),
(7327, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000025'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 12:54:43'),
(7328, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000025'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7329, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000025'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000016]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 12:54:43'),
(7330, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 24653.33, `total_amount_cr` = 24653.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000025''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:54:43'),
(7331, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-12'', ''BDS08601312017150512103836'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.016000986099243', '2015-05-27 12:56:35'),
(7332, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (35, ''2'', ''66'', ''1'', ''LEVY'', ''8700'', ''0'', ''23'', ''0'', ''8700'')', 'purchasetransaction/saveCharge', '0', '2015-05-27 12:56:35'),
(7333, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''8700'' WHERE `ID` =  35', 'purchasetransaction/saveCharge', '0.036001920700073', '2015-05-27 12:56:35'),
(7334, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =35', 'purchasetransaction/saveCharge', '0.059003114700317', '2015-05-27 12:56:35'),
(7335, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''35'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''3'', ''15'', ''6'', ''0.18'', ''3.18'')', 'purchasetransaction/saveChargeDetailOnly', '0.010001182556152', '2015-05-27 12:56:54'),
(7336, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.18'', `totalAmount` = ''8703.18'' WHERE `ID` =  ''35''', 'purchasetransaction/saveChargeDetailOnly', '0.0080010890960693', '2015-05-27 12:56:54'),
(7337, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =35', 'purchasetransaction/saveChargeDetailOnly', '0.010999917984009', '2015-05-27 12:56:54'),
(7338, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''35'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.020001173019409', '2015-05-27 12:57:18'),
(7339, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.18'', `totalAmount` = ''8703.33'' WHERE `ID` =  ''35''', 'purchasetransaction/saveChargeDetailOnly', '0.047003030776978', '2015-05-27 12:57:18'),
(7340, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =35', 'purchasetransaction/saveChargeDetailOnly', '0.0099999904632568', '2015-05-27 12:57:18'),
(7341, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''35'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.035001993179321', '2015-05-27 12:57:55'),
(7342, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.011000156402588', '2015-05-27 12:57:55'),
(7343, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000026'' WHERE `ID` =  ''35''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-05-27 12:57:55'),
(7344, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000026'', ''PI2015[00000017]'', ''Purchase Invoice Confirm [ PI2015[00000017] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 8703.33, 8703.33, ''2'')', 'Aptransaction/invoicePosting', '0.0039999485015869', '2015-05-27 12:57:55'),
(7345, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000026'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 8700, ''1'', ''1'', ''8700'', ''2'', ''2015'', ''1'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0020010471343994', '2015-05-27 12:57:55'),
(7346, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000026'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 8700, ''1'', ''1'', ''8700'', ''2'', ''2015'', ''1'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 12:57:55'),
(7347, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000026'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0', '2015-05-27 12:57:55'),
(7348, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000026'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 12:57:55'),
(7349, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000026'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-27 12:57:55'),
(7350, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000026'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:57:55'),
(7351, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000026'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:57:55'),
(7352, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000026'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000017]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:57:55'),
(7353, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8703.33, `total_amount_cr` = 8703.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000026''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 12:57:55'),
(7354, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''24653.33'', ''69'', ''PP20150527'', '''', ''1'', ''1.00000'', ''2015-05-27'', '''', 0, '''', '''', ''0.00'', ''24653.33'', ''24653.33'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.13000702857971', '2015-05-27 12:58:53'),
(7355, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 19,1,ID,totalAmount, totalPayable  ,0.00,24653.33,2 from comp_supplier_invoice where ID=34', 'aptransaction/saveSupplierPayment', '0.044002771377563', '2015-05-27 12:58:53'),
(7356, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 24653.33, totalPayable = totalAmount - amountPaid  where ID = 34', 'aptransaction/saveSupplierPayment', '0.016001224517822', '2015-05-27 12:58:53'),
(7357, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''8703.33'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-12'', ''PI2015[00000017]'', 0, '''', '''', ''0.00'', ''8703.33'', ''8703.33'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.011001110076904', '2015-05-27 13:00:35'),
(7358, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 20,1,ID,totalAmount, totalPayable  ,0.00,8703.33,2 from comp_supplier_invoice where ID=35', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 13:00:35'),
(7359, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 8703.33, totalPayable = totalAmount - amountPaid  where ID = 35', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-05-27 13:00:35'),
(7360, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''19''', 'aptransaction/paymentPosting', '0.031000852584839', '2015-05-27 13:00:50'),
(7361, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-27 13:00:50'),
(7362, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000027'' WHERE `ID` =  ''19''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:50'),
(7363, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000027'', ''PP20150527[00000014]'', ''Payment [ PP20150527[00000014] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 24653.33, 24653.33, ''2'')', 'aptransaction/paymentPosting', '0.020001173019409', '2015-05-27 13:00:50'),
(7364, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000027'', 1, ''PI2015[00000016]'', NULL, ''RHB BANK BERHAD'', 24653.33, ''1'', ''1'', ''24653.33'', ''2'', ''2015'', ''1'', ''PP20150527[00000019]'', ''2'')', 'aptransaction/paymentPosting', '0.038002967834473', '2015-05-27 13:00:50'),
(7365, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000027'', ''PI2015[00000016]'', ''36'', ''RHB BANK BERHAD'', 24653.33, ''1'', ''1'', ''24653.33'', ''2'', ''2015'', ''PP20150527[00000019]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:50'),
(7366, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 24653.33, `total_amount_cr` = 24653.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000027''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:50'),
(7367, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''20''', 'aptransaction/paymentPosting', '0.016000986099243', '2015-05-27 13:00:51'),
(7368, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:51'),
(7369, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000028'' WHERE `ID` =  ''20''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 13:00:51'),
(7370, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000028'', ''PP20150527[00000015]'', ''Payment [ PP20150527[00000015] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 8703.33, 8703.33, ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:51'),
(7371, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000028'', 1, ''PI2015[00000017]'', ''0'', ''RHB BANK BERHAD'', 8703.33, ''1'', ''1'', ''8703.33'', ''2'', ''2015'', ''1'', ''PP20150527[00000020]'', ''2'')', 'aptransaction/paymentPosting', '0.0030009746551514', '2015-05-27 13:00:51'),
(7372, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000028'', ''PI2015[00000017]'', ''36'', ''RHB BANK BERHAD'', 8703.33, ''1'', ''1'', ''8703.33'', ''2'', ''2015'', ''PP20150527[00000020]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0080001354217529', '2015-05-27 13:00:51'),
(7373, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8703.33, `total_amount_cr` = 8703.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000028''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:00:51'),
(7374, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''211''', 'Gltransaction/journalPosting', '0.024002075195312', '2015-05-27 13:01:34'),
(7375, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000025''', 'Gltransaction/journalPosting', '0.021000862121582', '2015-05-27 13:01:34'),
(7376, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.018000841140747', '2015-05-27 13:01:34'),
(7377, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.018000841140747', '2015-05-27 13:01:34'),
(7378, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-05-27 13:01:34'),
(7379, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-05-27 13:01:34'),
(7380, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.01200008392334', '2015-05-27 13:01:34'),
(7381, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0040011405944824', '2015-05-27 13:01:34'),
(7382, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.043002128601074', '2015-05-27 13:01:34'),
(7383, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-27 13:01:34'),
(7384, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''212''', 'Gltransaction/journalPosting', '0', '2015-05-27 13:01:34'),
(7385, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000026''', 'Gltransaction/journalPosting', '0.015000820159912', '2015-05-27 13:01:34'),
(7386, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7387, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7388, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 13:01:34'),
(7389, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 13:01:34'),
(7390, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7391, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 13:01:34'),
(7392, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7393, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-05-27 13:01:34'),
(7394, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''213''', 'Gltransaction/journalPosting', '0.007000207901001', '2015-05-27 13:01:34'),
(7395, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000027''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7396, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` IS NULL AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 13:01:34'),
(7397, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-27 13:01:34'),
(7398, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''214''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 13:01:34'),
(7399, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000028''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7400, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 13:01:34'),
(7401, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 13:01:34'),
(7402, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-18'', ''BDS08616594720150518101934'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.022000789642334', '2015-05-27 13:13:02'),
(7403, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (36, ''2'', ''66'', ''1'', ''LEVY'', ''13050'', ''0'', ''23'', ''0'', ''13050'')', 'purchasetransaction/saveCharge', '0.015001058578491', '2015-05-27 13:13:02'),
(7404, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''13050'' WHERE `ID` =  36', 'purchasetransaction/saveCharge', '0.01400089263916', '2015-05-27 13:13:02'),
(7405, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =36', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-05-27 13:13:02'),
(7406, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''36'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.0069999694824219', '2015-05-27 13:13:31'),
(7407, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''13052.65'' WHERE `ID` =  ''36''', 'purchasetransaction/saveChargeDetailOnly', '0.011000156402588', '2015-05-27 13:13:31'),
(7408, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =36', 'purchasetransaction/saveChargeDetailOnly', '0.0070009231567383', '2015-05-27 13:13:31'),
(7409, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''36'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.031002044677734', '2015-05-27 13:13:56'),
(7410, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''13052.8'' WHERE `ID` =  ''36''', 'purchasetransaction/saveChargeDetailOnly', '0.0080001354217529', '2015-05-27 13:13:56'),
(7411, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =36', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 13:13:56'),
(7412, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-18'', ''BDS08616594718150518101540'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.022000789642334', '2015-05-27 13:18:45'),
(7413, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (37, ''2'', ''66'', ''1'', ''LEVY'', ''11636'', ''0'', ''23'', ''0'', ''11636'')', 'purchasetransaction/saveCharge', '0.002000093460083', '2015-05-27 13:18:45'),
(7414, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''11636'' WHERE `ID` =  37', 'purchasetransaction/saveCharge', '0', '2015-05-27 13:18:45'),
(7415, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =37', 'purchasetransaction/saveCharge', '0', '2015-05-27 13:18:45'),
(7416, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''37'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.012001037597656', '2015-05-27 13:19:10'),
(7417, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''11638.65'' WHERE `ID` =  ''37''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 13:19:10'),
(7418, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =37', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 13:19:10'),
(7419, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''37'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.017000913619995', '2015-05-27 13:19:37'),
(7420, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''11638.8'' WHERE `ID` =  ''37''', 'purchasetransaction/saveChargeDetailOnly', '0.0010001659393311', '2015-05-27 13:19:37'),
(7421, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =37', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 13:19:37'),
(7422, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''36'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 13:20:10'),
(7423, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 13:20:10'),
(7424, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000029'' WHERE `ID` =  ''36''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:10'),
(7425, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000029'', ''PI2015[00000018]'', ''Purchase Invoice Confirm [ PI2015[00000018] ]'', ''3'', ''2015-05-18'', ''2015'', ''2'', 13052.8, 13052.8, ''2'')', 'Aptransaction/invoicePosting', '0.021000862121582', '2015-05-27 13:20:10'),
(7426, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000029'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 13050, ''1'', ''1'', ''13050'', ''2'', ''2015'', ''1'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038002014160156', '2015-05-27 13:20:10'),
(7427, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000029'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 13050, ''1'', ''1'', ''13050'', ''2'', ''2015'', ''1'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 13:20:10'),
(7428, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000029'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-27 13:20:10'),
(7429, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000029'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 13:20:10'),
(7430, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000029'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02000093460083', '2015-05-27 13:20:10'),
(7431, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000029'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 13:20:10'),
(7432, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000029'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:10'),
(7433, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000029'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000018]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 13:20:10');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7434, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 13052.8, `total_amount_cr` = 13052.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000029''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:10'),
(7435, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''37'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 13:20:11'),
(7436, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-05-27 13:20:11'),
(7437, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000030'' WHERE `ID` =  ''37''', 'Aptransaction/invoicePosting', '0.021001100540161', '2015-05-27 13:20:11'),
(7438, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000030'', ''PI2015[00000019]'', ''Purchase Invoice Confirm [ PI2015[00000019] ]'', ''3'', ''2015-05-18'', ''2015'', ''2'', 11638.8, 11638.8, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7439, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000030'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 11636, ''1'', ''1'', ''11636'', ''2'', ''2015'', ''1'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7440, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000030'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 11636, ''1'', ''1'', ''11636'', ''2'', ''2015'', ''1'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7441, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000030'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7442, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000030'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''2'', ''2015'', ''2'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 13:20:11'),
(7443, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000030'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7444, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000030'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''2'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7445, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000030'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 13:20:11'),
(7446, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000030'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000019]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 13:20:11'),
(7447, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 11638.8, `total_amount_cr` = 11638.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000030''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 13:20:11'),
(7448, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''13052.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-18'', ''PI2015[00000018]'', 0, '''', '''', ''0.00'', ''13052.80'', ''13052.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.049003124237061', '2015-05-27 13:25:38'),
(7449, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 21,1,ID,totalAmount, totalPayable  ,0.00,13052.8,2 from comp_supplier_invoice where ID=36', 'aptransaction/saveSupplierPayment', '0.055002927780151', '2015-05-27 13:25:38'),
(7450, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 13052.8, totalPayable = totalAmount - amountPaid  where ID = 36', 'aptransaction/saveSupplierPayment', '0.040003061294556', '2015-05-27 13:25:38'),
(7451, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''11638.8'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-18'', ''PI2015[00000019]'', 0, '''', '''', ''0.00'', ''11638.80'', ''11638.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.021002054214478', '2015-05-27 13:27:30'),
(7452, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 22,1,ID,totalAmount, totalPayable  ,0.00,11638.8,2 from comp_supplier_invoice where ID=37', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 13:27:30'),
(7453, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 11638.8, totalPayable = totalAmount - amountPaid  where ID = 37', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-05-27 13:27:30'),
(7454, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''21''', 'aptransaction/paymentPosting', '0.016000032424927', '2015-05-27 13:27:49'),
(7455, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:27:49'),
(7456, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000031'' WHERE `ID` =  ''21''', 'aptransaction/paymentPosting', '0.032001972198486', '2015-05-27 13:27:49'),
(7457, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000031'', ''PP20150527[00000016]'', ''Payment [ PP20150527[00000016] ]'', ''3'', ''2015-05-18'', ''2015'', ''2'', 13052.8, 13052.8, ''2'')', 'aptransaction/paymentPosting', '0.026001930236816', '2015-05-27 13:27:49'),
(7458, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000031'', 1, ''PI2015[00000018]'', ''0'', ''RHB BANK BERHAD'', 13052.8, ''1'', ''1'', ''13052.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000021]'', ''2'')', 'aptransaction/paymentPosting', '0.048002004623413', '2015-05-27 13:27:49'),
(7459, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000031'', ''PI2015[00000018]'', ''36'', ''RHB BANK BERHAD'', 13052.8, ''1'', ''1'', ''13052.8'', ''2'', ''2015'', ''PP20150527[00000021]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0020008087158203', '2015-05-27 13:27:49'),
(7460, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 13052.8, `total_amount_cr` = 13052.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000031''', 'aptransaction/paymentPosting', '0.005000114440918', '2015-05-27 13:27:49'),
(7461, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''22''', 'aptransaction/paymentPosting', '0.0069999694824219', '2015-05-27 13:27:50'),
(7462, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.012001037597656', '2015-05-27 13:27:50'),
(7463, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000032'' WHERE `ID` =  ''22''', 'aptransaction/paymentPosting', '0.0060009956359863', '2015-05-27 13:27:50'),
(7464, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000032'', ''PP20150527[00000017]'', ''Payment [ PP20150527[00000017] ]'', ''3'', ''2015-05-18'', ''2015'', ''2'', 11638.8, 11638.8, ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:27:50'),
(7465, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000032'', 1, ''PI2015[00000019]'', ''0'', ''RHB BANK BERHAD'', 11638.8, ''1'', ''1'', ''11638.8'', ''2'', ''2015'', ''1'', ''PP20150527[00000022]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:27:50'),
(7466, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000032'', ''PI2015[00000019]'', ''36'', ''RHB BANK BERHAD'', 11638.8, ''1'', ''1'', ''11638.8'', ''2'', ''2015'', ''PP20150527[00000022]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 13:27:50'),
(7467, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 11638.8, `total_amount_cr` = 11638.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000032''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 13:27:50'),
(7468, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''3'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''IMM/FW/TX1432690278492'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.1360080242157', '2015-05-27 15:06:14'),
(7469, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (38, ''2'', ''66'', ''1'', ''LEVY'', ''13057'', ''0'', ''23'', ''0'', ''13057'')', 'purchasetransaction/saveCharge', '0.027000904083252', '2015-05-27 15:06:14'),
(7470, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''13057'' WHERE `ID` =  38', 'purchasetransaction/saveCharge', '0.038002014160156', '2015-05-27 15:06:14'),
(7471, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =38', 'purchasetransaction/saveCharge', '0.025001049041748', '2015-05-27 15:06:14'),
(7472, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''3'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''IMM/FW/TX1432689950666'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.032001972198486', '2015-05-27 15:16:02'),
(7473, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (39, ''2'', ''66'', ''1'', ''LEVY'', ''2900'', ''0'', ''23'', ''0'', ''2900'')', 'purchasetransaction/saveCharge', '0.089004993438721', '2015-05-27 15:16:02'),
(7474, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2900'' WHERE `ID` =  39', 'purchasetransaction/saveCharge', '0.048003196716309', '2015-05-27 15:16:02'),
(7475, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =39', 'purchasetransaction/saveCharge', '0.092005014419556', '2015-05-27 15:16:02'),
(7476, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''38'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.013000965118408', '2015-05-27 15:19:08'),
(7477, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.013000965118408', '2015-05-27 15:19:08'),
(7478, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000033'' WHERE `ID` =  ''38''', 'Aptransaction/invoicePosting', '0.013000965118408', '2015-05-27 15:19:08'),
(7479, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000033'', ''PI2015[00000020]'', ''Purchase Invoice Confirm [ PI2015[00000020] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 13057, 13057, ''2'')', 'Aptransaction/invoicePosting', '0.041002035140991', '2015-05-27 15:19:08'),
(7480, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000033'', 1, ''LEVY'', ''64'', ''MY EG SDN. BHD.'', 13057, ''1'', ''1'', ''13057'', ''2'', ''2015'', ''1'', ''PI2015[00000020]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063003063201904', '2015-05-27 15:19:08'),
(7481, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000033'', ''LEVY'', ''66'', ''MY EG SDN. BHD.'', 13057, ''1'', ''1'', ''13057'', ''2'', ''2015'', ''1'', ''PI2015[00000020]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030002117156982', '2015-05-27 15:19:08'),
(7482, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 13057, `total_amount_cr` = 13057, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000033''', 'Aptransaction/invoicePosting', '0.01400089263916', '2015-05-27 15:19:08'),
(7483, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''39'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 15:19:08'),
(7484, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.01200008392334', '2015-05-27 15:19:08'),
(7485, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000034'' WHERE `ID` =  ''39''', 'Aptransaction/invoicePosting', '0.0010008811950684', '2015-05-27 15:19:08'),
(7486, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000034'', ''PI2015[00000021]'', ''Purchase Invoice Confirm [ PI2015[00000021] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 2900, 2900, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 15:19:08'),
(7487, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000034'', 1, ''LEVY'', ''64'', ''MY EG SDN. BHD.'', 2900, ''1'', ''1'', ''2900'', ''2'', ''2015'', ''1'', ''PI2015[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-05-27 15:19:08'),
(7488, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000034'', ''LEVY'', ''66'', ''MY EG SDN. BHD.'', 2900, ''1'', ''1'', ''2900'', ''2'', ''2015'', ''1'', ''PI2015[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 15:19:08'),
(7489, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000034''', 'Aptransaction/invoicePosting', '0.011000871658325', '2015-05-27 15:19:08'),
(7490, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''3'', ''0'', ''15957'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-26'', ''PI2015[00000020] & PI2015[00000021]'', 0, '''', '''', ''0.00'', ''15957.00'', ''15957.00'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.15800881385803', '2015-05-27 15:21:09'),
(7491, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 23,1,ID,totalAmount, totalPayable  ,0.00,13057,2 from comp_supplier_invoice where ID=38', 'aptransaction/saveSupplierPayment', '0.092005968093872', '2015-05-27 15:21:09'),
(7492, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 13057, totalPayable = totalAmount - amountPaid  where ID = 38', 'aptransaction/saveSupplierPayment', '0.013000011444092', '2015-05-27 15:21:09'),
(7493, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 23,2,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=39', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-05-27 15:21:09'),
(7494, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 39', 'aptransaction/saveSupplierPayment', '0.0010011196136475', '2015-05-27 15:21:09'),
(7495, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''23''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 15:21:16'),
(7496, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0010008811950684', '2015-05-27 15:21:16'),
(7497, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000035'' WHERE `ID` =  ''23''', 'aptransaction/paymentPosting', '0.021001100540161', '2015-05-27 15:21:16'),
(7498, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000035'', ''PP20150527[00000018]'', ''Payment [ PP20150527[00000018] ]'', ''3'', ''2015-05-26'', ''2015'', ''2'', 15957, 15957, ''2'')', 'aptransaction/paymentPosting', '0.0049998760223389', '2015-05-27 15:21:16'),
(7499, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000035'', 1, ''PI2015[00000020]'', ''0'', ''MY EG SDN. BHD.'', 13057, ''1'', ''1'', ''13057'', ''2'', ''2015'', ''1'', ''PP20150527[00000023]'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 15:21:16'),
(7500, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000035'', ''PI2015[00000020]'', ''64'', ''MY EG SDN. BHD.'', 13057, ''1'', ''1'', ''13057'', ''2'', ''2015'', ''PP20150527[00000023]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010008811950684', '2015-05-27 15:21:16'),
(7501, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000035'', 3, ''PI2015[00000021]'', ''0'', ''MY EG SDN. BHD.'', 2900, ''1'', ''1'', ''2900'', ''2'', ''2015'', ''2'', ''PP20150527[00000023]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 15:21:16'),
(7502, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 4, ''AP20150200000035'', ''PI2015[00000021]'', ''64'', ''MY EG SDN. BHD.'', 2900, ''1'', ''1'', ''2900'', ''2'', ''2015'', ''PP20150527[00000023]'', ''2'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-05-27 15:21:16'),
(7503, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 15957, `total_amount_cr` = 15957, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000035''', 'aptransaction/paymentPosting', '0.0069999694824219', '2015-05-27 15:21:16'),
(7504, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''215''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-05-27 15:24:46'),
(7505, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000029''', 'Gltransaction/journalPosting', '0.016000032424927', '2015-05-27 15:24:46'),
(7506, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.06600284576416', '2015-05-27 15:24:46'),
(7507, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.019001007080078', '2015-05-27 15:24:46'),
(7508, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 15:24:46'),
(7509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0099999904632568', '2015-05-27 15:24:46'),
(7510, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.019001007080078', '2015-05-27 15:24:46'),
(7511, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 15:24:46'),
(7512, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.012001037597656', '2015-05-27 15:24:46'),
(7513, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 15:24:46'),
(7514, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''216''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 15:24:47'),
(7515, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000030''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 15:24:47'),
(7516, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7517, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7518, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7519, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.037001848220825', '2015-05-27 15:24:47'),
(7520, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.049002885818481', '2015-05-27 15:24:47'),
(7521, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7522, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 15:24:47'),
(7523, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 15:24:47'),
(7524, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''217''', 'Gltransaction/journalPosting', '0.048003196716309', '2015-05-27 15:24:47'),
(7525, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000031''', 'Gltransaction/journalPosting', '0.044003009796143', '2015-05-27 15:24:47'),
(7526, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 15:24:47'),
(7527, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-27 15:24:47'),
(7528, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''218''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 15:24:47'),
(7529, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000032''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7530, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7531, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-05-27 15:24:47'),
(7532, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''219''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:47'),
(7533, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000033''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-05-27 15:24:47'),
(7534, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.015999794006348', '2015-05-27 15:24:47'),
(7535, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-05-27 15:24:47'),
(7536, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''220''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:48'),
(7537, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000034''', 'Gltransaction/journalPosting', '0.011000156402588', '2015-05-27 15:24:48'),
(7538, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028002023696899', '2015-05-27 15:24:48'),
(7539, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.013000965118408', '2015-05-27 15:24:48'),
(7540, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''221''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 15:24:48'),
(7541, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000035''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:48'),
(7542, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:48'),
(7543, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 15:24:48'),
(7544, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 15:24:48'),
(7545, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-05-27 15:24:48'),
(7546, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''5700'', ''OPN2015'', ''2015-05-22'', ''SALARY'', ''SUHAISHIMAH SUHAIMI'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.3000168800354', '2015-05-27 15:41:13'),
(7547, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (23, ''2'', ''GAJI BULAN 5/2015'', ''1'', ''127'', ''3700'', ''3700'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.046003103256226', '2015-05-27 15:41:13'),
(7548, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (''23'', ''2'', ''2'', ''OTHERS'', ''127'', ''5700'', ''5700'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithoutItemDetailOnly', '0.0090010166168213', '2015-05-27 15:46:21'),
(7549, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (''23'', ''2'', ''3'', ''OTHERS'', ''127'', ''2000'', ''2000'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithoutItemDetailOnly', '0.012001037597656', '2015-05-27 15:47:17'),
(7550, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''1335'', ''OPN2015'', ''2015-05-22'', ''SALARY'', ''NOOR AINI MOHD ZUKI'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.031002044677734', '2015-05-27 15:50:55'),
(7551, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (24, ''2'', ''GAJI BULAN 5/2015'', ''1'', ''127'', ''1335'', ''1335'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.00099992752075195', '2015-05-27 15:50:55'),
(7552, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''1146'', ''OPN2015'', ''2015-05-22'', ''SALARY'', ''NORMA BINTI ZAKARIA'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.033001899719238', '2015-05-27 15:53:53'),
(7553, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (25, ''2'', ''GAJI BULAN 5/15'', ''1'', ''127'', ''1146'', ''1146'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.00099992752075195', '2015-05-27 15:53:53');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7554, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''25''', 'gltransaction/otherpaymentposting', '0.0080010890960693', '2015-05-27 15:55:37'),
(7555, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.023000955581665', '2015-05-27 15:55:37'),
(7556, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000036'' WHERE `ID` =  ''25''', 'gltransaction/otherpaymentposting', '0.0039999485015869', '2015-05-27 15:55:37'),
(7557, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000036'', ''Other Payment [OPN2015[00000004]]]'', ''Other Payment [OPN2015[00000004]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 1146, 1146, ''2'')', 'gltransaction/otherpaymentposting', '0.040002107620239', '2015-05-27 15:55:37'),
(7558, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000036'', 1, ''GAJI BULAN 5/15'', ''0'', 1146, 1, 1, ''1146'', ''2'', ''2015'', ''1'', ''OPN2015[00000004]'', ''2'')', 'gltransaction/otherpaymentposting', '0.049002885818481', '2015-05-27 15:55:37'),
(7559, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000036'', 2, ''GAJI BULAN 5/15'', ''127'', 1146, 1, 1, ''1146'', ''2'', ''2015'', ''1'', ''OPN2015[00000004]'', ''2'')', 'gltransaction/otherpaymentposting', '0.002000093460083', '2015-05-27 15:55:37'),
(7560, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1146, `total_amount_cr` = 1146, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000036''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7561, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''24''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7562, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 15:55:37'),
(7563, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000037'' WHERE `ID` =  ''24''', 'gltransaction/otherpaymentposting', '0', '2015-05-27 15:55:37'),
(7564, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000037'', ''Other Payment [OPN2015[00000003]]]'', ''Other Payment [OPN2015[00000003]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 1335, 1335, ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7565, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000037'', 1, ''GAJI BULAN 5/2015'', ''0'', 1335, 1, 1, ''1335'', ''2'', ''2015'', ''1'', ''OPN2015[00000003]'', ''2'')', 'gltransaction/otherpaymentposting', '0.003000020980835', '2015-05-27 15:55:37'),
(7566, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000037'', 2, ''GAJI BULAN 5/2015'', ''127'', 1335, 1, 1, ''1335'', ''2'', ''2015'', ''1'', ''OPN2015[00000003]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7567, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1335, `total_amount_cr` = 1335, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000037''', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 15:55:37'),
(7568, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''23''', 'gltransaction/otherpaymentposting', '0.01400089263916', '2015-05-27 15:55:37'),
(7569, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7570, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000038'' WHERE `ID` =  ''23''', 'gltransaction/otherpaymentposting', '0', '2015-05-27 15:55:37'),
(7571, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000038'', ''Other Payment [OPN2015[00000002]]]'', ''Other Payment [OPN2015[00000002]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 5700, 5700, ''2'')', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 15:55:37'),
(7572, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000038'', 1, ''GAJI BULAN 5/2015'', ''0'', 3700, 1, 1, ''3700'', ''2'', ''2015'', ''1'', ''OPN2015[00000002]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7573, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000038'', 2, ''GAJI BULAN 5/2015'', ''127'', 3700, 1, 1, ''3700'', ''2'', ''2015'', ''1'', ''OPN2015[00000002]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7574, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000038'', 3, ''OTHERS'', ''0'', 2000, 1, 1, ''2000'', ''2'', ''2015'', ''3'', ''OPN2015[00000002]'', ''2'')', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 15:55:37'),
(7575, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000038'', 4, ''OTHERS'', ''127'', 2000, 1, 1, ''2000'', ''2'', ''2015'', ''3'', ''OPN2015[00000002]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7576, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 5700, `total_amount_cr` = 5700, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000038''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 15:55:37'),
(7577, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''2080'', ''OPN2015'', ''2015-05-22'', ''WAGES'', ''CHE HASMALIZA CHE HASAN'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.016000986099243', '2015-05-27 16:05:31'),
(7578, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (26, ''2'', ''GAJI BULAN 5/2015'', ''1'', ''128'', ''2080'', ''2080'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.0019998550415039', '2015-05-27 16:05:31'),
(7579, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others_without_item` SET `updatedBy` = ''2'', `itemdescription` = ''WAGES FOR 5/2015'', `accountID` = ''128'', `amountIncludedTax` = ''2080'', `amountExcludedTax` = ''2080'', `taxID` = ''23'', `taxRate` = ''0'', `taxAmount` = ''0'' WHERE `ID` =  ''49''', 'OthersPayment/updatepayitemwithoutitem', '0.002000093460083', '2015-05-27 16:08:14'),
(7580, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''1400'', ''OPN2015'', ''2015-05-22'', ''WAGES'', ''MUKHLIS SULAIMAN'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.022001028060913', '2015-05-27 16:25:08'),
(7581, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (27, ''2'', ''WAGES FOR 5/2015'', ''1'', ''128'', ''1400'', ''1400'', '''', '''', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.00099992752075195', '2015-05-27 16:25:08'),
(7582, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others_without_item` SET `updatedBy` = ''2'', `itemdescription` = ''WAGES FOR 5/2015'', `accountID` = ''128'', `amountIncludedTax` = ''1400'', `amountExcludedTax` = ''1400'', `taxID` = ''23'', `taxRate` = ''0'', `taxAmount` = ''0'' WHERE `ID` =  ''50''', 'OthersPayment/updatepayitemwithoutitem', '0.0010001659393311', '2015-05-27 16:25:30'),
(7583, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''1780'', ''OPN2015'', ''2015-05-22'', ''WAGES'', ''SAMSIAH ADNAN'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.015000104904175', '2015-05-27 16:29:40'),
(7584, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (28, ''2'', ''WAGES FOR 5/2015'', ''1'', ''128'', ''1780'', ''1780'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.00099992752075195', '2015-05-27 16:29:40'),
(7585, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''69'', ''1480'', ''OPN2015'', ''2015-05-22'', ''WAGES'', ''SAINIA MISBAH'', ''3'', '''')', 'gltransaction/savenewpaywithOutItem', '0.010999917984009', '2015-05-27 16:33:29'),
(7586, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (29, ''2'', ''WAGES FOR 5/2015'', ''1'', ''128'', ''1480'', ''1480'', '''', '''', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.002000093460083', '2015-05-27 16:33:29'),
(7587, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''29''', 'gltransaction/otherpaymentposting', '0.018001079559326', '2015-05-27 16:35:58'),
(7588, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.0019998550415039', '2015-05-27 16:35:58'),
(7589, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000039'' WHERE `ID` =  ''29''', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 16:35:58'),
(7590, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000039'', ''Other Payment [OPN2015[00000008]]]'', ''Other Payment [OPN2015[00000008]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 1480, 1480, ''2'')', 'gltransaction/otherpaymentposting', '0.10600590705872', '2015-05-27 16:35:58'),
(7591, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000039'', 1, ''WAGES FOR 5/2015'', ''0'', 1480, 1, 1, ''1480'', ''2'', ''2015'', ''1'', ''OPN2015[00000008]'', ''2'')', 'gltransaction/otherpaymentposting', '0.14800882339478', '2015-05-27 16:35:58'),
(7592, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000039'', 2, ''WAGES FOR 5/2015'', ''128'', 1480, 1, 1, ''1480'', ''2'', ''2015'', ''1'', ''OPN2015[00000008]'', ''2'')', 'gltransaction/otherpaymentposting', '0.0019998550415039', '2015-05-27 16:35:58'),
(7593, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1480, `total_amount_cr` = 1480, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000039''', 'gltransaction/otherpaymentposting', '0.007000207901001', '2015-05-27 16:35:58'),
(7594, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''28''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7595, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 16:35:58'),
(7596, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000040'' WHERE `ID` =  ''28''', 'gltransaction/otherpaymentposting', '0.003000020980835', '2015-05-27 16:35:58'),
(7597, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000040'', ''Other Payment [OPN2015[00000007]]]'', ''Other Payment [OPN2015[00000007]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 1780, 1780, ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7598, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000040'', 1, ''WAGES FOR 5/2015'', ''0'', 1780, 1, 1, ''1780'', ''2'', ''2015'', ''1'', ''OPN2015[00000007]'', ''2'')', 'gltransaction/otherpaymentposting', '0.0060000419616699', '2015-05-27 16:35:58'),
(7599, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000040'', 2, ''WAGES FOR 5/2015'', ''128'', 1780, 1, 1, ''1780'', ''2'', ''2015'', ''1'', ''OPN2015[00000007]'', ''2'')', 'gltransaction/otherpaymentposting', '0.034002065658569', '2015-05-27 16:35:58'),
(7600, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1780, `total_amount_cr` = 1780, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000040''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7601, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''27''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7602, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7603, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000041'' WHERE `ID` =  ''27''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7604, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000041'', ''Other Payment [OPN2015[00000006]]]'', ''Other Payment [OPN2015[00000006]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 1400, 1400, ''2'')', 'gltransaction/otherpaymentposting', '0.013000011444092', '2015-05-27 16:35:58'),
(7605, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000041'', 1, ''WAGES FOR 5/2015'', ''0'', 1400, 1, 1, ''1400'', ''2'', ''2015'', ''1'', ''OPN2015[00000006]'', ''2'')', 'gltransaction/otherpaymentposting', '0', '2015-05-27 16:35:58'),
(7606, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000041'', 2, ''WAGES FOR 5/2015'', ''128'', 1400, 1, 1, ''1400'', ''2'', ''2015'', ''1'', ''OPN2015[00000006]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7607, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1400, `total_amount_cr` = 1400, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000041''', 'gltransaction/otherpaymentposting', '0', '2015-05-27 16:35:58'),
(7608, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''26''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7609, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.007000207901001', '2015-05-27 16:35:58'),
(7610, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000042'' WHERE `ID` =  ''26''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7611, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000042'', ''Other Payment [OPN2015[00000005]]]'', ''Other Payment [OPN2015[00000005]]]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 2080, 2080, ''2'')', 'gltransaction/otherpaymentposting', '0.0099999904632568', '2015-05-27 16:35:58'),
(7612, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000042'', 1, ''WAGES FOR 5/2015'', ''0'', 2080, 1, 1, ''2080'', ''2'', ''2015'', ''1'', ''OPN2015[00000005]'', ''2'')', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-05-27 16:35:58'),
(7613, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000042'', 2, ''WAGES FOR 5/2015'', ''128'', 2080, 1, 1, ''2080'', ''2'', ''2015'', ''1'', ''OPN2015[00000005]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7614, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2080, `total_amount_cr` = 2080, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000042''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-05-27 16:35:58'),
(7615, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''222''', 'Gltransaction/journalPosting', '0.014001131057739', '2015-05-27 16:36:17'),
(7616, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000036''', 'Gltransaction/journalPosting', '0.0260009765625', '2015-05-27 16:36:17'),
(7617, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028002023696899', '2015-05-27 16:36:17'),
(7618, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''10'', ''127'', ''2015'', ''2'', ''1146'', ''0'', 1146, ''2'', ''2015-05-27: 10:05:17'')', 'Gltransaction/journalPosting', '0.016000986099243', '2015-05-27 16:36:17'),
(7619, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''223''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-05-27 16:36:17'),
(7620, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000037''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7621, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.013000011444092', '2015-05-27 16:36:17'),
(7622, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''127'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-05-27 16:36:17'),
(7623, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''224''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7624, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000038''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7625, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0079998970031738', '2015-05-27 16:36:17'),
(7626, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''127'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7627, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 16:36:17'),
(7628, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''127'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7629, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''225''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:36:17'),
(7630, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000039''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7631, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7632, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''10'', ''128'', ''2015'', ''2'', ''1480'', ''0'', 1480, ''2'', ''2015-05-27: 10:05:17'')', 'Gltransaction/journalPosting', '0.030002117156982', '2015-05-27 16:36:17'),
(7633, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''226''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7634, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000040''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-05-27 16:36:17'),
(7635, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7636, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''128'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7637, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''227''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:36:17'),
(7638, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000041''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7639, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-05-27 16:36:17'),
(7640, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''128'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:36:17'),
(7641, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''228''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7642, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000042''', 'Gltransaction/journalPosting', '0', '2015-05-27 16:36:17'),
(7643, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:36:17'),
(7644, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''128'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:36:17'),
(7645, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-05-26'', ''BDS08619130629150526100806'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.030000925064087', '2015-05-27 16:51:30'),
(7646, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (40, ''2'', ''66'', ''1'', ''LEVY'', ''10150'', ''0'', ''23'', ''0'', ''10150'')', 'purchasetransaction/saveCharge', '0.044003009796143', '2015-05-27 16:51:30'),
(7647, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''10150'' WHERE `ID` =  40', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-05-27 16:51:30'),
(7648, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =40', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-05-27 16:51:30'),
(7649, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''40'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''3'', ''15'', ''6'', ''0.18'', ''3.18'')', 'purchasetransaction/saveChargeDetailOnly', '0.013000011444092', '2015-05-27 16:52:12'),
(7650, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.18'', `totalAmount` = ''10153.18'' WHERE `ID` =  ''40''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 16:52:12'),
(7651, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =40', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 16:52:12'),
(7652, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''40'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.010999917984009', '2015-05-27 16:52:44'),
(7653, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.18'', `totalAmount` = ''10153.33'' WHERE `ID` =  ''40''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-05-27 16:52:44'),
(7654, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =40', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-05-27 16:52:44'),
(7655, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''40'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 16:54:00'),
(7656, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 16:54:00'),
(7657, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000043'' WHERE `ID` =  ''40''', 'Aptransaction/invoicePosting', '0.033001899719238', '2015-05-27 16:54:00'),
(7658, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000043'', ''PI2015[00000022]'', ''Purchase Invoice Confirm [ PI2015[00000022] ]'', ''3'', ''2015-05-26'', ''2015'', ''2'', 10153.33, 10153.33, ''2'')', 'Aptransaction/invoicePosting', '0.026002168655396', '2015-05-27 16:54:00'),
(7659, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000043'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 10150, ''1'', ''1'', ''10150'', ''2'', ''2015'', ''1'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.050001859664917', '2015-05-27 16:54:00'),
(7660, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000043'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 10150, ''1'', ''1'', ''10150'', ''2'', ''2015'', ''1'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010011196136475', '2015-05-27 16:54:00'),
(7661, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000043'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 16:54:00'),
(7662, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000043'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 3, ''1'', ''1'', ''3'', ''2'', ''2015'', ''2'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 16:54:00'),
(7663, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AP20150200000043'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-05-27 16:54:00'),
(7664, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 6, ''AP20150200000043'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.18, ''1'', ''1'', ''0.18'', ''2'', ''2015'', ''2'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 16:54:00'),
(7665, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000043'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-05-27 16:54:00'),
(7666, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 8, ''AP20150200000043'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''2'', ''2015'', ''3'', ''PI2015[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-05-27 16:54:00'),
(7667, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10153.33, `total_amount_cr` = 10153.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000043''', 'Aptransaction/invoicePosting', '0.054003000259399', '2015-05-27 16:54:00'),
(7668, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''10153.33'', ''69'', ''PP20150527'', ''3'', ''1'', ''1.00000'', ''2015-05-26'', ''PI2015[00000022]	'', 0, '''', '''', ''0.00'', ''10153.33'', ''10153.33'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.067004203796387', '2015-05-27 16:55:24'),
(7669, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 24,1,ID,totalAmount, totalPayable  ,0.00,10153.33,2 from comp_supplier_invoice where ID=40', 'aptransaction/saveSupplierPayment', '0.06200385093689', '2015-05-27 16:55:24'),
(7670, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 10153.33, totalPayable = totalAmount - amountPaid  where ID = 40', 'aptransaction/saveSupplierPayment', '0.019001007080078', '2015-05-27 16:55:24'),
(7671, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''24''', 'aptransaction/paymentPosting', '0.019001007080078', '2015-05-27 16:55:29'),
(7672, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 16:55:29'),
(7673, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000044'' WHERE `ID` =  ''24''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 16:55:29'),
(7674, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000044'', ''PP20150527[00000019]'', ''Payment [ PP20150527[00000019] ]'', ''3'', ''2015-05-26'', ''2015'', ''2'', 10153.33, 10153.33, ''2'')', 'aptransaction/paymentPosting', '0.018000841140747', '2015-05-27 16:55:29'),
(7675, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AP20150200000044'', 1, ''PI2015[00000022]'', ''0'', ''RHB BANK BERHAD'', 10153.33, ''1'', ''1'', ''10153.33'', ''2'', ''2015'', ''1'', ''PP20150527[00000024]'', ''2'')', 'aptransaction/paymentPosting', '0.053003072738647', '2015-05-27 16:55:29'),
(7676, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''AP20150200000044'', ''PI2015[00000022]'', ''36'', ''RHB BANK BERHAD'', 10153.33, ''1'', ''1'', ''10153.33'', ''2'', ''2015'', ''PP20150527[00000024]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-05-27 16:55:29'),
(7677, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10153.33, `total_amount_cr` = 10153.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000044''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-05-27 16:55:29'),
(7678, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''229''', 'Gltransaction/journalPosting', '0.028002023696899', '2015-05-27 16:56:04'),
(7679, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000043''', 'Gltransaction/journalPosting', '0.027000904083252', '2015-05-27 16:56:04'),
(7680, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.010999917984009', '2015-05-27 16:56:04'),
(7681, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.021000862121582', '2015-05-27 16:56:04'),
(7682, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0099999904632568', '2015-05-27 16:56:04'),
(7683, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-05-27 16:56:04'),
(7684, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028002023696899', '2015-05-27 16:56:04'),
(7685, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-05-27 16:56:04');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7686, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032001972198486', '2015-05-27 16:56:04'),
(7687, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.02000093460083', '2015-05-27 16:56:04'),
(7688, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''230''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:56:05'),
(7689, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000044''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:56:05'),
(7690, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-05-27 16:56:05'),
(7691, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.012001037597656', '2015-05-27 16:56:05'),
(7692, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''SAIFUL MUNIP'', '''', ''W70'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.072004079818726', '2015-05-28 12:10:06'),
(7693, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''ASMAUL HUSNA'', '''', ''W71'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.010000944137573', '2015-05-28 12:11:31'),
(7694, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''HASAN'', '''', ''W72'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.013000965118408', '2015-05-28 12:12:01'),
(7695, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''SABIQUR ROHMAN'', '''', ''W73'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.018001079559326', '2015-05-28 12:28:18'),
(7696, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''M.QOSIM'', '''', ''W74'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.0090010166168213', '2015-05-28 12:29:45'),
(7697, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''SAMSIYEH'', '''', ''W75'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-05-28'', ''0'', ''1'')', 'CustomerSetup/CustomerNew', '0.013001203536987', '2015-05-28 12:30:28'),
(7698, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `currencyID`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `showSaleAgent`) VALUES (2, ''74'', ''INV2015'', ''2015-05-18'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.32901883125305', '2015-05-28 12:32:36'),
(7699, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (73, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.045001983642578', '2015-05-28 12:32:36'),
(7700, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  73', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.00099992752075195', '2015-05-28 12:32:36'),
(7701, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''73'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0060009956359863', '2015-05-28 12:33:06'),
(7702, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''73''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0060000419616699', '2015-05-28 12:33:06'),
(7703, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''73'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', '''', '''', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.016000986099243', '2015-05-28 12:33:50'),
(7704, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''73''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013000965118408', '2015-05-28 12:33:50'),
(7705, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''73'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0060000419616699', '2015-05-28 12:34:25'),
(7706, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''73''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0010001659393311', '2015-05-28 12:34:25'),
(7707, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''73'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090000629425049', '2015-05-28 12:34:58'),
(7708, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''73''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0010008811950684', '2015-05-28 12:34:58'),
(7709, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''122'', `chargeDescription` = ''FWCS (Foreign Worker Compensation Scheme)'', `amountExcludedTax` = ''76.3'', `taxID` = ''8'', `taxRate` = ''0'', `taxAmount` = ''0'', `amountIncludedTax` = ''76.3'' WHERE `ID` =  ''350''', 'Artransaction/updateCharge', '0.018001079559326', '2015-05-28 12:38:01'),
(7710, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''73''', 'Artransaction/updateCharge', '0', '2015-05-28 12:38:01'),
(7711, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `customerPoNo` = '''', `termsID` = ''9'', `projectID` = '''', `salesInvoiceDate` = ''2015-05-18'', `memo` = '''', `customerID` = ''74'', `shipToID` = ''null'' WHERE `ID` =  ''73''', 'Artransaction/update_saleInvoice_header', '0', '2015-05-28 12:38:45'),
(7712, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `customerPoNo` = '''', `termsID` = ''9'', `projectID` = '''', `salesInvoiceDate` = ''2015-05-18'', `memo` = '''', `customerID` = ''74'', `shipToID` = ''null'' WHERE `ID` =  ''73''', 'Artransaction/update_saleInvoice_header', '0', '2015-05-28 12:47:12'),
(7713, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-05-28 12:47:33'),
(7714, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000065'', `updateAble` = ''0'' WHERE `ID` =  ''73''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7715, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AR20150200000065'', ''INV2015[00000002]'', ''Posting Direct Sales Invoices [ INV2015[00000002] ]'', ''2'', ''2015-05-18'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.012001037597656', '2015-05-28 12:47:33'),
(7716, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150200000065'', ''LEVY'', ''20'', ''SAIFUL MUNIP'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.06000280380249', '2015-05-28 12:47:33'),
(7717, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000065'', 2, ''LEVY'', ''59'', ''SAIFUL MUNIP'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 12:47:33'),
(7718, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AR20150200000065'', ''IG (Insurance Guarantee)'', ''20'', ''SAIFUL MUNIP'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010008811950684', '2015-05-28 12:47:33'),
(7719, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000065'', 4, ''IG (Insurance Guarantee)'', ''121'', ''SAIFUL MUNIP'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7720, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150200000065'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''SAIFUL MUNIP'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7721, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000065'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''SAIFUL MUNIP'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7722, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 7, ''AR20150200000065'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''SAIFUL MUNIP'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 12:47:33'),
(7723, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000065'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''SAIFUL MUNIP'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7724, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 9, ''AR20150200000065'', ''SERVICE FEE'', ''20'', ''SAIFUL MUNIP'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 12:47:33'),
(7725, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000065'', 10, ''SERVICE FEE'', ''58'', ''SAIFUL MUNIP'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-05-28 12:47:33'),
(7726, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 11, ''AR20150200000065'', ''SERVICE FEE'', ''20'', ''SAIFUL MUNIP'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 12:47:33'),
(7727, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000065'', ''SERVICE FEE'', ''40'', ''SAIFUL MUNIP'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7728, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000065''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 12:47:33'),
(7729, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment` (`currencyID`, `companyID`, `createdBy`, `exchangeRate`, `customerID`, `projectID`, `memo`, `formNo`, `receivePaymentDate`, `bankId`, `outOfBalance`, `totalApplied`, `paymentMethodID`, `referenceNo`, `bankCharges`, `totalDiscount`, `totalOtherCharge`, `totalReceived`) VALUES (0, ''2'', ''2'', ''1.00000'', ''74'', '''', '''', ''RP20150528'', ''2015-05-18'', ''5'', 0, ''2650'', ''68'', '''', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.062002897262573', '2015-05-28 13:00:57'),
(7730, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 71, ''73'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.073004007339478', '2015-05-28 13:00:57'),
(7731, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''73''', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-05-28 13:00:57'),
(7732, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `currencyID`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `showSaleAgent`) VALUES (2, ''75'', ''INV2015'', ''2015-05-18'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.038002967834473', '2015-05-28 13:04:03'),
(7733, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (74, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.0260009765625', '2015-05-28 13:04:03'),
(7734, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  74', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0', '2015-05-28 13:04:03'),
(7735, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''74'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090010166168213', '2015-05-28 13:04:30'),
(7736, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''74''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0010001659393311', '2015-05-28 13:04:30'),
(7737, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''74'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', ''8'', ''0'', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.012001037597656', '2015-05-28 13:05:00'),
(7738, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''74''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0010001659393311', '2015-05-28 13:05:00'),
(7739, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''74'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.023001909255981', '2015-05-28 13:05:29'),
(7740, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''74''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.012000799179077', '2015-05-28 13:05:29'),
(7741, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''74'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013001203536987', '2015-05-28 13:06:03'),
(7742, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''74''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.012001037597656', '2015-05-28 13:06:03'),
(7743, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `customerPoNo` = '''', `termsID` = '''', `projectID` = '''', `salesInvoiceDate` = ''2015-05-18'', `memo` = '''', `customerID` = ''75'', `shipToID` = ''null'' WHERE `ID` =  ''74''', 'Artransaction/update_saleInvoice_header', '0.00099992752075195', '2015-05-28 13:07:45'),
(7744, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 13:07:52'),
(7745, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000066'', `updateAble` = ''0'' WHERE `ID` =  ''74''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 13:07:52'),
(7746, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AR20150200000066'', ''INV2015[00000003]'', ''Posting Direct Sales Invoices [ INV2015[00000003] ]'', ''2'', ''2015-05-18'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.021001100540161', '2015-05-28 13:07:52'),
(7747, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150200000066'', ''LEVY'', ''20'', ''ASMAUL HUSNA'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.04000186920166', '2015-05-28 13:07:52'),
(7748, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000066'', 2, ''LEVY'', ''59'', ''ASMAUL HUSNA'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-05-28 13:07:52'),
(7749, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AR20150200000066'', ''IG (Insurance Guarantee)'', ''20'', ''ASMAUL HUSNA'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 13:07:52'),
(7750, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000066'', 4, ''IG (Insurance Guarantee)'', ''121'', ''ASMAUL HUSNA'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 13:07:52'),
(7751, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150200000066'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''ASMAUL HUSNA'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 13:07:52'),
(7752, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000066'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''ASMAUL HUSNA'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 13:07:52'),
(7753, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 7, ''AR20150200000066'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''ASMAUL HUSNA'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029000997543335', '2015-05-28 13:07:52'),
(7754, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000066'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''ASMAUL HUSNA'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 13:07:52'),
(7755, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 9, ''AR20150200000066'', ''SERVICE FEE'', ''20'', ''ASMAUL HUSNA'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0020008087158203', '2015-05-28 13:07:52'),
(7756, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000066'', 10, ''SERVICE FEE'', ''58'', ''ASMAUL HUSNA'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 13:07:52'),
(7757, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 11, ''AR20150200000066'', ''SERVICE FEE'', ''20'', ''ASMAUL HUSNA'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 13:07:52'),
(7758, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000066'', ''SERVICE FEE'', ''40'', ''ASMAUL HUSNA'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.003000020980835', '2015-05-28 13:07:52'),
(7759, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000066''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 13:07:52'),
(7760, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''71'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0090010166168213', '2015-05-28 13:12:11'),
(7761, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-05-28 13:12:11'),
(7762, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000067'' WHERE `ID` =  ''71''', 'artransaction/paymentPosting', '0.015001058578491', '2015-05-28 13:12:11'),
(7763, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AR20150200000067'', ''RP20150528[00000002]'', ''Posting Received Payment [ RP20150528[00000002] ]'', ''2'', ''2015-05-18'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.024000883102417', '2015-05-28 13:12:11'),
(7764, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AR20150200000067'', 1, ''SAIFUL MUNIP'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150528[00000002]'', ''2'')', 'artransaction/paymentPosting', '0.022001981735229', '2015-05-28 13:12:11'),
(7765, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', 2, ''AR20150200000067'', ''SAIFUL MUNIP'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150528[00000002]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-05-28 13:12:11'),
(7766, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment` (`currencyID`, `companyID`, `createdBy`, `exchangeRate`, `customerID`, `projectID`, `memo`, `formNo`, `receivePaymentDate`, `bankId`, `outOfBalance`, `totalApplied`, `paymentMethodID`, `referenceNo`, `bankCharges`, `totalDiscount`, `totalOtherCharge`, `totalReceived`) VALUES (0, ''2'', ''2'', ''1.00000'', ''75'', '''', '''', ''RP20150528'', ''2015-05-18'', ''5'', 0, ''2650'', ''68'', '' 	INV2015[00000003]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.037001848220825', '2015-05-28 13:21:16'),
(7767, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 72, ''74'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.024001121520996', '2015-05-28 13:21:16'),
(7768, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''74''', 'arTransaction/saveNewReceivePayment', '0.017000913619995', '2015-05-28 13:21:16'),
(7769, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''72'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0', '2015-05-28 13:21:53'),
(7770, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.0010001659393311', '2015-05-28 13:21:53'),
(7771, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000068'' WHERE `ID` =  ''72''', 'artransaction/paymentPosting', '0.020001888275146', '2015-05-28 13:21:53'),
(7772, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AR20150200000068'', ''RP20150528[00000003]'', ''Posting Received Payment [ RP20150528[00000003] ]'', ''2'', ''2015-05-18'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.033001899719238', '2015-05-28 13:21:53'),
(7773, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', ''AR20150200000068'', 1, ''ASMAUL HUSNA'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150528[00000003]'', ''2'')', 'artransaction/paymentPosting', '0.050003051757812', '2015-05-28 13:21:53'),
(7774, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (''2'', 2, ''AR20150200000068'', ''ASMAUL HUSNA'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150528[00000003]'', ''2'')', 'artransaction/paymentPosting', '0.002000093460083', '2015-05-28 13:21:53'),
(7775, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `currencyID`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `showSaleAgent`) VALUES (2, ''76'', ''INV2015'', ''2015-05-18'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.019001007080078', '2015-05-28 14:17:25'),
(7776, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (75, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.021000862121582', '2015-05-28 14:17:25'),
(7777, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  75', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0', '2015-05-28 14:17:25'),
(7778, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''75'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.010000944137573', '2015-05-28 14:17:59'),
(7779, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''75''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013000965118408', '2015-05-28 14:17:59'),
(7780, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''75'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', ''8'', ''0'', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.018002033233643', '2015-05-28 14:18:41'),
(7781, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''75''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.02000093460083', '2015-05-28 14:18:41'),
(7782, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''75'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090010166168213', '2015-05-28 14:19:23'),
(7783, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''75''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013000011444092', '2015-05-28 14:19:23'),
(7784, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''75'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.015001058578491', '2015-05-28 14:19:56'),
(7785, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''75''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013000965118408', '2015-05-28 14:19:56'),
(7786, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-05-28 14:21:42'),
(7787, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000069'', `updateAble` = ''0'' WHERE `ID` =  ''75''', 'artransaction/directInvoicePosting', '0.0030009746551514', '2015-05-28 14:21:42'),
(7788, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AR20150200000069'', ''INV2015[00000004]'', ''Posting Direct Sales Invoices [ INV2015[00000004] ]'', ''2'', ''2015-05-18'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.0260009765625', '2015-05-28 14:21:42'),
(7789, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150200000069'', ''LEVY'', ''20'', ''HASAN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028002023696899', '2015-05-28 14:21:42'),
(7790, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000069'', 2, ''LEVY'', ''59'', ''HASAN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7791, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AR20150200000069'', ''IG (Insurance Guarantee)'', ''20'', ''HASAN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7792, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000069'', 4, ''IG (Insurance Guarantee)'', ''121'', ''HASAN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.011001110076904', '2015-05-28 14:21:42'),
(7793, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150200000069'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''HASAN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7794, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000069'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''HASAN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-05-28 14:21:42'),
(7795, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 7, ''AR20150200000069'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''HASAN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7796, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000069'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''HASAN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7797, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 9, ''AR20150200000069'', ''SERVICE FEE'', ''20'', ''HASAN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 14:21:42'),
(7798, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000069'', 10, ''SERVICE FEE'', ''58'', ''HASAN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7799, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 11, ''AR20150200000069'', ''SERVICE FEE'', ''20'', ''HASAN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42'),
(7800, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000069'', ''SERVICE FEE'', ''40'', ''HASAN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-05-28 14:21:42'),
(7801, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000069''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-05-28 14:21:42');
