(13450,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.027000904083252','2015-06-19 12:10:45'),(13451,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0010008811950684','2015-06-19 12:10:45'),(13452,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, \'68\', \'300\', \'OPN2015\', \'2015-06-15\', \'SP\', \'IMMIGRATION JLN DUTA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.10700607299805','2015-06-19 12:16:00'),(13453,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (57, \'2\', \'SPECIAL PASS - FARALIZA SALIM (No Resit: W01E135461 dated 17/6/15)\', \'1\', \'66\', \'100\', \'100\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.071003913879395','2015-06-19 12:16:00'),(13454,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'57\', \'2\', \'2\', \'SPECIAL PASS - YANTI SURBAKTI (No Resit: W01E135460 dated 17/6/15)\', \'66\', \'100\', \'100\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithoutItemDetailOnly','0.074003934860229','2015-06-19 12:17:26'),(13455,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'57\', \'2\', \'3\', \'SPECIAL PASS - JAHIRUL ISLAM JONY(No Resit: W01E135626 dated 17/6/15)\', \'66\', \'100\', \'100\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithoutItemDetailOnly','0.012001037597656','2015-06-19 12:19:40'),(13456,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'146\', \'\', \'\', \'RP20150619\', \'2015-05-19\', \'2\', 0, \'750\', \'68\', \'\', \'0\', \'0\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.14400792121887','2015-06-19 12:22:06'),(13457,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 148, \'150\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.015001058578491','2015-06-19 12:22:06'),(13458,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'150\'','arTransaction/saveNewReceivePayment','0.017001152038574','2015-06-19 12:22:06'),(13459,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS (No Resit: W01E135461 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'23\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'82\'','OthersPayment/updatepayitemwithoutitem','0.044003009796143','2015-06-19 12:22:31'),(13460,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS (No Resit: W01E135460 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'23\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'83\'','OthersPayment/updatepayitemwithoutitem','0.00099992752075195','2015-06-19 12:22:46'),(13461,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'148\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 12:22:55'),(13462,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 141 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 12:22:55'),(13463,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000141\' WHERE `ID` =  \'148\'','artransaction/paymentPosting','0.016000986099243','2015-06-19 12:22:55'),(13464,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000141\', \'RP20150619[00000079]\', \'Posting Received Payment [ RP20150619[00000079] ]\', \'2\', \'2015-05-19\', \'2015\', \'2\', 750, 750, \'3\')','artransaction/paymentPosting','0.024001836776733','2015-06-19 12:22:55'),(13465,2,3,'192.168.0.109','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\', \'AR20150200000141\', 1, \'NURUL SYAFIKA BINTI MOHAMAD ZAIN\', \'20\', 750, 1, \'1\', \'750\', \'2\', \'2015\', \'1\', \'RP20150619[00000079]\', \'3\')','artransaction/paymentPosting','0.062003135681152','2015-06-19 12:22:55'),(13466,2,3,'192.168.0.109','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, \'AR20150200000141\', \'NURUL SYAFIKA BINTI MOHAMAD ZAIN\', \'129\', 750, 1, \'1\', \'750\', \'2\', \'2015\', \'1\', \'RP20150619[00000079]\', \'3\')','artransaction/paymentPosting','0.030001878738403','2015-06-19 12:22:55'),(13467,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS x 1 INDO (No Resit: W01E135461 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'82\'','OthersPayment/updatepayitemwithoutitem','0.002000093460083','2015-06-19 12:23:01'),(13468,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS x 1 ORANG (No Resit: W01E135461 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'82\'','OthersPayment/updatepayitemwithoutitem','0.010999917984009','2015-06-19 12:23:22'),(13469,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS x 1 Orang (No Resit: W01E135461 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'82\'','OthersPayment/updatepayitemwithoutitem','0.00099992752075195','2015-06-19 12:23:33'),(13470,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'466\'','Gltransaction/journalPosting','0.013000965118408','2015-06-19 12:24:34'),(13471,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150200000078\'','Gltransaction/journalPosting','0.071004152297974','2015-06-19 12:24:34'),(13472,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0079998970031738','2015-06-19 12:24:34'),(13473,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:24:34'),(13474,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.013000011444092','2015-06-19 12:24:34'),(13475,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:24:34'),(13476,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 12:24:34'),(13477,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'91\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:24:34'),(13478,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'475\'','Gltransaction/journalPosting','0.015001058578491','2015-06-19 12:24:34'),(13479,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000141\'','Gltransaction/journalPosting','0.0090000629425049','2015-06-19 12:24:34'),(13480,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0030009746551514','2015-06-19 12:24:34'),(13481,2,3,'192.168.0.109','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'129\', \'2015\', \'2\', \'750\', \'0\', 750, \'3\', \'2015-06-19: 06:06:34\')','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:24:34'),(13482,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS x 1 Orang (No Resit: W01E135460 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'83\'','OthersPayment/updatepayitemwithoutitem','0.00099992752075195','2015-06-19 12:25:11'),(13483,2,2,'::1','update','UPDATE `comp_payment_others_without_item` SET `updatedBy` = \'2\', `itemdescription` = \'SPECIAL PASS x 1 Orang (No Resit: W01E135626 dated 17/6/15)\', `accountID` = \'66\', `amountIncludedTax` = \'100\', `amountExcludedTax` = \'100\', `taxID` = \'23\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'84\'','OthersPayment/updatepayitemwithoutitem','0.029001951217651','2015-06-19 12:25:24'),(13484,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'57\'','gltransaction/otherpaymentposting','0.017000913619995','2015-06-19 12:26:39'),(13485,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 12:26:39'),(13486,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000050\' WHERE `ID` =  \'57\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 12:26:39'),(13487,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\', \'AP20150300000050\', \'Other Payment [OPN2015[00000036]]]\', \'Other Payment [OPN2015[00000036]]]\', \'3\', \'2015-06-15\', \'2015\', \'3\', 300, 300, \'2\')','gltransaction/otherpaymentposting','0.049003124237061','2015-06-19 12:26:39'),(13488,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\', \'AP20150300000050\', 1, \'SPECIAL PASS x 1 Orang (No Resit: W01E135461 dated 17/6/15)\', \'25\', 100, 1, 1, \'100\', \'3\', \'2015\', \'1\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.036001920700073','2015-06-19 12:26:39'),(13489,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\', \'AP20150300000050\', 2, \'SPECIAL PASS x 1 Orang (No Resit: W01E135461 dated 17/6/15)\', \'66\', 100, 1, 1, \'100\', \'3\', \'2015\', \'1\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 12:26:39'),(13490,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\', \'AP20150300000050\', 3, \'SPECIAL PASS x 1 Orang (No Resit: W01E135460 dated 17/6/15)\', \'25\', 100, 1, 1, \'100\', \'3\', \'2015\', \'2\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 12:26:39'),(13491,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\', \'AP20150300000050\', 4, \'SPECIAL PASS x 1 Orang (No Resit: W01E135460 dated 17/6/15)\', \'66\', 100, 1, 1, \'100\', \'3\', \'2015\', \'2\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.0019998550415039','2015-06-19 12:26:39'),(13492,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\', \'AP20150300000050\', 5, \'SPECIAL PASS x 1 Orang (No Resit: W01E135626 dated 17/6/15)\', \'25\', 100, 1, 1, \'100\', \'3\', \'2015\', \'3\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 12:26:39'),(13493,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\', \'AP20150300000050\', 6, \'SPECIAL PASS x 1 Orang (No Resit: W01E135626 dated 17/6/15)\', \'66\', 100, 1, 1, \'100\', \'3\', \'2015\', \'3\', \'OPN2015[00000036]\', \'2\')','gltransaction/otherpaymentposting','0.0010008811950684','2015-06-19 12:26:39'),(13494,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000050\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 12:26:39'),(13495,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'476\'','Gltransaction/journalPosting','0.020001173019409','2015-06-19 12:26:56'),(13496,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000050\'','Gltransaction/journalPosting','0.062002897262573','2015-06-19 12:26:56'),(13497,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.034002065658569','2015-06-19 12:26:56'),(13498,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.023001909255981','2015-06-19 12:26:56'),(13499,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0079998970031738','2015-06-19 12:26:56'),(13500,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-06-19 12:26:56'),(13501,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.005000114440918','2015-06-19 12:26:56'),(13502,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.019001960754395','2015-06-19 12:26:56'),(13503,2,3,'192.168.0.109','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, \'147\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'600\', \'600\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.055002927780151','2015-06-19 12:30:58'),(13504,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (151, \'1\', \'3\', \'133\', \'sewa rumah\', \'600\', \'7\', \'0\', \'0\', \'600\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.032001972198486','2015-06-19 12:30:58'),(13505,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'600\' WHERE `ID` =  151','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 12:30:58'),(13506,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 117 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.015000820159912','2015-06-19 12:31:48'),(13507,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000117\', `updateAble` = \'0\' WHERE `ID` =  \'151\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:31:48'),(13508,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000117\', \'INV2015[00000080]\', \'Posting Direct Sales Invoices [ INV2015[00000080] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 600, 600, \'3\')','artransaction/directInvoicePosting','0.017000913619995','2015-06-19 12:31:48'),(13509,2,3,'192.168.0.109','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, \'AR20150100000117\', \'sewa rumah\', \'20\', \'CHE HASMALIZA BINTI CHE HASAN\', 600, \'1\', \'1\', \'600\', \'1\', \'2015\', \'1\', \'INV2015[00000080]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:31:48'),(13510,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000117\', 2, \'sewa rumah\', \'133\', \'CHE HASMALIZA BINTI CHE HASAN\', 600, \'1\', \'1\', \'600\', \'1\', \'2015\', \'1\', \'INV2015[00000080]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0069999694824219','2015-06-19 12:31:48'),(13511,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 600, `total_amount_cr` = 600, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000117\'','artransaction/directInvoicePosting','0.012001037597656','2015-06-19 12:31:48'),(13512,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\', \'WASAT\', \'\', \'W143\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.054003000259399','2015-06-19 12:31:55'),(13513,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\', \'WAQAR AHMAD\', \'\', \'W144\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.019001007080078','2015-06-19 12:32:26'),(13514,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\', \'HERI HARTATO\', \'\', \'W145\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.01400089263916','2015-06-19 12:32:57'),(13515,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'147\', \'\', \'\', \'RP20150619\', \'2015-05-23\', \'2\', 0, \'600\', \'121\', \'\', \'0\', \'0\', \'0\', \'600\')','arTransaction/saveNewReceivePayment','0.026002168655396','2015-06-19 12:33:35'),(13516,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 149, \'151\', \'0\', \'600\')','arTransaction/saveNewReceivePayment','0.023000955581665','2015-06-19 12:33:35'),(13517,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'151\'','arTransaction/saveNewReceivePayment','0.018001079559326','2015-06-19 12:33:35'),(13518,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'149\' AND `updateAble` =  1','artransaction/paymentPosting','0.019000768661499','2015-06-19 12:34:01'),(13519,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 142 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.036001920700073','2015-06-19 12:34:01'),(13520,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000142\' WHERE `ID` =  \'149\'','artransaction/paymentPosting','0.0080001354217529','2015-06-19 12:34:01'),(13521,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000142\', \'RP20150619[00000080]\', \'Posting Received Payment [ RP20150619[00000080] ]\', \'2\', \'2015-05-23\', \'2015\', \'2\', 600, 600, \'3\')','artransaction/paymentPosting','0.034002065658569','2015-06-19 12:34:01'),(13522,2,3,'192.168.0.109','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\', \'AR20150200000142\', 1, \'CHE HASMALIZA BINTI CHE HASAN\', \'20\', 600, 1, \'1\', \'600\', \'2\', \'2015\', \'1\', \'RP20150619[00000080]\', \'3\')','artransaction/paymentPosting','0.033001899719238','2015-06-19 12:34:01'),(13523,2,3,'192.168.0.109','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, \'AR20150200000142\', \'CHE HASMALIZA BINTI CHE HASAN\', \'129\', 600, 1, \'1\', \'600\', \'2\', \'2015\', \'1\', \'RP20150619[00000080]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-19 12:34:01'),(13524,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'477\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 12:41:51'),(13525,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000117\'','Gltransaction/journalPosting','0.070003986358643','2015-06-19 12:41:51'),(13526,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.037002086639404','2015-06-19 12:41:51'),(13527,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:41:51'),(13528,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'478\'','Gltransaction/journalPosting','0.02000093460083','2015-06-19 12:42:06'),(13529,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000142\'','Gltransaction/journalPosting','0.017000913619995','2015-06-19 12:42:06'),(13530,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.029001951217651','2015-06-19 12:42:06'),(13531,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 12:42:06'),(13532,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, \'165\', \'INV2015\', \'2015-06-16\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.13900804519653','2015-06-19 12:45:22'),(13533,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (152, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.46102595329285','2015-06-19 12:45:22'),(13534,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  152','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 12:45:22'),(13535,2,3,'192.168.0.109','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, \'150\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'900\', \'900\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.018000841140747','2015-06-19 12:45:34'),(13536,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (153, \'1\', \'3\', \'133\', \'sewa rumah\', \'900\', \'7\', \'0\', \'0\', \'900\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.076004028320312','2015-06-19 12:45:34'),(13537,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'900\' WHERE `ID` =  153','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 12:45:34'),(13538,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'152\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.01400089263916','2015-06-19 12:45:51'),(13539,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'152\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0010001659393311','2015-06-19 12:45:51'),(13540,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'152\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.015001058578491','2015-06-19 12:46:16'),(13541,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'152\'','Artransaction/saveNewSaleDetailOnlyCharges','0.045002937316895','2015-06-19 12:46:16'),(13542,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 118 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:46:24'),(13543,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000118\', `updateAble` = \'0\' WHERE `ID` =  \'153\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:46:24'),(13544,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000118\', \'INV2015[00000082]\', \'Posting Direct Sales Invoices [ INV2015[00000082] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 900, 900, \'3\')','artransaction/directInvoicePosting','0.052002906799316','2015-06-19 12:46:24'),(13545,2,3,'192.168.0.109','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, \'AR20150100000118\', \'sewa rumah\', \'20\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000082]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.03200101852417','2015-06-19 12:46:24'),(13546,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000118\', 2, \'sewa rumah\', \'133\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000082]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010008811950684','2015-06-19 12:46:24'),(13547,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000118\'','artransaction/directInvoicePosting','0','2015-06-19 12:46:24'),(13548,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'152\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.090004920959473','2015-06-19 12:46:40'),(13549,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'152\'','Artransaction/saveNewSaleDetailOnlyCharges','0.015001058578491','2015-06-19 12:46:40'),(13550,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'152\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.028002023696899','2015-06-19 12:47:14'),(13551,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'152\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0010001659393311','2015-06-19 12:47:14'),(13552,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'150\', \'\', \'\', \'RP20150619\', \'2015-04-02\', \'2\', 0, \'900\', \'69\', \'\', \'0\', \'0\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.055002927780151','2015-06-19 12:47:44'),(13553,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 150, \'153\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.017001152038574','2015-06-19 12:47:44'),(13554,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'153\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 12:47:44'),(13555,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'150\' AND `updateAble` =  1','artransaction/paymentPosting','0.019001007080078','2015-06-19 12:48:10'),(13556,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 119 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.0070009231567383','2015-06-19 12:48:10'),(13557,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000119\' WHERE `ID` =  \'150\'','artransaction/paymentPosting','0.0090000629425049','2015-06-19 12:48:10'),(13558,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000119\', \'RP20150619[00000081]\', \'Posting Received Payment [ RP20150619[00000081] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 900, 900, \'3\')','artransaction/paymentPosting','0.0060000419616699','2015-06-19 12:48:10'),(13559,2,3,'192.168.0.109','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\', \'AR20150100000119\', 1, \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', \'20\', 900, 1, \'1\', \'900\', \'1\', \'2015\', \'1\', \'RP20150619[00000081]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 12:48:10'),(13560,2,3,'192.168.0.109','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, \'AR20150100000119\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', \'129\', 900, 1, \'1\', \'900\', \'1\', \'2015\', \'1\', \'RP20150619[00000081]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 12:48:10'),(13561,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, \'166\', \'INV2015\', \'2015-06-16\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1455\', \'1455\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.040003061294556','2015-06-19 12:48:42'),(13562,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (154, \'1\', \'2\', \'59\', \'LEVY\', \'1455\', \'8\', \'0\', \'0\', \'1455\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.03200101852417','2015-06-19 12:48:42'),(13563,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1455\' WHERE `ID` =  154','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 12:48:42'),(13564,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'479\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 12:48:53'),(13565,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000118\'','Gltransaction/journalPosting','0.092005014419556','2015-06-19 12:48:53'),(13566,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.038002014160156','2015-06-19 12:48:53'),(13567,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.010000944137573','2015-06-19 12:48:53'),(13568,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'480\'','Gltransaction/journalPosting','0.015001058578491','2015-06-19 12:48:54'),(13569,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000119\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:48:54'),(13570,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 12:48:54'),(13571,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 12:48:54'),(13572,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'154\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.013001203536987','2015-06-19 12:49:02'),(13573,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1523\', `totalReceivable` = \'1523\' WHERE `ID` =  \'154\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-19 12:49:02'),(13574,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'154\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.011000871658325','2015-06-19 12:49:29'),(13575,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1599.3\', `totalReceivable` = \'1599.3\' WHERE `ID` =  \'154\'','Artransaction/saveNewSaleDetailOnlyCharges','0','2015-06-19 12:49:29'),(13576,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'154\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.01200008392334','2015-06-19 12:49:57'),(13577,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1726.5\', `totalReceivable` = \'1726.5\' WHERE `ID` =  \'154\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-19 12:49:57'),(13578,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'154\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'870.94\', \'\', \'\', \'0\', \'870.94\')','Artransaction/saveNewSaleDetailOnlyCharges','0.018001079559326','2015-06-19 12:50:23'),(13579,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2597.44\', `totalReceivable` = \'2597.44\' WHERE `ID` =  \'154\'','Artransaction/saveNewSaleDetailOnlyCharges','0.011001110076904','2015-06-19 12:50:23'),(13580,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.015000104904175','2015-06-19 12:50:51'),(13581,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000039\', `updateAble` = \'0\' WHERE `ID` =  \'152\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:50:51'),(13582,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\', \'AR20150300000039\', \'INV2015[00000081]\', \'Posting Direct Sales Invoices [ INV2015[00000081] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-06-19 12:50:51'),(13583,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, \'AR20150300000039\', \'LEVY\', \'20\', \'WASAT\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.026001930236816','2015-06-19 12:50:51'),(13584,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\', \'AR20150300000039\', 2, \'LEVY\', \'59\', \'WASAT\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:50:51'),(13585,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, \'AR20150300000039\', \'IG (Insurance Guarantee)\', \'20\', \'WASAT\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:50:51'),(13586,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\', \'AR20150300000039\', 4, \'IG (Insurance Guarantee)\', \'121\', \'WASAT\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:50:51'),(13587,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, \'AR20150300000039\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'WASAT\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033001899719238','2015-06-19 12:50:51'),(13588,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\', \'AR20150300000039\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'WASAT\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:50:51'),(13589,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, \'AR20150300000039\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'WASAT\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:50:51'),(13590,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\', \'AR20150300000039\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'WASAT\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:50:51'),(13591,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, \'AR20150300000039\', \'SERVICE FEE\', \'20\', \'WASAT\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0020010471343994','2015-06-19 12:50:51'),(13592,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\', \'AR20150300000039\', 10, \'SERVICE FEE\', \'58\', \'WASAT\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:50:51'),(13593,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, \'AR20150300000039\', \'SERVICE FEE\', \'20\', \'WASAT\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0069999694824219','2015-06-19 12:50:51'),(13594,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, \'AR20150300000039\', \'SERVICE FEE\', \'40\', \'WASAT\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000081]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:50:51'),(13595,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000039\'','artransaction/directInvoicePosting','0.011000871658325','2015-06-19 12:50:51'),(13596,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `customerPoNo` = \'\', `termsID` = \'9\', `projectID` = \'\', `salesInvoiceDate` = \'2015-06-16\', `memo` = \'\', `customerID` = \'166\', `shipToID` = \'null\' WHERE `ID` =  \'154\'','Artransaction/update_saleInvoice_header','0','2015-06-19 12:51:29'),(13597,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'870.94\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.26\', `amountIncludedTax` = \'923.2\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.048002958297729','2015-06-19 12:51:46'),(13598,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.26\', `totalAmount` = \'2649.7\', `totalReceivable` = \'2649.7\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.036001920700073','2015-06-19 12:51:46'),(13599,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.26\', `amountIncludedTax` = \'923.26\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.017001152038574','2015-06-19 12:52:02'),(13600,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.26\', `totalAmount` = \'2649.76\', `totalReceivable` = \'2649.76\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.002000093460083','2015-06-19 12:52:02'),(13601,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'872\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.32\', `amountIncludedTax` = \'924.32\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.015001058578491','2015-06-19 12:52:37'),(13602,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.32\', `totalAmount` = \'2650.82\', `totalReceivable` = \'2650.82\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.00099992752075195','2015-06-19 12:52:37'),(13603,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871.25\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.28\', `amountIncludedTax` = \'923.53\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.020001173019409','2015-06-19 12:53:08'),(13604,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.28\', `totalAmount` = \'2650.0299999999997\', `totalReceivable` = \'2650.0299999999997\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.00099992752075195','2015-06-19 12:53:08'),(13605,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871.2\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.27\', `amountIncludedTax` = \'923.47\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.021001100540161','2015-06-19 12:53:21'),(13606,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.27\', `totalAmount` = \'2649.9700000000003\', `totalReceivable` = \'2649.9700000000003\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.002000093460083','2015-06-19 12:53:21'),(13607,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871.21\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.27\', `amountIncludedTax` = \'923.48\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.0010001659393311','2015-06-19 12:53:29'),(13608,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.27\', `totalAmount` = \'2649.98\', `totalReceivable` = \'2649.98\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.023000955581665','2015-06-19 12:53:29'),(13609,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871.22\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.27\', `amountIncludedTax` = \'923.49\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.018001079559326','2015-06-19 12:53:35'),(13610,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.27\', `totalAmount` = \'2649.99\', `totalReceivable` = \'2649.99\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.0060000419616699','2015-06-19 12:53:35'),(13611,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'871.23\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'52.27\', `amountIncludedTax` = \'923.5\' WHERE `ID` =  \'705\'','Artransaction/updateCharge','0.024002075195312','2015-06-19 12:53:42'),(13612,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.27\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'154\'','Artransaction/updateCharge','0.0060000419616699','2015-06-19 12:53:42'),(13613,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.014001131057739','2015-06-19 12:54:15'),(13614,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000040\', `updateAble` = \'0\' WHERE `ID` =  \'154\'','artransaction/directInvoicePosting','0.0090000629425049','2015-06-19 12:54:15'),(13615,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\', \'AR20150300000040\', \'INV2015[00000083]\', \'Posting Direct Sales Invoices [ INV2015[00000083] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.032002210617065','2015-06-19 12:54:15'),(13616,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, \'AR20150300000040\', \'LEVY\', \'20\', \'WAQAR AHMAD\', 1455, \'1\', \'1\', \'1455\', \'3\', \'2015\', \'1\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.048002958297729','2015-06-19 12:54:15'),(13617,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\', \'AR20150300000040\', 2, \'LEVY\', \'59\', \'WAQAR AHMAD\', 1455, \'1\', \'1\', \'1455\', \'3\', \'2015\', \'1\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:54:15'),(13618,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, \'AR20150300000040\', \'IG (Insurance Guarantee)\', \'20\', \'WAQAR AHMAD\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.02000093460083','2015-06-19 12:54:15'),(13619,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\', \'AR20150300000040\', 4, \'IG (Insurance Guarantee)\', \'121\', \'WAQAR AHMAD\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:54:15'),(13620,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, \'AR20150300000040\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'WAQAR AHMAD\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:54:15'),(13621,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\', \'AR20150300000040\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'WAQAR AHMAD\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0030009746551514','2015-06-19 12:54:15'),(13622,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, \'AR20150300000040\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'WAQAR AHMAD\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:54:15'),(13623,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\', \'AR20150300000040\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'WAQAR AHMAD\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:54:15'),(13624,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, \'AR20150300000040\', \'SERVICE FEE\', \'20\', \'WAQAR AHMAD\', 871.23, \'1\', \'1\', \'871.23\', \'3\', \'2015\', \'5\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0029997825622559','2015-06-19 12:54:15'),(13625,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\', \'AR20150300000040\', 10, \'SERVICE FEE\', \'58\', \'WAQAR AHMAD\', 871.23, \'1\', \'1\', \'871.23\', \'3\', \'2015\', \'5\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:54:15'),(13626,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, \'AR20150300000040\', \'SERVICE FEE\', \'20\', \'WAQAR AHMAD\', 52.27, \'1\', \'1\', \'52.27\', \'3\', \'2015\', \'5\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:54:15'),(13627,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, \'AR20150300000040\', \'SERVICE FEE\', \'40\', \'WAQAR AHMAD\', 52.27, \'1\', \'1\', \'52.27\', \'3\', \'2015\', \'5\', \'INV2015[00000083]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:54:15'),(13628,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000040\'','artransaction/directInvoicePosting','0.014001131057739','2015-06-19 12:54:15'),(13629,2,3,'192.168.0.109','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, \'151\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'900\', \'900\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.028002023696899','2015-06-19 12:54:24'),(13630,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (155, \'1\', \'3\', \'133\', \'sewa rumah\', \'900\', \'7\', \'0\', \'0\', \'900\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.029000997543335','2015-06-19 12:54:24'),(13631,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'900\' WHERE `ID` =  155','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 12:54:24'),(13632,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 120 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:54:57'),(13633,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000120\', `updateAble` = \'0\' WHERE `ID` =  \'155\'','artransaction/directInvoicePosting','0.014999866485596','2015-06-19 12:54:57'),(13634,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000120\', \'INV2015[00000084]\', \'Posting Direct Sales Invoices [ INV2015[00000084] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 900, 900, \'3\')','artransaction/directInvoicePosting','0.04000186920166','2015-06-19 12:54:57'),(13635,2,3,'192.168.0.109','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, \'AR20150100000120\', \'sewa rumah\', \'20\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000084]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.048002958297729','2015-06-19 12:54:57'),(13636,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000120\', 2, \'sewa rumah\', \'133\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000084]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 12:54:57'),(13637,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000120\'','artransaction/directInvoicePosting','0.0060000419616699','2015-06-19 12:54:57'),(13638,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, \'167\', \'INV2015\', \'2015-06-16\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.012999773025513','2015-06-19 12:55:11'),(13639,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (156, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 12:55:11'),(13640,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  156','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 12:55:11'),(13641,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'156\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0069999694824219','2015-06-19 12:55:36'),(13642,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'156\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0099999904632568','2015-06-19 12:55:36'),(13643,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'156\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.012001037597656','2015-06-19 12:56:05'),(13644,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'156\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0099999904632568','2015-06-19 12:56:05'),(13645,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'156\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.015001058578491','2015-06-19 12:56:34'),(13646,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'156\'','Artransaction/saveNewSaleDetailOnlyCharges','0.017001152038574','2015-06-19 12:56:34'),(13647,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'151\', \'\', \'\', \'RP20150619\', \'2015-04-07\', \'2\', 0, \'900\', \'69\', \'\', \'0\', \'0\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.0020010471343994','2015-06-19 12:56:35'),(13648,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 151, \'155\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.0069999694824219','2015-06-19 12:56:35'),(13649,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'155\'','arTransaction/saveNewReceivePayment','0.018001079559326','2015-06-19 12:56:35'),(13650,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'151\' AND `updateAble` =  1','artransaction/paymentPosting','0.022001028060913','2015-06-19 12:56:55'),(13651,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 121 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.011000871658325','2015-06-19 12:56:55'),(13652,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000121\' WHERE `ID` =  \'151\'','artransaction/paymentPosting','0.003000020980835','2015-06-19 12:56:55'),(13653,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000121\', \'RP20150619[00000082]\', \'Posting Received Payment [ RP20150619[00000082] ]\', \'2\', \'2015-04-07\', \'2015\', \'1\', 900, 900, \'3\')','artransaction/paymentPosting','0.0040011405944824','2015-06-19 12:56:55'),(13654,2,3,'192.168.0.109','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\', \'AR20150100000121\', 1, \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', \'20\', 900, 1, \'1\', \'900\', \'1\', \'2015\', \'1\', \'RP20150619[00000082]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 12:56:55'),(13655,2,3,'192.168.0.109','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, \'AR20150100000121\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', \'129\', 900, 1, \'1\', \'900\', \'1\', \'2015\', \'1\', \'RP20150619[00000082]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-19 12:56:55'),(13656,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'156\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.013000965118408','2015-06-19 12:57:03'),(13657,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'156\'','Artransaction/saveNewSaleDetailOnlyCharges','0.019000768661499','2015-06-19 12:57:03'),(13658,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'483\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:57:42'),(13659,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000120\'','Gltransaction/journalPosting','0.063004016876221','2015-06-19 12:57:42'),(13660,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.02000093460083','2015-06-19 12:57:42'),(13661,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:57:42'),(13662,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'484\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 12:57:42'),(13663,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000121\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 12:57:42'),(13664,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 12:57:42'),(13665,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 12:57:42'),(13666,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13667,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000041\', `updateAble` = \'0\' WHERE `ID` =  \'156\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13668,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\', \'AR20150300000041\', \'INV2015[00000085]\', \'Posting Direct Sales Invoices [ INV2015[00000085] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.038002967834473','2015-06-19 12:57:55'),(13669,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, \'AR20150300000041\', \'LEVY\', \'20\', \'HERI HARTATO\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.03400182723999','2015-06-19 12:57:55'),(13670,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\', \'AR20150300000041\', 2, \'LEVY\', \'59\', \'HERI HARTATO\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13671,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, \'AR20150300000041\', \'IG (Insurance Guarantee)\', \'20\', \'HERI HARTATO\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:57:55'),(13672,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\', \'AR20150300000041\', 4, \'IG (Insurance Guarantee)\', \'121\', \'HERI HARTATO\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13673,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, \'AR20150300000041\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'HERI HARTATO\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.078003883361816','2015-06-19 12:57:55'),(13674,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\', \'AR20150300000041\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'HERI HARTATO\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.010001182556152','2015-06-19 12:57:55'),(13675,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, \'AR20150300000041\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'HERI HARTATO\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 12:57:55'),(13676,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\', \'AR20150300000041\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'HERI HARTATO\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 12:57:55'),(13677,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, \'AR20150300000041\', \'SERVICE FEE\', \'20\', \'HERI HARTATO\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13678,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\', \'AR20150300000041\', 10, \'SERVICE FEE\', \'58\', \'HERI HARTATO\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13679,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, \'AR20150300000041\', \'SERVICE FEE\', \'20\', \'HERI HARTATO\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0090010166168213','2015-06-19 12:57:55'),(13680,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, \'AR20150300000041\', \'SERVICE FEE\', \'40\', \'HERI HARTATO\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000085]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 12:57:55'),(13681,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000041\'','artransaction/directInvoicePosting','0.0079998970031738','2015-06-19 12:57:55'),(13682,2,3,'192.168.0.109','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, \'153\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'0\', \'0\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.024002075195312','2015-06-19 13:09:30'),(13683,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (157, \'1\', \'3\', \'133\', \'sewa rumah\', \'0\', \'7\', \'0\', \'0\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.013000011444092','2015-06-19 13:09:30'),(13684,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'0\' WHERE `ID` =  157','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 13:09:30'),(13685,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, \'131\', \'INV2015\', \'2015-06-16\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'750\', \'750\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.0099999904632568','2015-06-19 13:09:38'),(13686,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (158, \'1\', \'2\', \'58\', \'BALANCE OF SERVICE FEE\', \'707.55\', \'2\', \'6\', \'42.45\', \'750\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010011196136475','2015-06-19 13:09:38'),(13687,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'42.45\', `totalAmount` = \'750\' WHERE `ID` =  158','Artransaction/saveNewDirectSaleInvoiceCharges','0.010999917984009','2015-06-19 13:09:38'),(13688,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 13:10:20'),(13689,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000042\', `updateAble` = \'0\' WHERE `ID` =  \'158\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 13:10:20'),(13690,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\', \'AR20150300000042\', \'INV2015[00000087]\', \'Posting Direct Sales Invoices [ INV2015[00000087] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 750, 750, \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-06-19 13:10:20'),(13691,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, \'AR20150300000042\', \'BALANCE OF SERVICE FEE\', \'20\', \'DIMON\', 707.55, \'1\', \'1\', \'707.55\', \'3\', \'2015\', \'1\', \'INV2015[00000087]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.049003124237061','2015-06-19 13:10:20'),(13692,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\', \'AR20150300000042\', 2, \'BALANCE OF SERVICE FEE\', \'58\', \'DIMON\', 707.55, \'1\', \'1\', \'707.55\', \'3\', \'2015\', \'1\', \'INV2015[00000087]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 13:10:20'),(13693,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, \'AR20150300000042\', \'BALANCE OF SERVICE FEE\', \'20\', \'DIMON\', 42.45, \'1\', \'1\', \'42.45\', \'3\', \'2015\', \'1\', \'INV2015[00000087]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 13:10:20'),(13694,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\', 4, \'AR20150300000042\', \'BALANCE OF SERVICE FEE\', \'40\', \'DIMON\', 42.45, \'1\', \'1\', \'42.45\', \'3\', \'2015\', \'1\', \'INV2015[00000087]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.004000186920166','2015-06-19 13:10:20'),(13695,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 750, `total_amount_cr` = 750, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000042\'','artransaction/directInvoicePosting','0.0010008811950684','2015-06-19 13:10:20'),(13696,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `customerPoNo` = \'\', `termsID` = \'9\', `projectID` = \'\', `salesInvoiceDate` = \'2015-04-02\', `memo` = \'\', `customerID` = \'153\', `shipToID` = \'null\' WHERE `ID` =  \'157\'','Artransaction/update_saleInvoice_header','0.00099992752075195','2015-06-19 13:11:48'),(13697,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'3\', `accountNoID` = \'133\', `chargeDescription` = \'sewa rumah\', `amountExcludedTax` = \'900\', `taxID` = \'7\', `taxRate` = \'0\', `taxAmount` = \'0\', `amountIncludedTax` = \'900\' WHERE `ID` =  \'712\'','Artransaction/updateCharge','0.00099992752075195','2015-06-19 13:12:22'),(13698,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'900\', `totalReceivable` = \'900\' WHERE `ID` =  \'157\'','Artransaction/updateCharge','0.00099992752075195','2015-06-19 13:12:22'),(13699,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 122 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.02000093460083','2015-06-19 13:12:48'),(13700,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000122\', `updateAble` = \'0\' WHERE `ID` =  \'157\'','artransaction/directInvoicePosting','0.010001182556152','2015-06-19 13:12:48'),(13701,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000122\', \'INV2015[00000086]\', \'Posting Direct Sales Invoices [ INV2015[00000086] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 900, 900, \'3\')','artransaction/directInvoicePosting','0.0079998970031738','2015-06-19 13:12:48'),(13702,2,3,'192.168.0.109','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, \'AR20150100000122\', \'sewa rumah\', \'20\', \'MUHAMMAT NURI\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000086]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 13:12:48'),(13703,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000122\', 2, \'sewa rumah\', \'133\', \'MUHAMMAT NURI\', 900, \'1\', \'1\', \'900\', \'1\', \'2015\', \'1\', \'INV2015[00000086]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010008811950684','2015-06-19 13:12:48'),(13704,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000122\'','artransaction/directInvoicePosting','0.007000207901001','2015-06-19 13:12:48'),(13705,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\', \'165\', \'\', \'\', \'RP20150619\', \'2015-06-16\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000081] 	\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.027002096176147','2015-06-19 13:14:46'),(13706,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 152, \'152\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.035001993179321','2015-06-19 13:14:46'),(13707,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'152\'','arTransaction/saveNewReceivePayment','0.013000011444092','2015-06-19 13:14:46'),(13708,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\', \'166\', \'\', \'\', \'RP20150619\', \'2015-06-16\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000083]\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.031002044677734','2015-06-19 13:15:46'),(13709,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 153, \'154\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.0010001659393311','2015-06-19 13:15:46'),(13710,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'154\'','arTransaction/saveNewReceivePayment','0.0069999694824219','2015-06-19 13:15:46'),(13711,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\', \'167\', \'\', \'\', \'RP20150619\', \'2015-06-16\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000085]\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.014001131057739','2015-06-19 13:16:57'),(13712,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 154, \'156\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0','2015-06-19 13:16:57'),(13713,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'156\'','arTransaction/saveNewReceivePayment','0.022002220153809','2015-06-19 13:16:57'),(13714,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\', \'131\', \'\', \'\', \'RP20150619\', \'2015-06-16\', \'5\', 0, \'750\', \'68\', \'INV2015[00000087] 	\', \'0\', \'0\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.044002056121826','2015-06-19 13:18:05'),(13715,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 155, \'158\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.0020010471343994','2015-06-19 13:18:05'),(13716,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'158\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 13:18:05'),(13717,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'481\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13718,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000039\'','Gltransaction/journalPosting','0.099005937576294','2015-06-19 13:19:26'),(13719,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.042001962661743','2015-06-19 13:19:26'),(13720,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:26'),(13721,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:26'),(13722,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13723,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0099999904632568','2015-06-19 13:19:26'),(13724,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13725,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0050010681152344','2015-06-19 13:19:26'),(13726,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13727,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 13:19:26'),(13728,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0070009231567383','2015-06-19 13:19:26'),(13729,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:19:26'),(13730,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 13:19:26'),(13731,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'482\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:19:26'),(13732,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000040\'','Gltransaction/journalPosting','0.015001058578491','2015-06-19 13:19:26'),(13733,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 13:19:26'),(13734,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0060009956359863','2015-06-19 13:19:26'),(13735,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0060000419616699','2015-06-19 13:19:26'),(13736,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0060000419616699','2015-06-19 13:19:26'),(13737,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:26'),(13738,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 13:19:26'),(13739,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:19:26'),(13740,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13741,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13742,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13743,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:26'),(13744,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13745,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'485\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:26'),(13746,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000041\'','Gltransaction/journalPosting','0.015001058578491','2015-06-19 13:19:27'),(13747,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:27'),(13748,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0','2015-06-19 13:19:27'),(13749,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:27'),(13750,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13751,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13752,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010011196136475','2015-06-19 13:19:27'),(13753,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13754,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13755,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.016000986099243','2015-06-19 13:19:27'),(13756,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13757,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:19:27'),(13758,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:19:27'),(13759,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'486\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:19:27'),(13760,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000042\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:19:27'),(13761,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 13:19:27'),(13762,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13763,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:19:27'),(13764,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:19:27'),(13765,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'152\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13766,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0019998550415039','2015-06-19 13:20:07'),(13767,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000043\' WHERE `ID` =  \'152\'','artransaction/paymentPosting','0.013001203536987','2015-06-19 13:20:07'),(13768,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\', \'AR20150300000043\', \'RP20150619[00000083]\', \'Posting Received Payment [ RP20150619[00000083] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.032002210617065','2015-06-19 13:20:07'),(13769,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\', \'AR20150300000043\', 1, \'WASAT\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000083]\', \'2\')','artransaction/paymentPosting','0.031001806259155','2015-06-19 13:20:07'),(13770,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, \'AR20150300000043\', \'WASAT\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000083]\', \'2\')','artransaction/paymentPosting','0.0080001354217529','2015-06-19 13:20:07'),(13771,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'153\' AND `updateAble` =  1','artransaction/paymentPosting','0.0010001659393311','2015-06-19 13:20:07'),(13772,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0090000629425049','2015-06-19 13:20:07'),(13773,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000044\' WHERE `ID` =  \'153\'','artransaction/paymentPosting','0','2015-06-19 13:20:07'),(13774,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\', \'AR20150300000044\', \'RP20150619[00000084]\', \'Posting Received Payment [ RP20150619[00000084] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13775,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\', \'AR20150300000044\', 1, \'WAQAR AHMAD\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000084]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13776,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, \'AR20150300000044\', \'WAQAR AHMAD\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000084]\', \'2\')','artransaction/paymentPosting','0.0010011196136475','2015-06-19 13:20:07'),(13777,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'154\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13778,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13779,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000045\' WHERE `ID` =  \'154\'','artransaction/paymentPosting','0.0060009956359863','2015-06-19 13:20:07'),(13780,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\', \'AR20150300000045\', \'RP20150619[00000085]\', \'Posting Received Payment [ RP20150619[00000085] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07');
INSERT INTO `logg_bak` VALUES (13781,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\', \'AR20150300000045\', 1, \'HERI HARTATO\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000085]\', \'2\')','artransaction/paymentPosting','0.0010001659393311','2015-06-19 13:20:07'),(13782,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, \'AR20150300000045\', \'HERI HARTATO\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000085]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13783,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'155\' AND `updateAble` =  1','artransaction/paymentPosting','0','2015-06-19 13:20:07'),(13784,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13785,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000046\' WHERE `ID` =  \'155\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13786,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\', \'AR20150300000046\', \'RP20150619[00000086]\', \'Posting Received Payment [ RP20150619[00000086] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', 750, 750, \'2\')','artransaction/paymentPosting','0.012001037597656','2015-06-19 13:20:07'),(13787,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\', \'AR20150300000046\', 1, \'DIMON\', \'20\', 750, 1, \'1\', \'750\', \'3\', \'2015\', \'1\', \'RP20150619[00000086]\', \'2\')','artransaction/paymentPosting','0.013999938964844','2015-06-19 13:20:07'),(13788,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, \'AR20150300000046\', \'DIMON\', \'25\', 750, 1, \'1\', \'750\', \'3\', \'2015\', \'1\', \'RP20150619[00000086]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:20:07'),(13789,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'488\'','Gltransaction/journalPosting','0.020001173019409','2015-06-19 13:20:22'),(13790,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000043\'','Gltransaction/journalPosting','0.063004016876221','2015-06-19 13:20:22'),(13791,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.04200291633606','2015-06-19 13:20:22'),(13792,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:20:22'),(13793,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'489\'','Gltransaction/journalPosting','0.0010008811950684','2015-06-19 13:20:22'),(13794,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000044\'','Gltransaction/journalPosting','0','2015-06-19 13:20:22'),(13795,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 13:20:22'),(13796,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0049998760223389','2015-06-19 13:20:22'),(13797,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'490\'','Gltransaction/journalPosting','0.0260009765625','2015-06-19 13:20:23'),(13798,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000045\'','Gltransaction/journalPosting','0.043002128601074','2015-06-19 13:20:23'),(13799,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.016000986099243','2015-06-19 13:20:23'),(13800,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:20:23'),(13801,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'491\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:20:23'),(13802,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000046\'','Gltransaction/journalPosting','0.014001131057739','2015-06-19 13:20:23'),(13803,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0070009231567383','2015-06-19 13:20:23'),(13804,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:20:23'),(13805,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, \'68\', \'50\', \'OPN2015\', \'2015-06-16\', \'MILLEAGE\', \'EMA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.20901203155518','2015-06-19 13:23:01'),(13806,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (58, \'2\', \'TO SOCSO\', \'1\', \'87\', \'50\', \'50\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.055002927780151','2015-06-19 13:23:01'),(13807,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, \'68\', \'50\', \'OPN2015\', \'2015-06-16\', \'MILLEAGE\', \'NIA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.021001100540161','2015-06-19 13:25:17'),(13808,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (59, \'2\', \'TO CIDB\', \'1\', \'87\', \'50\', \'50\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.0020010471343994','2015-06-19 13:25:17'),(13809,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'59\'','gltransaction/otherpaymentposting','0.0099999904632568','2015-06-19 13:25:55'),(13810,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 13:25:55'),(13811,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000051\' WHERE `ID` =  \'59\'','gltransaction/otherpaymentposting','0.013000965118408','2015-06-19 13:25:55'),(13812,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\', \'AP20150300000051\', \'Other Payment [OPN2015[00000038]]]\', \'Other Payment [OPN2015[00000038]]]\', \'3\', \'2015-06-16\', \'2015\', \'3\', 50, 50, \'2\')','gltransaction/otherpaymentposting','0.048002958297729','2015-06-19 13:25:55'),(13813,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\', \'AP20150300000051\', 1, \'TO CIDB\', \'25\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000038]\', \'2\')','gltransaction/otherpaymentposting','0.036001920700073','2015-06-19 13:25:55'),(13814,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\', \'AP20150300000051\', 2, \'TO CIDB\', \'87\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000038]\', \'2\')','gltransaction/otherpaymentposting','0.002000093460083','2015-06-19 13:25:55'),(13815,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000051\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 13:25:55'),(13816,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'58\'','gltransaction/otherpaymentposting','0.002000093460083','2015-06-19 13:25:55'),(13817,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 13:25:55'),(13818,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000052\' WHERE `ID` =  \'58\'','gltransaction/otherpaymentposting','0.0010011196136475','2015-06-19 13:25:55'),(13819,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\', \'AP20150300000052\', \'Other Payment [OPN2015[00000037]]]\', \'Other Payment [OPN2015[00000037]]]\', \'3\', \'2015-06-16\', \'2015\', \'3\', 50, 50, \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 13:25:55'),(13820,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\', \'AP20150300000052\', 1, \'TO SOCSO\', \'25\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000037]\', \'2\')','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 13:25:55'),(13821,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\', \'AP20150300000052\', 2, \'TO SOCSO\', \'87\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000037]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 13:25:55'),(13822,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000052\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 13:25:55'),(13823,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'492\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:26:08'),(13824,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000051\'','Gltransaction/journalPosting','0.05500316619873','2015-06-19 13:26:08'),(13825,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.043002843856812','2015-06-19 13:26:08'),(13826,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'87\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:26:08'),(13827,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'493\'','Gltransaction/journalPosting','0.021000862121582','2015-06-19 13:26:08'),(13828,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000052\'','Gltransaction/journalPosting','0.010001182556152','2015-06-19 13:26:08'),(13829,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 13:26:08'),(13830,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'87\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.018001079559326','2015-06-19 13:26:08'),(13831,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-06-16\', \'IMM/FW/TX1434509162957\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.44402503967285','2015-06-19 13:48:36'),(13832,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (74, \'2\', \'66\', \'1\', \'LEVY - 3 Orang\', \'4344\', \'0\', \'23\', \'0\', \'4344\')','purchasetransaction/saveCharge','0.4100239276886','2015-06-19 13:48:36'),(13833,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4344\' WHERE `ID` =  74','purchasetransaction/saveCharge','0.016000986099243','2015-06-19 13:48:36'),(13834,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =74','purchasetransaction/saveCharge','0.00099992752075195','2015-06-19 13:48:36'),(13835,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'153\', \'\', \'\', \'RP20150619\', \'2015-05-06\', \'2\', 0, \'900\', \'68\', \'\', \'0\', \'0\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.022001981735229','2015-06-19 13:50:14'),(13836,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 156, \'157\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.021001100540161','2015-06-19 13:50:14'),(13837,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'157\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 13:50:14'),(13838,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `projectID` = \'\', `termsID` = \'9\', `invoiceDate` = \'2015-06-17\', `memo` = \'\', `supplierInvoiceNo` = \'IMM/FW/TX1434509162957\' WHERE `ID` =  \'74\'','purchasetransaction/update_purchaseInvoice_header','0.022001028060913','2015-06-19 13:50:32'),(13839,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'156\' AND `updateAble` =  1','artransaction/paymentPosting','0.023000955581665','2015-06-19 13:50:51'),(13840,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 143 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.0019998550415039','2015-06-19 13:50:51'),(13841,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000143\' WHERE `ID` =  \'156\'','artransaction/paymentPosting','0.014001131057739','2015-06-19 13:50:51'),(13842,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000143\', \'RP20150619[00000087]\', \'Posting Received Payment [ RP20150619[00000087] ]\', \'2\', \'2015-05-06\', \'2015\', \'2\', 900, 900, \'3\')','artransaction/paymentPosting','0.032002210617065','2015-06-19 13:50:51'),(13843,2,3,'192.168.0.109','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\', \'AR20150200000143\', 1, \'MUHAMMAT NURI\', \'20\', 900, 1, \'1\', \'900\', \'2\', \'2015\', \'1\', \'RP20150619[00000087]\', \'3\')','artransaction/paymentPosting','0.047003030776978','2015-06-19 13:50:52'),(13844,2,3,'192.168.0.109','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, \'AR20150200000143\', \'MUHAMMAT NURI\', \'129\', 900, 1, \'1\', \'900\', \'2\', \'2015\', \'1\', \'RP20150619[00000087]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 13:50:52'),(13845,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'74\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.017000913619995','2015-06-19 13:51:01'),(13846,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.012001037597656','2015-06-19 13:51:01'),(13847,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000053\' WHERE `ID` =  \'74\'','Aptransaction/invoicePosting','0.0080008506774902','2015-06-19 13:51:01'),(13848,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\', \'AP20150300000053\', \'PI2015[00000056]\', \'Purchase Invoice Confirm [ PI2015[00000056] ]\', \'3\', \'2015-06-17\', \'2015\', \'3\', 4344, 4344, \'2\')','Aptransaction/invoicePosting','0.0060000419616699','2015-06-19 13:51:01'),(13849,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\', \'AP20150300000053\', 1, \'LEVY - 3 Orang\', \'64\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PI2015[00000056]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0019998550415039','2015-06-19 13:51:01'),(13850,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, \'AP20150300000053\', \'LEVY - 3 Orang\', \'66\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PI2015[00000056]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-06-19 13:51:01'),(13851,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4344, `total_amount_cr` = 4344, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000053\'','Aptransaction/invoicePosting','0.031002044677734','2015-06-19 13:51:01'),(13852,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'494\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:51:22'),(13853,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000143\'','Gltransaction/journalPosting','0.094005107879639','2015-06-19 13:51:22'),(13854,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.030000925064087','2015-06-19 13:51:22'),(13855,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 13:51:22'),(13856,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'487\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:51:37'),(13857,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000122\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 13:51:38'),(13858,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.029001951217651','2015-06-19 13:51:38'),(13859,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:51:38'),(13860,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\', \'4344\', \'68\', \'PP20150619\', \'5\', \'1\', \'1.00000\', \'2015-06-16\', \'IMM/FW/TX1434509162957\', 0, \'\', \'\', \'0.00\', \'4344.00\', \'4344.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.17401003837585','2015-06-19 13:52:35'),(13861,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 55,1,ID,totalAmount, totalPayable  ,0.00,4344,2 from comp_supplier_invoice where ID=74','aptransaction/saveSupplierPayment','0.043002128601074','2015-06-19 13:52:35'),(13862,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4344, totalPayable = totalAmount - amountPaid  where ID = 74','aptransaction/saveSupplierPayment','0.0059998035430908','2015-06-19 13:52:35'),(13863,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'55\'','aptransaction/paymentPosting','0.002000093460083','2015-06-19 13:52:47'),(13864,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.0020010471343994','2015-06-19 13:52:47'),(13865,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000054\' WHERE `ID` =  \'55\'','aptransaction/paymentPosting','0.017000913619995','2015-06-19 13:52:47'),(13866,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\', \'AP20150300000054\', \'PP20150619[00000050]\', \'Payment [ PP20150619[00000050] ]\', \'3\', \'2015-06-16\', \'2015\', \'3\', 4344, 4344, \'2\')','aptransaction/paymentPosting','0.015001058578491','2015-06-19 13:52:47'),(13867,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\', \'AP20150300000054\', 1, \'PI2015[00000056]\', \'25\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PP20150619[00000055]\', \'2\')','aptransaction/paymentPosting','0.0260009765625','2015-06-19 13:52:47'),(13868,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, \'AP20150300000054\', \'PI2015[00000056]\', \'64\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'PP20150619[00000055]\', \'1\', \'2\')','aptransaction/paymentPosting','0.002000093460083','2015-06-19 13:52:47'),(13869,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4344, `total_amount_cr` = 4344, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000054\'','aptransaction/paymentPosting','0.00099992752075195','2015-06-19 13:52:47'),(13870,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'495\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:53:03'),(13871,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000053\'','Gltransaction/journalPosting','0.089004993438721','2015-06-19 13:53:03'),(13872,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.04200291633606','2015-06-19 13:53:03'),(13873,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:53:03'),(13874,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'496\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 13:53:04'),(13875,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000054\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 13:53:04'),(13876,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 13:53:04'),(13877,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.013000965118408','2015-06-19 13:53:04'),(13878,2,3,'192.168.0.109','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, \'155\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'700\', \'700\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.039001941680908','2015-06-19 14:03:12'),(13879,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (159, \'1\', \'3\', \'133\', \'sewa rumah\', \'700\', \'7\', \'0\', \'0\', \'700\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.043002843856812','2015-06-19 14:03:12'),(13880,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'700\' WHERE `ID` =  159','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 14:03:12'),(13881,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 123 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 14:03:42'),(13882,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000123\', `updateAble` = \'0\' WHERE `ID` =  \'159\'','artransaction/directInvoicePosting','0.015001058578491','2015-06-19 14:03:42'),(13883,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000123\', \'INV2015[00000088]\', \'Posting Direct Sales Invoices [ INV2015[00000088] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 700, 700, \'3\')','artransaction/directInvoicePosting','0.034002065658569','2015-06-19 14:03:42'),(13884,2,3,'192.168.0.109','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, \'AR20150100000123\', \'sewa rumah\', \'20\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', 700, \'1\', \'1\', \'700\', \'1\', \'2015\', \'1\', \'INV2015[00000088]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0260009765625','2015-06-19 14:03:42'),(13885,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000123\', 2, \'sewa rumah\', \'133\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', 700, \'1\', \'1\', \'700\', \'1\', \'2015\', \'1\', \'INV2015[00000088]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:03:42'),(13886,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000123\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:03:42'),(13887,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'155\', \'\', \'\', \'RP20150619\', \'2015-04-07\', \'2\', 0, \'700\', \'121\', \'\', \'0\', \'0\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.026001214981079','2015-06-19 14:07:09'),(13888,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 157, \'159\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.031001806259155','2015-06-19 14:07:09'),(13889,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'159\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 14:07:09'),(13890,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'497\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:07:39'),(13891,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000123\'','Gltransaction/journalPosting','0.076004981994629','2015-06-19 14:07:39'),(13892,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.019001007080078','2015-06-19 14:07:39'),(13893,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:07:39'),(13894,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\', \'ABDUL HOLIK\', \'\', \'W141\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.012001037597656','2015-06-19 14:07:50'),(13895,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\', \'SAPIK\', \'\', \'W142\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.24001407623291','2015-06-19 14:08:11'),(13896,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\', \'SUBEIRI\', \'\', \'W146\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-19\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.014001131057739','2015-06-19 14:10:05'),(13897,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'157\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:13:52'),(13898,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 124 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:13:52'),(13899,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000124\' WHERE `ID` =  \'157\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:13:52'),(13900,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000124\', \'RP20150619[00000088]\', \'Posting Received Payment [ RP20150619[00000088] ]\', \'2\', \'2015-04-07\', \'2015\', \'1\', 700, 700, \'3\')','artransaction/paymentPosting','0.033002138137817','2015-06-19 14:13:52'),(13901,2,3,'192.168.0.109','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\', \'AR20150100000124\', 1, \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', \'20\', 700, 1, \'1\', \'700\', \'1\', \'2015\', \'1\', \'RP20150619[00000088]\', \'3\')','artransaction/paymentPosting','0.029001951217651','2015-06-19 14:13:52'),(13902,2,3,'192.168.0.109','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, \'AR20150100000124\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', \'129\', 700, 1, \'1\', \'700\', \'1\', \'2015\', \'1\', \'RP20150619[00000088]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-19 14:13:52'),(13903,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'498\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 14:14:41'),(13904,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000124\'','Gltransaction/journalPosting','0.041001796722412','2015-06-19 14:14:41'),(13905,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.028001070022583','2015-06-19 14:14:41'),(13906,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:14:41'),(13907,2,3,'192.168.0.109','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, \'157\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.022001028060913','2015-06-19 14:22:58'),(13908,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (160, \'1\', \'3\', \'133\', \'sewa rumah\', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.040002107620239','2015-06-19 14:22:58'),(13909,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  160','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 14:22:59'),(13910,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 125 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.015000820159912','2015-06-19 14:23:32'),(13911,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000125\', `updateAble` = \'0\' WHERE `ID` =  \'160\'','artransaction/directInvoicePosting','0.0070011615753174','2015-06-19 14:23:32'),(13912,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000125\', \'INV2015[00000089]\', \'Posting Direct Sales Invoices [ INV2015[00000089] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.017000913619995','2015-06-19 14:23:32'),(13913,2,3,'192.168.0.109','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, \'AR20150100000125\', \'sewa rumah\', \'20\', \'MOHD FADZLI BIN NORJAE\', 800, \'1\', \'1\', \'800\', \'1\', \'2015\', \'1\', \'INV2015[00000089]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0260009765625','2015-06-19 14:23:32'),(13914,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000125\', 2, \'sewa rumah\', \'133\', \'MOHD FADZLI BIN NORJAE\', 800, \'1\', \'1\', \'800\', \'1\', \'2015\', \'1\', \'INV2015[00000089]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:23:32'),(13915,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000125\'','artransaction/directInvoicePosting','0.013000965118408','2015-06-19 14:23:32'),(13916,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'499\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:23:58'),(13917,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000125\'','Gltransaction/journalPosting','0.084005117416382','2015-06-19 14:23:58'),(13918,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.053003072738647','2015-06-19 14:23:58'),(13919,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:23:58'),(13920,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, \'168\', \'INV2015\', \'2015-06-17\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.044003009796143','2015-06-19 14:24:12'),(13921,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (161, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.030002117156982','2015-06-19 14:24:12'),(13922,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  161','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010001659393311','2015-06-19 14:24:12'),(13923,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'161\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.010000944137573','2015-06-19 14:24:30'),(13924,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'161\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-19 14:24:30'),(13925,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'161\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.013000011444092','2015-06-19 14:25:20'),(13926,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'161\'','Artransaction/saveNewSaleDetailOnlyCharges','0.012001037597656','2015-06-19 14:25:20'),(13927,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'161\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.016000986099243','2015-06-19 14:25:45'),(13928,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'161\'','Artransaction/saveNewSaleDetailOnlyCharges','0.018001079559326','2015-06-19 14:25:45'),(13929,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'157\', \'\', \'\', \'RP20150619\', \'2015-04-07\', \'2\', 0, \'800\', \'68\', \'\', \'0\', \'0\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.003000020980835','2015-06-19 14:25:46'),(13930,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 158, \'160\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.049003124237061','2015-06-19 14:25:46'),(13931,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'160\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 14:25:46'),(13932,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'158\' AND `updateAble` =  1','artransaction/paymentPosting','0.050003051757812','2015-06-19 14:26:06'),(13933,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 126 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.017001152038574','2015-06-19 14:26:06'),(13934,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000126\' WHERE `ID` =  \'158\'','artransaction/paymentPosting','0.0099999904632568','2015-06-19 14:26:06'),(13935,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000126\', \'RP20150619[00000089]\', \'Posting Received Payment [ RP20150619[00000089] ]\', \'2\', \'2015-04-07\', \'2015\', \'1\', 800, 800, \'3\')','artransaction/paymentPosting','0.0260009765625','2015-06-19 14:26:06'),(13936,2,3,'192.168.0.109','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\', \'AR20150100000126\', 1, \'MOHD FADZLI BIN NORJAE\', \'20\', 800, 1, \'1\', \'800\', \'1\', \'2015\', \'1\', \'RP20150619[00000089]\', \'3\')','artransaction/paymentPosting','0.017000913619995','2015-06-19 14:26:06'),(13937,2,3,'192.168.0.109','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, \'AR20150100000126\', \'MOHD FADZLI BIN NORJAE\', \'129\', 800, 1, \'1\', \'800\', \'1\', \'2015\', \'1\', \'RP20150619[00000089]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:26:06'),(13938,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'161\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.011000871658325','2015-06-19 14:26:16'),(13939,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'161\'','Artransaction/saveNewSaleDetailOnlyCharges','0.011000871658325','2015-06-19 14:26:16'),(13940,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'500\'','Gltransaction/journalPosting','0.015001058578491','2015-06-19 14:27:20'),(13941,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000126\'','Gltransaction/journalPosting','0.15800881385803','2015-06-19 14:27:20'),(13942,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0060009956359863','2015-06-19 14:27:20'),(13943,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.005000114440918','2015-06-19 14:27:20'),(13944,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, \'169\', \'INV2015\', \'2015-06-17\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.050003051757812','2015-06-19 14:27:29'),(13945,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (162, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.034002065658569','2015-06-19 14:27:29'),(13946,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  162','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 14:27:29'),(13947,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'162\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.026002168655396','2015-06-19 14:27:47'),(13948,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'162\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0010001659393311','2015-06-19 14:27:47'),(13949,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'162\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.01200008392334','2015-06-19 14:28:30'),(13950,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'162\'','Artransaction/saveNewSaleDetailOnlyCharges','0.002000093460083','2015-06-19 14:28:30'),(13951,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'162\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0070011615753174','2015-06-19 14:29:14'),(13952,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'162\'','Artransaction/saveNewSaleDetailOnlyCharges','0.020001173019409','2015-06-19 14:29:14'),(13953,2,3,'192.168.0.109','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, \'158\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.013000965118408','2015-06-19 14:34:30'),(13954,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (163, \'1\', \'3\', \'133\', \'sewa rumah\', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 14:34:30'),(13955,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  163','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-19 14:34:30'),(13956,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 127 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.017000913619995','2015-06-19 14:34:56'),(13957,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000127\', `updateAble` = \'0\' WHERE `ID` =  \'163\'','artransaction/directInvoicePosting','0.0090000629425049','2015-06-19 14:34:56'),(13958,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000127\', \'INV2015[00000092]\', \'Posting Direct Sales Invoices [ INV2015[00000092] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.10600590705872','2015-06-19 14:34:56'),(13959,2,3,'192.168.0.109','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, \'AR20150100000127\', \'sewa rumah\', \'20\', \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', 800, \'1\', \'1\', \'800\', \'1\', \'2015\', \'1\', \'INV2015[00000092]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.15000796318054','2015-06-19 14:34:56'),(13960,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000127\', 2, \'sewa rumah\', \'133\', \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', 800, \'1\', \'1\', \'800\', \'1\', \'2015\', \'1\', \'INV2015[00000092]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:34:56'),(13961,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000127\'','artransaction/directInvoicePosting','0.019001007080078','2015-06-19 14:34:56'),(13962,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'501\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:35:29'),(13963,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000127\'','Gltransaction/journalPosting','0.043001890182495','2015-06-19 14:35:29'),(13964,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.028000831604004','2015-06-19 14:35:29'),(13965,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0020008087158203','2015-06-19 14:35:29'),(13966,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'162\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'74.06\', \'2\', \'6\', \'4.44\', \'78.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.039002180099487','2015-06-19 14:35:46'),(13967,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'4.44\', `totalAmount` = \'1800\', `totalReceivable` = \'1800\' WHERE `ID` =  \'162\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-19 14:35:46'),(13968,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, \'170\', \'INV2015\', \'2015-06-17\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.014001131057739','2015-06-19 14:36:49'),(13969,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (164, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.012001037597656','2015-06-19 14:36:49'),(13970,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  164','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 14:36:49'),(13971,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'158\', \'\', \'\', \'RP20150619\', \'2015-04-17\', \'2\', 0, \'800\', \'68\', \'\', \'0\', \'0\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.013000965118408','2015-06-19 14:37:01'),(13972,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 159, \'163\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.018000841140747','2015-06-19 14:37:01'),(13973,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'163\'','arTransaction/saveNewReceivePayment','0.023002147674561','2015-06-19 14:37:01'),(13974,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'164\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.015001058578491','2015-06-19 14:37:12'),(13975,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'164\'','Artransaction/saveNewSaleDetailOnlyCharges','0.011001110076904','2015-06-19 14:37:12'),(13976,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'159\' AND `updateAble` =  1','artransaction/paymentPosting','0.011000156402588','2015-06-19 14:37:43'),(13977,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 128 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.013000965118408','2015-06-19 14:37:43'),(13978,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000128\' WHERE `ID` =  \'159\'','artransaction/paymentPosting','0.0060000419616699','2015-06-19 14:37:43'),(13979,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000128\', \'RP20150619[00000090]\', \'Posting Received Payment [ RP20150619[00000090] ]\', \'2\', \'2015-04-17\', \'2015\', \'1\', 800, 800, \'3\')','artransaction/paymentPosting','0.035001993179321','2015-06-19 14:37:43'),(13980,2,3,'192.168.0.109','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\', \'AR20150100000128\', 1, \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', \'20\', 800, 1, \'1\', \'800\', \'1\', \'2015\', \'1\', \'RP20150619[00000090]\', \'3\')','artransaction/paymentPosting','0.035001993179321','2015-06-19 14:37:43'),(13981,2,3,'192.168.0.109','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, \'AR20150100000128\', \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', \'129\', 800, 1, \'1\', \'800\', \'1\', \'2015\', \'1\', \'RP20150619[00000090]\', \'3\')','artransaction/paymentPosting','0','2015-06-19 14:37:43'),(13982,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'164\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0090010166168213','2015-06-19 14:37:48'),(13983,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'164\'','Artransaction/saveNewSaleDetailOnlyCharges','0.010000944137573','2015-06-19 14:37:48'),(13984,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'502\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:38:10'),(13985,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000128\'','Gltransaction/journalPosting','0.056003093719482','2015-06-19 14:38:10'),(13986,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.036001920700073','2015-06-19 14:38:10'),(13987,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:38:10'),(13988,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'164\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001028060913','2015-06-19 14:38:10'),(13989,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'164\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-19 14:38:10'),(13990,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'164\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001981735229','2015-06-19 14:38:30'),(13991,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'164\'','Artransaction/saveNewSaleDetailOnlyCharges','0.017001152038574','2015-06-19 14:38:31'),(13992,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.017000913619995','2015-06-19 14:39:10'),(13993,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000047\', `updateAble` = \'0\' WHERE `ID` =  \'161\'','artransaction/directInvoicePosting','0.003000020980835','2015-06-19 14:39:10'),(13994,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\', \'AR20150300000047\', \'INV2015[00000090]\', \'Posting Direct Sales Invoices [ INV2015[00000090] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.035001993179321','2015-06-19 14:39:10'),(13995,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, \'AR20150300000047\', \'LEVY\', \'20\', \'ABDUL HOLIK\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0260009765625','2015-06-19 14:39:10'),(13996,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\', \'AR20150300000047\', 2, \'LEVY\', \'59\', \'ABDUL HOLIK\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010011196136475','2015-06-19 14:39:10'),(13997,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, \'AR20150300000047\', \'IG (Insurance Guarantee)\', \'20\', \'ABDUL HOLIK\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(13998,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\', \'AR20150300000047\', 4, \'IG (Insurance Guarantee)\', \'121\', \'ABDUL HOLIK\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:10'),(13999,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, \'AR20150300000047\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'ABDUL HOLIK\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.015001058578491','2015-06-19 14:39:10'),(14000,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\', \'AR20150300000047\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'ABDUL HOLIK\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 14:39:10'),(14001,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, \'AR20150300000047\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'ABDUL HOLIK\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14002,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\', \'AR20150300000047\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'ABDUL HOLIK\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:10'),(14003,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, \'AR20150300000047\', \'SERVICE FEE\', \'20\', \'ABDUL HOLIK\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14004,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\', \'AR20150300000047\', 10, \'SERVICE FEE\', \'58\', \'ABDUL HOLIK\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14005,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, \'AR20150300000047\', \'SERVICE FEE\', \'20\', \'ABDUL HOLIK\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14006,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, \'AR20150300000047\', \'SERVICE FEE\', \'40\', \'ABDUL HOLIK\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000090]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14007,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000047\'','artransaction/directInvoicePosting','0.0030009746551514','2015-06-19 14:39:10'),(14008,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.012000799179077','2015-06-19 14:39:10'),(14009,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000048\', `updateAble` = \'0\' WHERE `ID` =  \'162\'','artransaction/directInvoicePosting','0.010000944137573','2015-06-19 14:39:10'),(14010,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\', \'AR20150300000048\', \'INV2015[00000091]\', \'Posting Direct Sales Invoices [ INV2015[00000091] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 1800, 1800, \'2\')','artransaction/directInvoicePosting','0.024000883102417','2015-06-19 14:39:10'),(14011,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, \'AR20150300000048\', \'LEVY\', \'20\', \'SAPIK\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14012,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\', \'AR20150300000048\', 2, \'LEVY\', \'59\', \'SAPIK\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:10'),(14013,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, \'AR20150300000048\', \'IG (Insurance Guarantee)\', \'20\', \'SAPIK\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14014,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\', \'AR20150300000048\', 4, \'IG (Insurance Guarantee)\', \'121\', \'SAPIK\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14015,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, \'AR20150300000048\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'SAPIK\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14016,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\', \'AR20150300000048\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'SAPIK\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:10'),(14017,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, \'AR20150300000048\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'SAPIK\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14018,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\', \'AR20150300000048\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'SAPIK\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.003000020980835','2015-06-19 14:39:10'),(14019,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, \'AR20150300000048\', \'SERVICE FEE\', \'20\', \'SAPIK\', 74.06, \'1\', \'1\', \'74.06\', \'3\', \'2015\', \'5\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:10'),(14020,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\', \'AR20150300000048\', 10, \'SERVICE FEE\', \'58\', \'SAPIK\', 74.06, \'1\', \'1\', \'74.06\', \'3\', \'2015\', \'5\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 14:39:10'),(14021,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, \'AR20150300000048\', \'SERVICE FEE\', \'20\', \'SAPIK\', 4.44, \'1\', \'1\', \'4.44\', \'3\', \'2015\', \'5\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14022,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, \'AR20150300000048\', \'SERVICE FEE\', \'40\', \'SAPIK\', 4.44, \'1\', \'1\', \'4.44\', \'3\', \'2015\', \'5\', \'INV2015[00000091]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:10'),(14023,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1800, `total_amount_cr` = 1800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000048\'','artransaction/directInvoicePosting','0.021002054214478','2015-06-19 14:39:10'),(14024,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 14:39:11'),(14025,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000049\', `updateAble` = \'0\' WHERE `ID` =  \'164\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 14:39:11'),(14026,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\', \'AR20150300000049\', \'INV2015[00000093]\', \'Posting Direct Sales Invoices [ INV2015[00000093] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14027,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, \'AR20150300000049\', \'LEVY\', \'20\', \'SUBEIRI\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.038002014160156','2015-06-19 14:39:11'),(14028,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\', \'AR20150300000049\', 2, \'LEVY\', \'59\', \'SUBEIRI\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.013000965118408','2015-06-19 14:39:11'),(14029,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, \'AR20150300000049\', \'IG (Insurance Guarantee)\', \'20\', \'SUBEIRI\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 14:39:11'),(14030,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\', \'AR20150300000049\', 4, \'IG (Insurance Guarantee)\', \'121\', \'SUBEIRI\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-19 14:39:11'),(14031,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, \'AR20150300000049\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'SUBEIRI\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-19 14:39:11'),(14032,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\', \'AR20150300000049\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'SUBEIRI\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14033,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, \'AR20150300000049\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'SUBEIRI\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14034,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\', \'AR20150300000049\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'SUBEIRI\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14035,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, \'AR20150300000049\', \'SERVICE FEE\', \'20\', \'SUBEIRI\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14036,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\', \'AR20150300000049\', 10, \'SERVICE FEE\', \'58\', \'SUBEIRI\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14037,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, \'AR20150300000049\', \'SERVICE FEE\', \'20\', \'SUBEIRI\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14038,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, \'AR20150300000049\', \'SERVICE FEE\', \'40\', \'SUBEIRI\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000093]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010008811950684','2015-06-19 14:39:11'),(14039,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000049\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:39:11'),(14040,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\', \'168\', \'\', \'\', \'RP20150619\', \'2015-06-17\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.018001079559326','2015-06-19 14:39:55'),(14041,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 160, \'161\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.023000955581665','2015-06-19 14:39:55'),(14042,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'161\'','arTransaction/saveNewReceivePayment','0.0010001659393311','2015-06-19 14:39:55'),(14043,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\', \'169\', \'\', \'\', \'RP20150619\', \'2015-06-17\', \'5\', 0, \'1800\', \'68\', \'INV2015[00000091]\', \'0\', \'0\', \'0\', \'1800\')','arTransaction/saveNewReceivePayment','0.011000871658325','2015-06-19 14:40:40'),(14044,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 161, \'162\', \'0\', \'1800\')','arTransaction/saveNewReceivePayment','0.002000093460083','2015-06-19 14:40:40'),(14045,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'162\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-19 14:40:40'),(14046,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\', \'170\', \'\', \'\', \'RP20150619\', \'2015-06-17\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000093]\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.062004089355469','2015-06-19 14:41:25'),(14047,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 162, \'164\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.016000986099243','2015-06-19 14:41:25'),(14048,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'164\'','arTransaction/saveNewReceivePayment','0.28201603889465','2015-06-19 14:41:26'),(14049,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'160\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:41:52'),(14050,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0010001659393311','2015-06-19 14:41:52'),(14051,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000050\' WHERE `ID` =  \'160\'','artransaction/paymentPosting','0.012001037597656','2015-06-19 14:41:52'),(14052,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\', \'AR20150300000050\', \'RP20150619[00000091]\', \'Posting Received Payment [ RP20150619[00000091] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.034002065658569','2015-06-19 14:41:52'),(14053,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\', \'AR20150300000050\', 1, \'ABDUL HOLIK\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000091]\', \'2\')','artransaction/paymentPosting','0.048002004623413','2015-06-19 14:41:52'),(14054,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, \'AR20150300000050\', \'ABDUL HOLIK\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000091]\', \'2\')','artransaction/paymentPosting','0.0010011196136475','2015-06-19 14:41:52'),(14055,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'161\' AND `updateAble` =  1','artransaction/paymentPosting','0.0020010471343994','2015-06-19 14:41:52'),(14056,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0029997825622559','2015-06-19 14:41:52'),(14057,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000051\' WHERE `ID` =  \'161\'','artransaction/paymentPosting','0.0010001659393311','2015-06-19 14:41:52'),(14058,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\', \'AR20150300000051\', \'RP20150619[00000092]\', \'Posting Received Payment [ RP20150619[00000092] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 1800, 1800, \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:41:52'),(14059,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\', \'AR20150300000051\', 1, \'SAPIK\', \'20\', 1800, 1, \'1\', \'1800\', \'3\', \'2015\', \'1\', \'RP20150619[00000092]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:41:52'),(14060,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, \'AR20150300000051\', \'SAPIK\', \'25\', 1800, 1, \'1\', \'1800\', \'3\', \'2015\', \'1\', \'RP20150619[00000092]\', \'2\')','artransaction/paymentPosting','0.0010011196136475','2015-06-19 14:41:52'),(14061,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'162\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:41:52'),(14062,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.022001028060913','2015-06-19 14:41:52'),(14063,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000052\' WHERE `ID` =  \'162\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:41:52'),(14064,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\', \'AR20150300000052\', \'RP20150619[00000093]\', \'Posting Received Payment [ RP20150619[00000093] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.002000093460083','2015-06-19 14:41:52'),(14065,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\', \'AR20150300000052\', 1, \'SUBEIRI\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000093]\', \'2\')','artransaction/paymentPosting','0.024000883102417','2015-06-19 14:41:52'),(14066,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, \'AR20150300000052\', \'SUBEIRI\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150619[00000093]\', \'2\')','artransaction/paymentPosting','0.030002117156982','2015-06-19 14:41:52'),(14067,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'503\'','Gltransaction/journalPosting','0.011000871658325','2015-06-19 14:42:17'),(14068,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000047\'','Gltransaction/journalPosting','0.11500597000122','2015-06-19 14:42:17'),(14069,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.086004972457886','2015-06-19 14:42:17'),(14070,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.040002107620239','2015-06-19 14:42:17'),(14071,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.039002895355225','2015-06-19 14:42:17'),(14072,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.057003021240234','2015-06-19 14:42:17'),(14073,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.025002002716064','2015-06-19 14:42:17'),(14074,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:17'),(14075,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 14:42:17'),(14076,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:17'),(14077,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.019001007080078','2015-06-19 14:42:17'),(14078,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:42:17'),(14079,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:42:18'),(14080,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14081,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'504\'','Gltransaction/journalPosting','0.013999938964844','2015-06-19 14:42:18'),(14082,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000048\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 14:42:18'),(14083,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.02000093460083','2015-06-19 14:42:18'),(14084,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14085,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14086,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14087,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14088,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0070011615753174','2015-06-19 14:42:18'),(14089,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:42:18'),(14090,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14091,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14092,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 14:42:18'),(14093,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 14:42:18'),(14094,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:42:18'),(14095,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'505\'','Gltransaction/journalPosting','0.029000997543335','2015-06-19 14:42:18'),(14096,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000049\'','Gltransaction/journalPosting','0.025002002716064','2015-06-19 14:42:18'),(14097,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.030002117156982','2015-06-19 14:42:18'),(14098,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012000799179077','2015-06-19 14:42:18'),(14099,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 14:42:18'),(14100,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14101,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0060000419616699','2015-06-19 14:42:18'),(14102,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010008811950684','2015-06-19 14:42:18'),(14103,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 14:42:18'),(14104,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 14:42:18'),(14105,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-19 14:42:18'),(14106,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020008087158203','2015-06-19 14:42:18'),(14107,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-19 14:42:18'),(14108,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:42:18'),(14109,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'506\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 14:42:18'),(14110,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000050\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14111,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:42:18'),(14112,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14113,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'507\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14114,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000051\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14115,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012000799179077','2015-06-19 14:42:18'),(14116,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:18'),(14117,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'508\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:42:19'),(14118,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000052\'','Gltransaction/journalPosting','0.041002035140991','2015-06-19 14:42:19'),(14119,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-19 14:42:19'),(14120,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.021001100540161','2015-06-19 14:42:19'),(14121,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, \'68\', \'50\', \'OPN2015\', \'2015-06-17\', \'MILLEAGE\', \'EMA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.15500903129578','2015-06-19 14:43:55'),(14122,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (60, \'2\', \'TO IMMIGRATION JLN DUTA\', \'1\', \'87\', \'50\', \'50\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.058004140853882','2015-06-19 14:43:55'),(14123,2,3,'192.168.0.109','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, \'159\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'750\', \'750\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.019001007080078','2015-06-19 14:48:30'),(14124,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (165, \'1\', \'3\', \'133\', \'sewa rumah\', \'750\', \'7\', \'0\', \'0\', \'750\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.035001993179321','2015-06-19 14:48:30'),(14125,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'750\' WHERE `ID` =  165','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 14:48:30'),(14126,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, \'68\', \'100\', \'OPN2015\', \'2015-06-17\', \'SP\', \'IMMIGRATION JALAN DUTA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.025002002716064','2015-06-19 14:48:32'),(14127,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (61, \'2\', \'SPECIALPASS 1 Orang (No Resit : W01E136878 dated 18/6/15)\', \'1\', \'66\', \'100\', \'100\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.00099992752075195','2015-06-19 14:48:32'),(14128,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'61\'','gltransaction/otherpaymentposting','0.012001037597656','2015-06-19 14:49:05'),(14129,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14130,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000055\' WHERE `ID` =  \'61\'','gltransaction/otherpaymentposting','0.018001079559326','2015-06-19 14:49:05'),(14131,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\', \'AP20150300000055\', \'Other Payment [OPN2015[00000040]]]\', \'Other Payment [OPN2015[00000040]]]\', \'3\', \'2015-06-17\', \'2015\', \'3\', 100, 100, \'2\')','gltransaction/otherpaymentposting','0.041002035140991','2015-06-19 14:49:05'),(14132,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\', \'AP20150300000055\', 1, \'SPECIALPASS 1 Orang (No Resit : W01E136878 dated 18/6/15)\', \'25\', 100, 1, 1, \'100\', \'3\', \'2015\', \'1\', \'OPN2015[00000040]\', \'2\')','gltransaction/otherpaymentposting','0.035001993179321','2015-06-19 14:49:05'),(14133,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\', \'AP20150300000055\', 2, \'SPECIALPASS 1 Orang (No Resit : W01E136878 dated 18/6/15)\', \'66\', 100, 1, 1, \'100\', \'3\', \'2015\', \'1\', \'OPN2015[00000040]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14134,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 100, `total_amount_cr` = 100, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000055\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 14:49:05'),(14135,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'60\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14136,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14137,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000056\' WHERE `ID` =  \'60\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 14:49:05'),(14138,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\', \'AP20150300000056\', \'Other Payment [OPN2015[00000039]]]\', \'Other Payment [OPN2015[00000039]]]\', \'3\', \'2015-06-17\', \'2015\', \'3\', 50, 50, \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14139,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\', \'AP20150300000056\', 1, \'TO IMMIGRATION JLN DUTA\', \'25\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000039]\', \'2\')','gltransaction/otherpaymentposting','0.0010001659393311','2015-06-19 14:49:05'),(14140,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\', \'AP20150300000056\', 2, \'TO IMMIGRATION JLN DUTA\', \'87\', 50, 1, 1, \'50\', \'3\', \'2015\', \'1\', \'OPN2015[00000039]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14141,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000056\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-19 14:49:05'),(14142,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 129 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.014001131057739','2015-06-19 14:49:08'),(14143,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000129\', `updateAble` = \'0\' WHERE `ID` =  \'165\'','artransaction/directInvoicePosting','0.0060009956359863','2015-06-19 14:49:08'),(14144,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000129\', \'INV2015[00000094]\', \'Posting Direct Sales Invoices [ INV2015[00000094] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 750, 750, \'3\')','artransaction/directInvoicePosting','0.0039999485015869','2015-06-19 14:49:08'),(14145,2,3,'192.168.0.109','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, \'AR20150100000129\', \'sewa rumah\', \'20\', \'NORLIN BINTI KAMAL\', 750, \'1\', \'1\', \'750\', \'1\', \'2015\', \'1\', \'INV2015[00000094]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.003000020980835','2015-06-19 14:49:08'),(14146,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000129\', 2, \'sewa rumah\', \'133\', \'NORLIN BINTI KAMAL\', 750, \'1\', \'1\', \'750\', \'1\', \'2015\', \'1\', \'INV2015[00000094]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:49:08'),(14147,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 750, `total_amount_cr` = 750, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000129\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-19 14:49:08'),(14148,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'509\'','Gltransaction/journalPosting','0.012001037597656','2015-06-19 14:49:17'),(14149,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000055\'','Gltransaction/journalPosting','0.050003051757812','2015-06-19 14:49:17'),(14150,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.051002979278564','2015-06-19 14:49:17'),(14151,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.01400089263916','2015-06-19 14:49:17'),(14152,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'510\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:49:17'),(14153,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000056\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 14:49:17'),(14154,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.013000965118408','2015-06-19 14:49:17'),(14155,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'87\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:49:17'),(14156,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'511\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:49:26'),(14157,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000129\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:49:26'),(14158,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.027001857757568','2015-06-19 14:49:26'),(14159,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.012001037597656','2015-06-19 14:49:26'),(14160,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'159\', \'\', \'\', \'RP20150619\', \'2015-04-07\', \'2\', 0, \'750\', \'68\', \'\', \'0\', \'0\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.031002044677734','2015-06-19 14:50:26'),(14161,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 163, \'165\', \'0\', \'750\')','arTransaction/saveNewReceivePayment','0.026001930236816','2015-06-19 14:50:26'),(14162,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'165\'','arTransaction/saveNewReceivePayment','0.031001091003418','2015-06-19 14:50:26'),(14163,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'163\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:50:47'),(14164,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 130 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.0010001659393311','2015-06-19 14:50:47'),(14165,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000130\' WHERE `ID` =  \'163\'','artransaction/paymentPosting','0.021000862121582','2015-06-19 14:50:47'),(14166,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000130\', \'RP20150619[00000094]\', \'Posting Received Payment [ RP20150619[00000094] ]\', \'2\', \'2015-04-07\', \'2015\', \'1\', 750, 750, \'3\')','artransaction/paymentPosting','0.022001981735229','2015-06-19 14:50:47'),(14167,2,3,'192.168.0.109','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\', \'AR20150100000130\', 1, \'NORLIN BINTI KAMAL\', \'20\', 750, 1, \'1\', \'750\', \'1\', \'2015\', \'1\', \'RP20150619[00000094]\', \'3\')','artransaction/paymentPosting','0.033002138137817','2015-06-19 14:50:47'),(14168,2,3,'192.168.0.109','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, \'AR20150100000130\', \'NORLIN BINTI KAMAL\', \'129\', 750, 1, \'1\', \'750\', \'1\', \'2015\', \'1\', \'RP20150619[00000094]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-19 14:50:47'),(14169,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'512\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:51:04'),(14170,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000130\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:51:04'),(14171,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-06-19 14:51:04'),(14172,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-19 14:51:04'),(14173,2,3,'192.168.0.109','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, \'160\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'1000\', \'1000\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.061003923416138','2015-06-19 14:55:37'),(14174,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (166, \'1\', \'3\', \'133\', \'sewa rumah\', \'1000\', \'7\', \'0\', \'0\', \'1000\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.036002159118652','2015-06-19 14:55:37'),(14175,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1000\' WHERE `ID` =  166','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-19 14:55:37'),(14176,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 131 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.0020010471343994','2015-06-19 14:56:20'),(14177,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000131\', `updateAble` = \'0\' WHERE `ID` =  \'166\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 14:56:20'),(14178,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000131\', \'INV2015[00000095]\', \'Posting Direct Sales Invoices [ INV2015[00000095] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 1000, 1000, \'3\')','artransaction/directInvoicePosting','0.12200689315796','2015-06-19 14:56:20'),(14179,2,3,'192.168.0.109','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, \'AR20150100000131\', \'sewa rumah\', \'20\', \'SYAM  NORRAZMAN  BIN RAJA RAMLI\', 1000, \'1\', \'1\', \'1000\', \'1\', \'2015\', \'1\', \'INV2015[00000095]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.17500996589661','2015-06-19 14:56:20'),(14180,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000131\', 2, \'sewa rumah\', \'133\', \'SYAM  NORRAZMAN  BIN RAJA RAMLI\', 1000, \'1\', \'1\', \'1000\', \'1\', \'2015\', \'1\', \'INV2015[00000095]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.016999959945679','2015-06-19 14:56:20'),(14181,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000131\'','artransaction/directInvoicePosting','0.01200008392334','2015-06-19 14:56:20'),(14182,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'513\'','Gltransaction/journalPosting','0.024001121520996','2015-06-19 14:56:37'),(14183,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000131\'','Gltransaction/journalPosting','0.043002843856812','2015-06-19 14:56:37'),(14184,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.065004110336304','2015-06-19 14:56:37'),(14185,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0090010166168213','2015-06-19 14:56:37'),(14186,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'160\', \'\', \'\', \'RP20150619\', \'2015-04-29\', \'2\', 0, \'1000\', \'68\', \'\', \'0\', \'0\', \'0\', \'1000\')','arTransaction/saveNewReceivePayment','0.017000913619995','2015-06-19 14:57:44'),(14187,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 164, \'166\', \'0\', \'1000\')','arTransaction/saveNewReceivePayment','0.022001028060913','2015-06-19 14:57:44'),(14188,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'166\'','arTransaction/saveNewReceivePayment','0.017001152038574','2015-06-19 14:57:44'),(14189,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'164\' AND `updateAble` =  1','artransaction/paymentPosting','0.021001100540161','2015-06-19 14:58:03'),(14190,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 132 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.002000093460083','2015-06-19 14:58:03'),(14191,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000132\' WHERE `ID` =  \'164\'','artransaction/paymentPosting','0.0039999485015869','2015-06-19 14:58:03'),(14192,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000132\', \'RP20150619[00000095]\', \'Posting Received Payment [ RP20150619[00000095] ]\', \'2\', \'2015-04-29\', \'2015\', \'1\', 1000, 1000, \'3\')','artransaction/paymentPosting','0.011001110076904','2015-06-19 14:58:03'),(14193,2,3,'192.168.0.109','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\', \'AR20150100000132\', 1, \'SYAM  NORRAZMAN  BIN RAJA RAMLI\', \'20\', 1000, 1, \'1\', \'1000\', \'1\', \'2015\', \'1\', \'RP20150619[00000095]\', \'3\')','artransaction/paymentPosting','0.0039999485015869','2015-06-19 14:58:03'),(14194,2,3,'192.168.0.109','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, \'AR20150100000132\', \'SYAM  NORRAZMAN  BIN RAJA RAMLI\', \'129\', 1000, 1, \'1\', \'1000\', \'1\', \'2015\', \'1\', \'RP20150619[00000095]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-19 14:58:03'),(14195,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'514\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-19 14:58:18'),(14196,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000132\'','Gltransaction/journalPosting','0.078004121780396','2015-06-19 14:58:18'),(14197,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.049002885818481','2015-06-19 14:58:18'),(14198,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-19 14:58:18'),(14199,2,3,'192.168.0.109','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, \'161\', \'INV2015\', \'2015-04-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'850\', \'850\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.031000852584839','2015-06-19 15:00:01'),(14200,2,3,'192.168.0.109','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (167, \'1\', \'3\', \'133\', \'sewa rumah\', \'850\', \'7\', \'0\', \'0\', \'850\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.035001993179321','2015-06-19 15:00:01'),(14201,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'850\' WHERE `ID` =  167','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010001659393311','2015-06-19 15:00:01'),(14202,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 133 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.025001049041748','2015-06-19 15:00:28'),(14203,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000133\', `updateAble` = \'0\' WHERE `ID` =  \'167\'','artransaction/directInvoicePosting','0.0020008087158203','2015-06-19 15:00:28'),(14204,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000133\', \'INV2015[00000096]\', \'Posting Direct Sales Invoices [ INV2015[00000096] ]\', \'2\', \'2015-04-02\', \'2015\', \'1\', 850, 850, \'3\')','artransaction/directInvoicePosting','0.020001173019409','2015-06-19 15:00:28'),(14205,2,3,'192.168.0.109','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, \'AR20150100000133\', \'sewa rumah\', \'20\', \'MOHD ZULKIFLI BIN ABU BAKAR@JAFAR\', 850, \'1\', \'1\', \'850\', \'1\', \'2015\', \'1\', \'INV2015[00000096]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.033001899719238','2015-06-19 15:00:28'),(14206,2,3,'192.168.0.109','insert','INSERT 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\', \'AR20150100000133\', 2, \'sewa rumah\', \'133\', \'MOHD ZULKIFLI BIN ABU BAKAR@JAFAR\', 850, \'1\', \'1\', \'850\', \'1\', \'2015\', \'1\', \'INV2015[00000096]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-19 15:00:28'),(14207,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `total_amount_dr` = 850, `total_amount_cr` = 850, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000133\'','artransaction/directInvoicePosting','0.0069999694824219','2015-06-19 15:00:28'),(14208,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'515\'','Gltransaction/journalPosting','0.016000986099243','2015-06-19 15:00:55'),(14209,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000133\'','Gltransaction/journalPosting','0.011001110076904','2015-06-19 15:00:55'),(14210,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.014001131057739','2015-06-19 15:00:55'),(14211,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.0090000629425049','2015-06-19 15:00:55'),(14212,2,3,'192.168.0.109','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\', \'3\', \'1.00000\', \'161\', \'\', \'\', \'RP20150619\', \'2015-06-19\', \'2\', 0, \'850\', \'121\', \'\', \'0\', \'0\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.010000944137573','2015-06-19 15:01:49'),(14213,2,3,'192.168.0.109','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 165, \'167\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.020001173019409','2015-06-19 15:01:49'),(14214,2,3,'192.168.0.109','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'167\'','arTransaction/saveNewReceivePayment','0.019001007080078','2015-06-19 15:01:49'),(14215,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `projectID` = \'\', `referenceNo` = \'\', `receivePaymentDate` = \'2015-06-03\', `memo` = \'\' WHERE `ID` =  \'165\'','Artransaction/update_receivePayment_header','0.025001049041748','2015-06-19 15:05:23'),(14216,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'165\' AND `updateAble` =  1','artransaction/paymentPosting','0.0010001659393311','2015-06-19 15:05:45'),(14217,2,3,'192.168.0.109','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0010001659393311','2015-06-19 15:05:45'),(14218,2,3,'192.168.0.109','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000053\' WHERE `ID` =  \'165\'','artransaction/paymentPosting','0.00099992752075195','2015-06-19 15:05:45'),(14219,2,3,'192.168.0.109','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150300000053\', \'RP20150619[00000096]\', \'Posting Received Payment [ RP20150619[00000096] ]\', \'2\', \'2015-06-03\', \'2015\', \'3\', 850, 850, \'3\')','artransaction/paymentPosting','0.02000093460083','2015-06-19 15:05:45'),(14220,2,3,'192.168.0.109','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\', \'AR20150300000053\', 1, \'MOHD ZULKIFLI BIN ABU BAKAR@JAFAR\', \'20\', 850, 1, \'1\', \'850\', \'3\', \'2015\', \'1\', \'RP20150619[00000096]\', \'3\')','artransaction/paymentPosting','0.041002035140991','2015-06-19 15:05:45'),(14221,2,3,'192.168.0.109','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, \'AR20150300000053\', \'MOHD ZULKIFLI BIN ABU BAKAR@JAFAR\', \'129\', 850, 1, \'1\', \'850\', \'3\', \'2015\', \'1\', \'RP20150619[00000096]\', \'3\')','artransaction/paymentPosting','0.0010001659393311','2015-06-19 15:05:45'),(14222,2,3,'192.168.0.109','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'516\'','Gltransaction/journalPosting','0','2015-06-19 15:06:09'),(14223,2,3,'192.168.0.109','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000053\'','Gltransaction/journalPosting','0.11300587654114','2015-06-19 15:06:09'),(14224,2,3,'192.168.0.109','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.048002958297729','2015-06-19 15:06:09'),(14225,2,3,'192.168.0.109','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'129\', \'2015\', \'3\', \'850\', \'0\', 850, \'3\', \'2015-06-19: 09:06:09\')','Gltransaction/journalPosting','0.024000883102417','2015-06-19 15:06:09'),(14226,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\', \'KAB\', \'001159155U\', \'KAB MANAGEMENT SERVICES\', \'\', \'19-2B, JALAN AU 1A/4B,\', \'KERAMAT PERMAI BUSINESS CENTRE\', \'\', \'KUALA LUMPUR\', \'54200\', \'\', \'\', \'03-4257 5124\', \'03-4257 9124\', \'\', \'\', \'000209801216\', \'0\', \'458\', \'1933\', \'36\', \'1\', 0, \'\', \'2015-06-19\')','supplier/SupplierNew','0.078003883361816','2015-06-19 15:10:02'),(14227,2,2,'::1','update','update _ref_tax_master set defaultTaxAccount = \'810040000\', taxClass = 1 where id = 18','spsupgrator/index','0.00099992752075195','2015-06-19 15:35:25'),(14228,2,2,'::1','update','UPDATE `comp_journal_detail` SET `acctCode` = \'33\' WHERE `line` =  \'1\' AND `acctCode` =  \'40\' AND `journalID` =  \'AP20150100000029\'','spsupgrator/index','1.2410709857941','2015-06-19 15:35:25'),(14229,2,2,'::1','update','UPDATE `comp_journal_detail` SET `acctCode` = \'100\' WHERE `line` =  \'1\' AND `acctCode` =  \'33\' AND `journalID` =  \'AP20150100000014\'','spsupgrator/index','0.002000093460083','2015-06-19 15:35:25'),(14230,2,2,'::1','update','UPDATE `tax_master` SET `taxAccount` = \'33\' WHERE `ID` =  \'15\'','spsupgrator/index','0.002000093460083','2015-06-19 15:35:25'),(14231,2,2,'::1','update','UPDATE `tax_master` SET `taxAccount` = \'100\' WHERE `ID` =  \'19\'','spsupgrator/index','0.0010001659393311','2015-06-19 15:35:25'),(14232,2,3,'192.168.0.104','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, \'143\', \'INV2015\', \'2015-05-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'850\', \'850\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.1360080242157','2015-06-22 10:42:51'),(14233,2,3,'192.168.0.104','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (168, \'1\', \'3\', \'133\', \'sewa rumah\', \'850\', \'7\', \'0\', \'0\', \'850\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.10400605201721','2015-06-22 10:42:51'),(14234,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'850\' WHERE `ID` =  168','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-22 10:42:51'),(14235,2,3,'192.168.0.104','update','UPDATE `comp_jl_seq` SET `seqNo` = 144 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.017001152038574','2015-06-22 10:43:25'),(14236,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000144\', `updateAble` = \'0\' WHERE `ID` =  \'168\'','artransaction/directInvoicePosting','0.01400089263916','2015-06-22 10:43:25'),(14237,2,3,'192.168.0.104','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000144\', \'INV2015[00000097]\', \'Posting Direct Sales Invoices [ INV2015[00000097] ]\', \'2\', \'2015-05-02\', \'2015\', \'2\', 850, 850, \'3\')','artransaction/directInvoicePosting','0.063002824783325','2015-06-22 10:43:25'),(14238,2,3,'192.168.0.104','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, \'AR20150200000144\', \'sewa rumah\', \'20\', \'K & K ADVANCED TRADING SDN BHD\', 850, \'1\', \'1\', \'850\', \'2\', \'2015\', \'1\', \'INV2015[00000097]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.054003000259399','2015-06-22 10:43:25'),(14239,2,3,'192.168.0.104','insert','INSERT 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\', \'AR20150200000144\', 2, \'sewa rumah\', \'133\', \'K & K ADVANCED TRADING SDN BHD\', 850, \'1\', \'1\', \'850\', \'2\', \'2015\', \'1\', \'INV2015[00000097]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 10:43:25'),(14240,2,3,'192.168.0.104','update','UPDATE `comp_journal` SET `total_amount_dr` = 850, `total_amount_cr` = 850, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000144\'','artransaction/directInvoicePosting','0.0020010471343994','2015-06-22 10:43:25'),(14241,2,3,'192.168.0.104','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'517\'','Gltransaction/journalPosting','0.021001100540161','2015-06-22 10:43:56'),(14242,2,3,'192.168.0.104','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000144\'','Gltransaction/journalPosting','0.077003955841064','2015-06-22 10:43:56'),(14243,2,3,'192.168.0.104','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.10700607299805','2015-06-22 10:43:56'),(14244,2,3,'192.168.0.104','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'7\', \'133\', \'2015\', \'2\', \'0\', \'850\', -850, \'3\', \'2015-06-22: 04:06:56\')','Gltransaction/journalPosting','0.043003082275391','2015-06-22 10:43:56'),(14245,2,3,'192.168.0.104','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\', \'3\', \'1.00000\', \'143\', \'\', \'\', \'RP20150622\', \'2015-05-08\', \'2\', 0, \'850\', \'68\', \'\', \'0\', \'0\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.057003021240234','2015-06-22 10:45:54'),(14246,2,3,'192.168.0.104','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 166, \'168\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.039001941680908','2015-06-22 10:45:54'),(14247,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'168\'','arTransaction/saveNewReceivePayment','0.002000093460083','2015-06-22 10:45:54'),(14248,2,3,'192.168.0.104','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'166\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-22 10:46:17'),(14249,2,3,'192.168.0.104','update','UPDATE `comp_jl_seq` SET `seqNo` = 145 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.00099992752075195','2015-06-22 10:46:17'),(14250,2,3,'192.168.0.104','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000145\' WHERE `ID` =  \'166\'','artransaction/paymentPosting','0.00099992752075195','2015-06-22 10:46:17'),(14251,2,3,'192.168.0.104','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000145\', \'RP20150622[00000097]\', \'Posting Received Payment [ RP20150622[00000097] ]\', \'2\', \'2015-05-08\', \'2015\', \'2\', 850, 850, \'3\')','artransaction/paymentPosting','0.031002044677734','2015-06-22 10:46:17'),(14252,2,3,'192.168.0.104','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\', \'AR20150200000145\', 1, \'K & K ADVANCED TRADING SDN BHD\', \'20\', 850, 1, \'1\', \'850\', \'2\', \'2015\', \'1\', \'RP20150622[00000097]\', \'3\')','artransaction/paymentPosting','0.035001993179321','2015-06-22 10:46:17'),(14253,2,3,'192.168.0.104','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, \'AR20150200000145\', \'K & K ADVANCED TRADING SDN BHD\', \'129\', 850, 1, \'1\', \'850\', \'2\', \'2015\', \'1\', \'RP20150622[00000097]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 10:46:17'),(14254,2,3,'192.168.0.104','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'518\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 10:47:18'),(14255,2,3,'192.168.0.104','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000145\'','Gltransaction/journalPosting','0.027001857757568','2015-06-22 10:47:18'),(14256,2,3,'192.168.0.104','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.024001121520996','2015-06-22 10:47:18'),(14257,2,3,'192.168.0.104','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 10:47:18'),(14258,2,3,'192.168.0.104','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, \'144\', \'INV2015\', \'2015-05-02\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'700\', \'700\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.012001037597656','2015-06-22 10:53:16'),(14259,2,3,'192.168.0.104','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (169, \'1\', \'3\', \'133\', \'sewa rumah\', \'700\', \'7\', \'0\', \'0\', \'700\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.027001857757568','2015-06-22 10:53:16'),(14260,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'700\' WHERE `ID` =  169','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 10:53:16'),(14261,2,3,'192.168.0.104','update','UPDATE `comp_jl_seq` SET `seqNo` = 146 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 10:54:04'),(14262,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000146\', `updateAble` = \'0\' WHERE `ID` =  \'169\'','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 10:54:04'),(14263,2,3,'192.168.0.104','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000146\', \'INV2015[00000098]\', \'Posting Direct Sales Invoices [ INV2015[00000098] ]\', \'2\', \'2015-05-02\', \'2015\', \'2\', 700, 700, \'3\')','artransaction/directInvoicePosting','0.021000862121582','2015-06-22 10:54:04'),(14264,2,3,'192.168.0.104','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, \'AR20150200000146\', \'sewa rumah\', \'20\', \'MOHD RIDWAN ABDUL RAZAK\', 700, \'1\', \'1\', \'700\', \'2\', \'2015\', \'1\', \'INV2015[00000098]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.040002107620239','2015-06-22 10:54:04'),(14265,2,3,'192.168.0.104','insert','INSERT 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\', \'AR20150200000146\', 2, \'sewa rumah\', \'133\', \'MOHD RIDWAN ABDUL RAZAK\', 700, \'1\', \'1\', \'700\', \'2\', \'2015\', \'1\', \'INV2015[00000098]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.005000114440918','2015-06-22 10:54:04'),(14266,2,3,'192.168.0.104','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000146\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 10:54:04'),(14267,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\', \'MUHAMMAD QOSIM\', \'\', \'W147\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-22\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.022001981735229','2015-06-22 10:54:23'),(14268,2,3,'192.168.0.104','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'519\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 10:54:39'),(14269,2,3,'192.168.0.104','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000146\'','Gltransaction/journalPosting','0.037002086639404','2015-06-22 10:54:39'),(14270,2,3,'192.168.0.104','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.075004100799561','2015-06-22 10:54:39'),(14271,2,3,'192.168.0.104','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 10:54:39'),(14272,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\', \'FATHUR ROHMAN\', \'\', \'W148\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-22\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.023000955581665','2015-06-22 10:54:49'),(14273,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\', \'MISTAR SETYOBUDI\', \'\', \'W149\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-06-22\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.014001131057739','2015-06-22 10:56:03'),(14274,2,3,'192.168.0.104','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\', \'3\', \'1.00000\', \'144\', \'\', \'\', \'RP20150622\', \'2015-05-27\', \'2\', 0, \'700\', \'68\', \'\', \'0\', \'0\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.049003124237061','2015-06-22 10:57:10'),(14275,2,3,'192.168.0.104','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 167, \'169\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.03200101852417','2015-06-22 10:57:10'),(14276,2,3,'192.168.0.104','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'169\'','arTransaction/saveNewReceivePayment','0.0020010471343994','2015-06-22 10:57:10'),(14277,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, \'171\', \'INV2015\', \'2015-06-18\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.012001037597656','2015-06-22 11:00:46'),(14278,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (170, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.036002159118652','2015-06-22 11:00:46'),(14279,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  170','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010011196136475','2015-06-22 11:00:46'),(14280,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'170\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.014999866485596','2015-06-22 11:01:08'),(14281,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'170\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0080001354217529','2015-06-22 11:01:08'),(14282,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'170\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0060009956359863','2015-06-22 11:01:29'),(14283,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'170\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0080001354217529','2015-06-22 11:01:29'),(14284,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'170\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.011000871658325','2015-06-22 11:02:31'),(14285,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'170\'','Artransaction/saveNewSaleDetailOnlyCharges','0','2015-06-22 11:02:31'),(14286,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'170\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.017000913619995','2015-06-22 11:02:54'),(14287,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'170\'','Artransaction/saveNewSaleDetailOnlyCharges','0.035001993179321','2015-06-22 11:02:54'),(14288,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, \'172\', \'INV2015\', \'2015-06-18\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.010000944137573','2015-06-22 11:05:41'),(14289,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (171, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-22 11:05:41'),(14290,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  171','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 11:05:41'),(14291,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'171\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0090000629425049','2015-06-22 11:06:05'),(14292,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'171\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-22 11:06:05'),(14293,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'171\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0090000629425049','2015-06-22 11:06:39'),(14294,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'171\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-22 11:06:39'),(14295,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'171\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.016000986099243','2015-06-22 11:09:36'),(14296,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'171\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0080010890960693','2015-06-22 11:09:36'),(14297,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'171\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0090000629425049','2015-06-22 11:10:03'),(14298,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'171\'','Artransaction/saveNewSaleDetailOnlyCharges','0.011001110076904','2015-06-22 11:10:03'),(14299,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, \'173\', \'INV2015\', \'2015-06-18\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.0080010890960693','2015-06-22 11:14:23'),(14300,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (172, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.03200101852417','2015-06-22 11:14:23'),(14301,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  172','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 11:14:23'),(14302,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'172\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.010000944137573','2015-06-22 11:14:58'),(14303,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'172\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0090000629425049','2015-06-22 11:14:58'),(14304,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'172\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.01200008392334','2015-06-22 11:15:27'),(14305,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'172\'','Artransaction/saveNewSaleDetailOnlyCharges','0.010999917984009','2015-06-22 11:15:27'),(14306,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'172\', \'4\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0080010890960693','2015-06-22 11:16:43'),(14307,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'172\'','Artransaction/saveNewSaleDetailOnlyCharges','0.017000913619995','2015-06-22 11:16:43'),(14308,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'172\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.013000965118408','2015-06-22 11:17:25'),(14309,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'172\'','Artransaction/saveNewSaleDetailOnlyCharges','0.00099992752075195','2015-06-22 11:17:25'),(14310,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.020002126693726','2015-06-22 11:18:03'),(14311,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000054\', `updateAble` = \'0\' WHERE `ID` =  \'170\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 11:18:03'),(14312,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\', \'AR20150300000054\', \'INV2015[00000099]\', \'Posting Direct Sales Invoices [ INV2015[00000099] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.035001993179321','2015-06-22 11:18:03'),(14313,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, \'AR20150300000054\', \'LEVY\', \'20\', \'MUHAMMAD QOSIM\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.050002098083496','2015-06-22 11:18:03'),(14314,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\', \'AR20150300000054\', 2, \'LEVY\', \'59\', \'MUHAMMAD QOSIM\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14315,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, \'AR20150300000054\', \'IG (Insurance Guarantee)\', \'20\', \'MUHAMMAD QOSIM\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14316,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\', \'AR20150300000054\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MUHAMMAD QOSIM\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0039999485015869','2015-06-22 11:18:03'),(14317,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, \'AR20150300000054\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MUHAMMAD QOSIM\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14318,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\', \'AR20150300000054\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MUHAMMAD QOSIM\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:03'),(14319,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, \'AR20150300000054\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'MUHAMMAD QOSIM\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14320,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\', \'AR20150300000054\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'MUHAMMAD QOSIM\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:03'),(14321,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, \'AR20150300000054\', \'SERVICE FEE\', \'20\', \'MUHAMMAD QOSIM\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14322,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\', \'AR20150300000054\', 10, \'SERVICE FEE\', \'58\', \'MUHAMMAD QOSIM\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14323,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, \'AR20150300000054\', \'SERVICE FEE\', \'20\', \'MUHAMMAD QOSIM\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:03'),(14324,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, \'AR20150300000054\', \'SERVICE FEE\', \'40\', \'MUHAMMAD QOSIM\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000099]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:03'),(14325,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000054\'','artransaction/directInvoicePosting','0.016000986099243','2015-06-22 11:18:03'),(14326,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.020001173019409','2015-06-22 11:18:04'),(14327,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000055\', `updateAble` = \'0\' WHERE `ID` =  \'171\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14328,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\', \'AR20150300000055\', \'INV2015[00000100]\', \'Posting Direct Sales Invoices [ INV2015[00000100] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14329,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, \'AR20150300000055\', \'LEVY\', \'20\', \'FATHUR ROHMAN\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.052002906799316','2015-06-22 11:18:04'),(14330,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\', \'AR20150300000055\', 2, \'LEVY\', \'59\', \'FATHUR ROHMAN\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016001224517822','2015-06-22 11:18:04'),(14331,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, \'AR20150300000055\', \'IG (Insurance Guarantee)\', \'20\', \'FATHUR ROHMAN\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14332,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\', \'AR20150300000055\', 4, \'IG (Insurance Guarantee)\', \'121\', \'FATHUR ROHMAN\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0060000419616699','2015-06-22 11:18:04'),(14333,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, \'AR20150300000055\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'FATHUR ROHMAN\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010011196136475','2015-06-22 11:18:04'),(14334,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\', \'AR20150300000055\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'FATHUR ROHMAN\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14335,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, \'AR20150300000055\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'FATHUR ROHMAN\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.003000020980835','2015-06-22 11:18:04'),(14336,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\', \'AR20150300000055\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'FATHUR ROHMAN\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14337,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, \'AR20150300000055\', \'SERVICE FEE\', \'20\', \'FATHUR ROHMAN\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14338,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\', \'AR20150300000055\', 10, \'SERVICE FEE\', \'58\', \'FATHUR ROHMAN\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.003000020980835','2015-06-22 11:18:04'),(14339,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, \'AR20150300000055\', \'SERVICE FEE\', \'20\', \'FATHUR ROHMAN\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14340,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, \'AR20150300000055\', \'SERVICE FEE\', \'40\', \'FATHUR ROHMAN\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000100]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0020008087158203','2015-06-22 11:18:04'),(14341,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000055\'','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14342,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 11:18:04'),(14343,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000056\', `updateAble` = \'0\' WHERE `ID` =  \'172\'','artransaction/directInvoicePosting','0.003000020980835','2015-06-22 11:18:04'),(14344,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\', \'AR20150300000056\', \'INV2015[00000101]\', \'Posting Direct Sales Invoices [ INV2015[00000101] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.0090010166168213','2015-06-22 11:18:04'),(14345,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, \'AR20150300000056\', \'LEVY\', \'20\', \'MISTAR SETYOBUDI\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033001899719238','2015-06-22 11:18:04'),(14346,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\', \'AR20150300000056\', 2, \'LEVY\', \'59\', \'MISTAR SETYOBUDI\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14347,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, \'AR20150300000056\', \'IG (Insurance Guarantee)\', \'20\', \'MISTAR SETYOBUDI\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.015001058578491','2015-06-22 11:18:04'),(14348,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\', \'AR20150300000056\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MISTAR SETYOBUDI\', 68, \'1\', \'1\', \'68\', \'3\', \'2015\', \'2\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14349,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, \'AR20150300000056\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MISTAR SETYOBUDI\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14350,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\', \'AR20150300000056\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MISTAR SETYOBUDI\', 76.3, \'1\', \'1\', \'76.3\', \'3\', \'2015\', \'3\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 11:18:04'),(14351,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, \'AR20150300000056\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'MISTAR SETYOBUDI\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:18:04'),(14352,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\', \'AR20150300000056\', 8, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'MISTAR SETYOBUDI\', 127.2, \'1\', \'1\', \'127.2\', \'3\', \'2015\', \'4\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:18:04'),(14353,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, \'AR20150300000056\', \'SERVICE FEE\', \'20\', \'MISTAR SETYOBUDI\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 11:18:04'),(14354,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\', \'AR20150300000056\', 10, \'SERVICE FEE\', \'58\', \'MISTAR SETYOBUDI\', 875.94, \'1\', \'1\', \'875.94\', \'3\', \'2015\', \'5\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 11:18:04'),(14355,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, \'AR20150300000056\', \'SERVICE FEE\', \'20\', \'MISTAR SETYOBUDI\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 11:18:04'),(14356,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, \'AR20150300000056\', \'SERVICE FEE\', \'40\', \'MISTAR SETYOBUDI\', 52.56, \'1\', \'1\', \'52.56\', \'3\', \'2015\', \'5\', \'INV2015[00000101]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010008811950684','2015-06-22 11:18:04'),(14357,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000056\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 11:18:04'),(14358,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'167\' AND `updateAble` =  1','artransaction/paymentPosting','0.010999917984009','2015-06-22 11:23:50'),(14359,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 147 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.014001131057739','2015-06-22 11:23:50'),(14360,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000147\' WHERE `ID` =  \'167\'','artransaction/paymentPosting','0.0059998035430908','2015-06-22 11:23:50'),(14361,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000147\', \'RP20150622[00000098]\', \'Posting Received Payment [ RP20150622[00000098] ]\', \'2\', \'2015-05-27\', \'2015\', \'2\', 700, 700, \'3\')','artransaction/paymentPosting','0.033001899719238','2015-06-22 11:23:50'),(14362,2,3,'192.168.0.105','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\', \'AR20150200000147\', 1, \'MOHD RIDWAN ABDUL RAZAK\', \'20\', 700, 1, \'1\', \'700\', \'2\', \'2015\', \'1\', \'RP20150622[00000098]\', \'3\')','artransaction/paymentPosting','0.024002075195312','2015-06-22 11:23:50'),(14363,2,3,'192.168.0.105','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, \'AR20150200000147\', \'MOHD RIDWAN ABDUL RAZAK\', \'129\', 700, 1, \'1\', \'700\', \'2\', \'2015\', \'1\', \'RP20150622[00000098]\', \'3\')','artransaction/paymentPosting','0.0010001659393311','2015-06-22 11:23:50'),(14364,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'523\'','Gltransaction/journalPosting','0.017001152038574','2015-06-22 11:24:14'),(14365,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000147\'','Gltransaction/journalPosting','0.031001806259155','2015-06-22 11:24:14'),(14366,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.032001972198486','2015-06-22 11:24:14'),(14367,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0090000629425049','2015-06-22 11:24:14'),(14368,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\', \'171\', \'\', \'\', \'RP20150622\', \'2015-06-18\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000099]\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.048002958297729','2015-06-22 11:25:55'),(14369,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 168, \'170\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.023001194000244','2015-06-22 11:25:55'),(14370,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'170\'','arTransaction/saveNewReceivePayment','0.010000944137573','2015-06-22 11:25:55'),(14371,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\', \'172\', \'\', \'\', \'RP20150622\', \'2015-06-18\', \'5\', 0, \'2650\', \'68\', \'INV2015[00000100]\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.027001142501831','2015-06-22 11:27:05'),(14372,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 169, \'171\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-22 11:27:05'),(14373,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'171\'','arTransaction/saveNewReceivePayment','0.0010008811950684','2015-06-22 11:27:05'),(14374,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\', \'173\', \'\', \'\', \'RP20150622\', \'2015-06-18\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.011000156402588','2015-06-22 11:31:18'),(14375,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 170, \'172\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.0010008811950684','2015-06-22 11:31:18'),(14376,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'172\'','arTransaction/saveNewReceivePayment','0.002000093460083','2015-06-22 11:31:18'),(14377,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'168\' AND `updateAble` =  1','artransaction/paymentPosting','0.019001007080078','2015-06-22 11:32:43'),(14378,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.01200008392334','2015-06-22 11:32:43'),(14379,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000057\' WHERE `ID` =  \'168\'','artransaction/paymentPosting','0.011001110076904','2015-06-22 11:32:43'),(14380,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\', \'AR20150300000057\', \'RP20150622[00000099]\', \'Posting Received Payment [ RP20150622[00000099] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.030002117156982','2015-06-22 11:32:43'),(14381,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\', \'AR20150300000057\', 1, \'MUHAMMAD QOSIM\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000099]\', \'2\')','artransaction/paymentPosting','0.041002035140991','2015-06-22 11:32:43'),(14382,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, \'AR20150300000057\', \'MUHAMMAD QOSIM\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000099]\', \'2\')','artransaction/paymentPosting','0.0010001659393311','2015-06-22 11:32:43'),(14383,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'169\' AND `updateAble` =  1','artransaction/paymentPosting','0.003000020980835','2015-06-22 11:32:44'),(14384,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.027001142501831','2015-06-22 11:32:44'),(14385,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000058\' WHERE `ID` =  \'169\'','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:32:44'),(14386,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\', \'AR20150300000058\', \'RP20150622[00000100]\', \'Posting Received Payment [ RP20150622[00000100] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:32:44'),(14387,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\', \'AR20150300000058\', 1, \'FATHUR ROHMAN\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000100]\', \'2\')','artransaction/paymentPosting','0.002000093460083','2015-06-22 11:32:44'),(14388,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, \'AR20150300000058\', \'FATHUR ROHMAN\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000100]\', \'2\')','artransaction/paymentPosting','0.0010008811950684','2015-06-22 11:32:44'),(14389,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'170\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:32:44'),(14390,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.010000944137573','2015-06-22 11:32:44'),(14391,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000059\' WHERE `ID` =  \'170\'','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:32:44'),(14392,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\', \'AR20150300000059\', \'RP20150622[00000101]\', \'Posting Received Payment [ RP20150622[00000101] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.0060000419616699','2015-06-22 11:32:44'),(14393,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\', \'AR20150300000059\', 1, \'MISTAR SETYOBUDI\', \'20\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000101]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:32:44'),(14394,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, \'AR20150300000059\', \'MISTAR SETYOBUDI\', \'25\', 2650, 1, \'1\', \'2650\', \'3\', \'2015\', \'1\', \'RP20150622[00000101]\', \'2\')','artransaction/paymentPosting','0','2015-06-22 11:32:44'),(14395,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'520\'','Gltransaction/journalPosting','0.016000986099243','2015-06-22 11:33:00'),(14396,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000054\'','Gltransaction/journalPosting','0.13500714302063','2015-06-22 11:33:00'),(14397,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.1730101108551','2015-06-22 11:33:00'),(14398,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:00'),(14399,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:00'),(14400,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-06-22 11:33:00'),(14401,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 11:33:00'),(14402,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-06-22 11:33:01'),(14403,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 11:33:01'),(14404,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-22 11:33:01'),(14405,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.013000965118408','2015-06-22 11:33:01'),(14406,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14407,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0090010166168213','2015-06-22 11:33:01'),(14408,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.053003072738647','2015-06-22 11:33:01'),(14409,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'521\'','Gltransaction/journalPosting','0.004000186920166','2015-06-22 11:33:01'),(14410,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000055\'','Gltransaction/journalPosting','0.023000955581665','2015-06-22 11:33:01'),(14411,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14412,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0030009746551514','2015-06-22 11:33:01'),(14413,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14414,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14415,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14416,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14417,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14418,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 11:33:01'),(14419,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14420,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010011196136475','2015-06-22 11:33:01'),(14421,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14422,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14423,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'522\'','Gltransaction/journalPosting','0.0010008811950684','2015-06-22 11:33:01'),(14424,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000056\'','Gltransaction/journalPosting','0.018001079559326','2015-06-22 11:33:01'),(14425,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 11:33:01'),(14426,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14427,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14428,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'121\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14429,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14430,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'122\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020008087158203','2015-06-22 11:33:01'),(14431,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 11:33:01'),(14432,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'123\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14433,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 11:33:01'),(14434,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14435,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14436,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14437,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'524\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14438,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000057\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14439,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14440,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14441,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'525\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14442,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000058\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14443,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14444,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14445,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'526\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14446,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000059\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 11:33:01'),(14447,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:33:01'),(14448,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:33:01'),(14449,2,3,'192.168.0.105','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, \'145\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.058002948760986','2015-06-22 11:36:23'),(14450,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (173, \'1\', \'3\', \'133\', \'sewa rumah\', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.027002096176147','2015-06-22 11:36:23'),(14451,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  173','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 11:36:23'),(14452,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 148 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 11:36:54'),(14453,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000148\', `updateAble` = \'0\' WHERE `ID` =  \'173\'','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 11:36:54'),(14454,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000148\', \'INV2015[00000102]\', \'Posting Direct Sales Invoices [ INV2015[00000102] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.049002885818481','2015-06-22 11:36:54'),(14455,2,3,'192.168.0.105','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, \'AR20150200000148\', \'sewa rumah\', \'20\', \'ABDUL HAFIZ BIN ABDULLAH\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000102]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.063003063201904','2015-06-22 11:36:54'),(14456,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000148\', 2, \'sewa rumah\', \'133\', \'ABDUL HAFIZ BIN ABDULLAH\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000102]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0040011405944824','2015-06-22 11:36:54'),(14457,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000148\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:36:54'),(14458,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'527\'','Gltransaction/journalPosting','0.015001058578491','2015-06-22 11:37:18'),(14459,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000148\'','Gltransaction/journalPosting','0.041002035140991','2015-06-22 11:37:18'),(14460,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.050003051757812','2015-06-22 11:37:18'),(14461,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0050010681152344','2015-06-22 11:37:18'),(14462,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'145\', \'\', \'\', \'RP20150622\', \'2015-05-05\', \'2\', 0, \'800\', \'121\', \'\', \'0\', \'0\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.007000207901001','2015-06-22 11:39:27'),(14463,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 171, \'173\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.011000871658325','2015-06-22 11:39:27'),(14464,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'173\'','arTransaction/saveNewReceivePayment','0.012001037597656','2015-06-22 11:39:27'),(14465,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'171\' AND `updateAble` =  1','artransaction/paymentPosting','0.018000841140747','2015-06-22 11:40:22'),(14466,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 149 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.004000186920166','2015-06-22 11:40:22'),(14467,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000149\' WHERE `ID` =  \'171\'','artransaction/paymentPosting','0.0020008087158203','2015-06-22 11:40:22'),(14468,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000149\', \'RP20150622[00000102]\', \'Posting Received Payment [ RP20150622[00000102] ]\', \'2\', \'2015-05-05\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/paymentPosting','0.0099999904632568','2015-06-22 11:40:22'),(14469,2,3,'192.168.0.105','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\', \'AR20150200000149\', 1, \'ABDUL HAFIZ BIN ABDULLAH\', \'20\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000102]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:40:22'),(14470,2,3,'192.168.0.105','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, \'AR20150200000149\', \'ABDUL HAFIZ BIN ABDULLAH\', \'129\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000102]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 11:40:22'),(14471,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'528\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 11:40:47'),(14472,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000149\'','Gltransaction/journalPosting','0.097004890441895','2015-06-22 11:40:47'),(14473,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.032000780105591','2015-06-22 11:40:47'),(14474,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 11:40:47'),(14475,2,3,'192.168.0.105','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, \'147\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'420\', \'420\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.017001152038574','2015-06-22 11:45:04'),(14476,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (174, \'1\', \'3\', \'133\', \'sewa rumah\', \'420\', \'7\', \'0\', \'0\', \'420\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.035001993179321','2015-06-22 11:45:04'),(14477,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'420\' WHERE `ID` =  174','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 11:45:04'),(14478,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 150 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.018000841140747','2015-06-22 11:45:27'),(14479,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000150\', `updateAble` = \'0\' WHERE `ID` =  \'174\'','artransaction/directInvoicePosting','0.027000904083252','2015-06-22 11:45:27'),(14480,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000150\', \'INV2015[00000103]\', \'Posting Direct Sales Invoices [ INV2015[00000103] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 420, 420, \'3\')','artransaction/directInvoicePosting','0.038002014160156','2015-06-22 11:45:27'),(14481,2,3,'192.168.0.105','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, \'AR20150200000150\', \'sewa rumah\', \'20\', \'CHE HASMALIZA BINTI CHE HASAN\', 420, \'1\', \'1\', \'420\', \'2\', \'2015\', \'1\', \'INV2015[00000103]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.017001152038574','2015-06-22 11:45:27'),(14482,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000150\', 2, \'sewa rumah\', \'133\', \'CHE HASMALIZA BINTI CHE HASAN\', 420, \'1\', \'1\', \'420\', \'2\', \'2015\', \'1\', \'INV2015[00000103]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 11:45:27'),(14483,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 420, `total_amount_cr` = 420, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000150\'','artransaction/directInvoicePosting','0.004000186920166','2015-06-22 11:45:27'),(14484,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'529\'','Gltransaction/journalPosting','0.019001007080078','2015-06-22 11:45:47'),(14485,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000150\'','Gltransaction/journalPosting','0.0050008296966553','2015-06-22 11:45:47'),(14486,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0099999904632568','2015-06-22 11:45:47'),(14487,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0020010471343994','2015-06-22 11:45:47'),(14488,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'147\', \'\', \'\', \'RP20150622\', \'2015-05-11\', \'2\', 0, \'420\', \'121\', \'\', \'0\', \'0\', \'0\', \'420\')','arTransaction/saveNewReceivePayment','0.024002075195312','2015-06-22 11:47:04'),(14489,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 172, \'174\', \'0\', \'420\')','arTransaction/saveNewReceivePayment','0.033002138137817','2015-06-22 11:47:04'),(14490,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'174\'','arTransaction/saveNewReceivePayment','0.00099992752075195','2015-06-22 11:47:04'),(14491,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'172\' AND `updateAble` =  1','artransaction/paymentPosting','0.014001131057739','2015-06-22 11:47:29'),(14492,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 151 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.022001028060913','2015-06-22 11:47:29'),(14493,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000151\' WHERE `ID` =  \'172\'','artransaction/paymentPosting','0.02900218963623','2015-06-22 11:47:29'),(14494,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000151\', \'RP20150622[00000103]\', \'Posting Received Payment [ RP20150622[00000103] ]\', \'2\', \'2015-05-11\', \'2015\', \'2\', 420, 420, \'3\')','artransaction/paymentPosting','0.035001993179321','2015-06-22 11:47:29'),(14495,2,3,'192.168.0.105','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\', \'AR20150200000151\', 1, \'CHE HASMALIZA BINTI CHE HASAN\', \'20\', 420, 1, \'1\', \'420\', \'2\', \'2015\', \'1\', \'RP20150622[00000103]\', \'3\')','artransaction/paymentPosting','0.023000955581665','2015-06-22 11:47:29'),(14496,2,3,'192.168.0.105','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, \'AR20150200000151\', \'CHE HASMALIZA BINTI CHE HASAN\', \'129\', 420, 1, \'1\', \'420\', \'2\', \'2015\', \'1\', \'RP20150622[00000103]\', \'3\')','artransaction/paymentPosting','0.0010001659393311','2015-06-22 11:47:29'),(14497,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'530\'','Gltransaction/journalPosting','0.017001152038574','2015-06-22 11:47:49'),(14498,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000151\'','Gltransaction/journalPosting','0.06000280380249','2015-06-22 11:47:49'),(14499,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.057003021240234','2015-06-22 11:47:49'),(14500,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.013000965118408','2015-06-22 11:47:49'),(14501,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-06-22\', \'IMM/FW/TX1434938849938\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.29301691055298','2015-06-22 12:01:07'),(14502,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (75, \'2\', \'66\', \'1\', \'LEVY - 1 Indo\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.097005844116211','2015-06-22 12:01:07'),(14503,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  75','purchasetransaction/saveCharge','0.016000986099243','2015-06-22 12:01:07'),(14504,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =75','purchasetransaction/saveCharge','0.016000986099243','2015-06-22 12:01:07'),(14505,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'75\', \'2\', \'2\', \'66\', \'LEVY - 2 Vietnam\', \'2896\', \'23\', \'0\', \'0\', \'2896\')','purchasetransaction/saveChargeDetailOnly','0.012001037597656','2015-06-22 12:02:14'),(14506,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4346\' WHERE `ID` =  \'75\'','purchasetransaction/saveChargeDetailOnly','0.00099992752075195','2015-06-22 12:02:14'),(14507,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =75','purchasetransaction/saveChargeDetailOnly','0.00099992752075195','2015-06-22 12:02:14'),(14508,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'75\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0010001659393311','2015-06-22 12:03:00'),(14509,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.0010001659393311','2015-06-22 12:03:00'),(14510,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000057\' WHERE `ID` =  \'75\'','Aptransaction/invoicePosting','0.00099992752075195','2015-06-22 12:03:00'),(14511,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\', \'AP20150300000057\', \'PI2015[00000057]\', \'Purchase Invoice Confirm [ PI2015[00000057] ]\', \'3\', \'2015-06-22\', \'2015\', \'3\', 4346, 4346, \'2\')','Aptransaction/invoicePosting','0.033002138137817','2015-06-22 12:03:00'),(14512,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\', \'AP20150300000057\', 1, \'LEVY - 1 Indo\', \'64\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000057]\', NULL, \'2\')','Aptransaction/invoicePosting','0.047003030776978','2015-06-22 12:03:00'),(14513,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, \'AP20150300000057\', \'LEVY - 1 Indo\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000057]\', NULL, \'2\')','Aptransaction/invoicePosting','0.002000093460083','2015-06-22 12:03:00'),(14514,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\', \'AP20150300000057\', 3, \'LEVY - 2 Vietnam\', \'64\', \'MY EG SDN. BHD.\', 2896, \'1\', \'1\', \'2896\', \'3\', \'2015\', \'2\', \'PI2015[00000057]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-06-22 12:03:00'),(14515,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, \'AP20150300000057\', \'LEVY - 2 Vietnam\', \'66\', \'MY EG SDN. BHD.\', 2896, \'1\', \'1\', \'2896\', \'3\', \'2015\', \'2\', \'PI2015[00000057]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-06-22 12:03:00'),(14516,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4346, `total_amount_cr` = 4346, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000057\'','Aptransaction/invoicePosting','0.0010001659393311','2015-06-22 12:03:00'),(14517,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\', \'4346\', \'68\', \'PP20150622\', \'5\', \'1\', \'1.00000\', \'2015-06-19\', \'IMM/FW/TX1434938849938\', 0, \'\', \'\', \'0.00\', \'4346.00\', \'4346.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.18501091003418','2015-06-22 12:04:58'),(14518,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 56,1,ID,totalAmount, totalPayable  ,0.00,4346,2 from comp_supplier_invoice where ID=75','aptransaction/saveSupplierPayment','0.072004079818726','2015-06-22 12:04:58'),(14519,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4346, totalPayable = totalAmount - amountPaid  where ID = 75','aptransaction/saveSupplierPayment','0.046003103256226','2015-06-22 12:04:58'),(14520,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'531\'','Gltransaction/journalPosting','0.022001981735229','2015-06-22 12:05:16'),(14521,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000057\'','Gltransaction/journalPosting','0.072004079818726','2015-06-22 12:05:16'),(14522,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.047003030776978','2015-06-22 12:05:16'),(14523,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.011000871658325','2015-06-22 12:05:16'),(14524,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 12:05:16'),(14525,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0029997825622559','2015-06-22 12:05:16'),(14526,2,3,'192.168.0.105','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, \'150\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'850\', \'850\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.022001028060913','2015-06-22 12:05:25'),(14527,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (175, \'1\', \'3\', \'133\', \'sewa rumah\', \'850\', \'7\', \'0\', \'0\', \'850\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.031002044677734','2015-06-22 12:05:25'),(14528,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'850\' WHERE `ID` =  175','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 12:05:25'),(14529,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 152 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.003000020980835','2015-06-22 12:05:52'),(14530,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000152\', `updateAble` = \'0\' WHERE `ID` =  \'175\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 12:05:52'),(14531,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000152\', \'INV2015[00000104]\', \'Posting Direct Sales Invoices [ INV2015[00000104] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 850, 850, \'3\')','artransaction/directInvoicePosting','0.038002014160156','2015-06-22 12:05:52'),(14532,2,3,'192.168.0.105','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, \'AR20150200000152\', \'sewa rumah\', \'20\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', 850, \'1\', \'1\', \'850\', \'2\', \'2015\', \'1\', \'INV2015[00000104]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.039002180099487','2015-06-22 12:05:52'),(14533,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000152\', 2, \'sewa rumah\', \'133\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', 850, \'1\', \'1\', \'850\', \'2\', \'2015\', \'1\', \'INV2015[00000104]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.015000820159912','2015-06-22 12:05:52'),(14534,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 850, `total_amount_cr` = 850, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000152\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 12:05:52'),(14535,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'532\'','Gltransaction/journalPosting','0.0010008811950684','2015-06-22 12:06:10'),(14536,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000152\'','Gltransaction/journalPosting','0.042002201080322','2015-06-22 12:06:10'),(14537,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.049002885818481','2015-06-22 12:06:10'),(14538,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 12:06:10'),(14539,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'150\', \'\', \'\', \'RP20150622\', \'2015-05-07\', \'2\', 0, \'850\', \'69\', \'\', \'0\', \'0\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.031002044677734','2015-06-22 12:07:17'),(14540,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 173, \'175\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.021000862121582','2015-06-22 12:07:17'),(14541,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'175\'','arTransaction/saveNewReceivePayment','0.014001131057739','2015-06-22 12:07:17'),(14542,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'173\' AND `updateAble` =  1','artransaction/paymentPosting','0.011001110076904','2015-06-22 12:07:35'),(14543,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 153 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.010000228881836','2015-06-22 12:07:35'),(14544,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000153\' WHERE `ID` =  \'173\'','artransaction/paymentPosting','0.0070009231567383','2015-06-22 12:07:35'),(14545,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000153\', \'RP20150622[00000104]\', \'Posting Received Payment [ RP20150622[00000104] ]\', \'2\', \'2015-05-07\', \'2015\', \'2\', 850, 850, \'3\')','artransaction/paymentPosting','0.0090010166168213','2015-06-22 12:07:35'),(14546,2,3,'192.168.0.105','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\', \'AR20150200000153\', 1, \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', \'20\', 850, 1, \'1\', \'850\', \'2\', \'2015\', \'1\', \'RP20150622[00000104]\', \'3\')','artransaction/paymentPosting','0.0019998550415039','2015-06-22 12:07:35'),(14547,2,3,'192.168.0.105','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, \'AR20150200000153\', \'YM TENGKU AHMAD ADNAN BIN YM TUAN ABDULLAH\', \'129\', 850, 1, \'1\', \'850\', \'2\', \'2015\', \'1\', \'RP20150622[00000104]\', \'3\')','artransaction/paymentPosting','0.099004983901978','2015-06-22 12:07:35'),(14548,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'56\'','aptransaction/paymentPosting','0.002000093460083','2015-06-22 12:07:45'),(14549,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.00099992752075195','2015-06-22 12:07:46'),(14550,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000058\' WHERE `ID` =  \'56\'','aptransaction/paymentPosting','0.00099992752075195','2015-06-22 12:07:46'),(14551,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\', \'AP20150300000058\', \'PP20150622[00000051]\', \'Payment [ PP20150622[00000051] ]\', \'3\', \'2015-06-19\', \'2015\', \'3\', 4346, 4346, \'2\')','aptransaction/paymentPosting','0.043002128601074','2015-06-22 12:07:46'),(14552,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\', \'AP20150300000058\', 1, \'PI2015[00000057]\', \'25\', \'MY EG SDN. BHD.\', 4346, \'1\', \'1\', \'4346\', \'3\', \'2015\', \'1\', \'PP20150622[00000056]\', \'2\')','aptransaction/paymentPosting','0.035001993179321','2015-06-22 12:07:46'),(14553,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, \'AP20150300000058\', \'PI2015[00000057]\', \'64\', \'MY EG SDN. BHD.\', 4346, \'1\', \'1\', \'4346\', \'3\', \'2015\', \'PP20150622[00000056]\', \'1\', \'2\')','aptransaction/paymentPosting','0.002000093460083','2015-06-22 12:07:46'),(14554,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4346, `total_amount_cr` = 4346, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000058\'','aptransaction/paymentPosting','0.00099992752075195','2015-06-22 12:07:46'),(14555,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'534\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 12:07:58'),(14556,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000058\'','Gltransaction/journalPosting','0.070003986358643','2015-06-22 12:07:58'),(14557,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.053003072738647','2015-06-22 12:07:58'),(14558,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-06-22 12:07:58'),(14559,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'533\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:07:59'),(14560,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000153\'','Gltransaction/journalPosting','0.015001058578491','2015-06-22 12:07:59'),(14561,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.039001941680908','2015-06-22 12:07:59'),(14562,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:07:59'),(14563,2,3,'192.168.0.105','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, \'151\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'900\', \'900\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.047003030776978','2015-06-22 12:10:13'),(14564,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (176, \'1\', \'3\', \'133\', \'sewa rumah\', \'900\', \'7\', \'0\', \'0\', \'900\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.029001951217651','2015-06-22 12:10:13'),(14565,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'900\' WHERE `ID` =  176','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-22 12:10:13'),(14566,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 154 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.0060000419616699','2015-06-22 12:10:28'),(14567,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000154\', `updateAble` = \'0\' WHERE `ID` =  \'176\'','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 12:10:28'),(14568,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000154\', \'INV2015[00000105]\', \'Posting Direct Sales Invoices [ INV2015[00000105] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 900, 900, \'3\')','artransaction/directInvoicePosting','0.072004079818726','2015-06-22 12:10:28'),(14569,2,3,'192.168.0.105','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, \'AR20150200000154\', \'sewa rumah\', \'20\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', 900, \'1\', \'1\', \'900\', \'2\', \'2015\', \'1\', \'INV2015[00000105]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.03400182723999','2015-06-22 12:10:28'),(14570,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000154\', 2, \'sewa rumah\', \'133\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', 900, \'1\', \'1\', \'900\', \'2\', \'2015\', \'1\', \'INV2015[00000105]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010001659393311','2015-06-22 12:10:28'),(14571,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 900, `total_amount_cr` = 900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000154\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 12:10:28'),(14572,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'535\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:10:43'),(14573,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000154\'','Gltransaction/journalPosting','0.030001163482666','2015-06-22 12:10:43'),(14574,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.08800482749939','2015-06-22 12:10:43'),(14575,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 12:10:43'),(14576,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'151\', \'\', \'\', \'RP20150622\', \'2015-05-01\', \'2\', 0, \'900\', \'69\', \'\', \'0\', \'0\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.052003145217896','2015-06-22 12:11:53'),(14577,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 174, \'176\', \'0\', \'900\')','arTransaction/saveNewReceivePayment','0.022001028060913','2015-06-22 12:11:53'),(14578,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'176\'','arTransaction/saveNewReceivePayment','0.015001058578491','2015-06-22 12:11:53'),(14579,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `projectID` = \'\', `referenceNo` = \'\', `receivePaymentDate` = \'2015-05-19\', `memo` = \'\', `formNo` = \'RP20150622\', `totalReceived` = \'900\' WHERE `ID` =  \'174\'','Artransaction/update_receivePayment_header','0.017000913619995','2015-06-22 12:14:00'),(14580,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'174\' AND `updateAble` =  1','artransaction/paymentPosting','0.0020010471343994','2015-06-22 12:14:34'),(14581,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 155 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.0020010471343994','2015-06-22 12:14:34'),(14582,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000155\' WHERE `ID` =  \'174\'','artransaction/paymentPosting','0.005000114440918','2015-06-22 12:14:34'),(14583,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000155\', \'RP20150622[00000105]\', \'Posting Received Payment [ RP20150622[00000105] ]\', \'2\', \'2015-05-19\', \'2015\', \'2\', 900, 900, \'3\')','artransaction/paymentPosting','0.045002937316895','2015-06-22 12:14:34'),(14584,2,3,'192.168.0.105','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\', \'AR20150200000155\', 1, \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', \'20\', 900, 1, \'1\', \'900\', \'2\', \'2015\', \'1\', \'RP20150622[00000105]\', \'3\')','artransaction/paymentPosting','0.042001962661743','2015-06-22 12:14:34'),(14585,2,3,'192.168.0.105','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, \'AR20150200000155\', \'BUSINESS ADVANTAGE CORPORATION (M) SDN BHD\', \'129\', 900, 1, \'1\', \'900\', \'2\', \'2015\', \'1\', \'RP20150622[00000105]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-22 12:14:34'),(14586,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'536\'','Gltransaction/journalPosting','0.011000871658325','2015-06-22 12:14:55'),(14587,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000155\'','Gltransaction/journalPosting','0.046003103256226','2015-06-22 12:14:55'),(14588,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.044003009796143','2015-06-22 12:14:55'),(14589,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 12:14:55'),(14590,2,3,'192.168.0.105','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, \'152\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.043001890182495','2015-06-22 12:18:19'),(14591,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (177, \'1\', \'3\', \'133\', \'sewa rumah\', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.34001994132996','2015-06-22 12:18:19'),(14592,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  177','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010001659393311','2015-06-22 12:18:19'),(14593,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 156 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.055002927780151','2015-06-22 12:18:41'),(14594,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000156\', `updateAble` = \'0\' WHERE `ID` =  \'177\'','artransaction/directInvoicePosting','0.10000586509705','2015-06-22 12:18:41'),(14595,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000156\', \'INV2015[00000106]\', \'Posting Direct Sales Invoices [ INV2015[00000106] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.050002813339233','2015-06-22 12:18:41'),(14596,2,3,'192.168.0.105','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, \'AR20150200000156\', \'sewa rumah\', \'20\', \'HARUN BIN YUNUS\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000106]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.037002086639404','2015-06-22 12:18:41'),(14597,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000156\', 2, \'sewa rumah\', \'133\', \'HARUN BIN YUNUS\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000106]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.12800812721252','2015-06-22 12:18:41'),(14598,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000156\'','artransaction/directInvoicePosting','0.098005056381226','2015-06-22 12:18:41'),(14599,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'537\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 12:18:58'),(14600,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000156\'','Gltransaction/journalPosting','0.095005989074707','2015-06-22 12:18:58'),(14601,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.14600801467896','2015-06-22 12:18:58'),(14602,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 12:18:58'),(14603,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'152\', \'\', \'\', \'RP20150622\', \'2015-05-02\', \'2\', 0, \'800\', \'68\', \'\', \'0\', \'0\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.028001070022583','2015-06-22 12:20:17'),(14604,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 175, \'177\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.020001173019409','2015-06-22 12:20:17'),(14605,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'177\'','arTransaction/saveNewReceivePayment','0.025002002716064','2015-06-22 12:20:17'),(14606,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'175\' AND `updateAble` =  1','artransaction/paymentPosting','0.02000093460083','2015-06-22 12:20:45'),(14607,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 157 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.002000093460083','2015-06-22 12:20:45'),(14608,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000157\' WHERE `ID` =  \'175\'','artransaction/paymentPosting','0.01400089263916','2015-06-22 12:20:45'),(14609,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000157\', \'RP20150622[00000106]\', \'Posting Received Payment [ RP20150622[00000106] ]\', \'2\', \'2015-05-02\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/paymentPosting','0.02800178527832','2015-06-22 12:20:45'),(14610,2,3,'192.168.0.105','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\', \'AR20150200000157\', 1, \'HARUN BIN YUNUS\', \'20\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000106]\', \'3\')','artransaction/paymentPosting','0.033002138137817','2015-06-22 12:20:45'),(14611,2,3,'192.168.0.105','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, \'AR20150200000157\', \'HARUN BIN YUNUS\', \'129\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000106]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 12:20:45'),(14612,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'538\'','Gltransaction/journalPosting','0.02000093460083','2015-06-22 12:20:59'),(14613,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000157\'','Gltransaction/journalPosting','0.0069999694824219','2015-06-22 12:20:59'),(14614,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.011000871658325','2015-06-22 12:20:59'),(14615,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 12:20:59'),(14616,2,3,'192.168.0.105','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, \'155\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'700\', \'700\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.050003051757812','2015-06-22 12:23:10'),(14617,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (178, \'1\', \'3\', \'133\', \'sewa rumah\', \'700\', \'7\', \'0\', \'0\', \'700\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.033000946044922','2015-06-22 12:23:10'),(14618,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'700\' WHERE `ID` =  178','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 12:23:10'),(14619,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 158 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.00099992752075195','2015-06-22 12:23:42'),(14620,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000158\', `updateAble` = \'0\' WHERE `ID` =  \'178\'','artransaction/directInvoicePosting','0.0050010681152344','2015-06-22 12:23:42'),(14621,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000158\', \'INV2015[00000107]\', \'Posting Direct Sales Invoices [ INV2015[00000107] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 700, 700, \'3\')','artransaction/directInvoicePosting','0.042002201080322','2015-06-22 12:23:42'),(14622,2,3,'192.168.0.105','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, \'AR20150200000158\', \'sewa rumah\', \'20\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', 700, \'1\', \'1\', \'700\', \'2\', \'2015\', \'1\', \'INV2015[00000107]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.038002014160156','2015-06-22 12:23:42'),(14623,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000158\', 2, \'sewa rumah\', \'133\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', 700, \'1\', \'1\', \'700\', \'2\', \'2015\', \'1\', \'INV2015[00000107]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 12:23:42'),(14624,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000158\'','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 12:23:42'),(14625,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'539\'','Gltransaction/journalPosting','0.021001100540161','2015-06-22 12:24:01'),(14626,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000158\'','Gltransaction/journalPosting','0.063004016876221','2015-06-22 12:24:01'),(14627,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.059003114700317','2015-06-22 12:24:01'),(14628,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0090010166168213','2015-06-22 12:24:01'),(14629,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'155\', \'\', \'\', \'RP20150622\', \'2015-05-06\', \'2\', 0, \'700\', \'121\', \'\', \'0\', \'0\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.016000986099243','2015-06-22 12:25:15'),(14630,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 176, \'178\', \'0\', \'700\')','arTransaction/saveNewReceivePayment','0.02000093460083','2015-06-22 12:25:15'),(14631,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'178\'','arTransaction/saveNewReceivePayment','0.019001007080078','2015-06-22 12:25:15'),(14632,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'176\' AND `updateAble` =  1','artransaction/paymentPosting','0.014001131057739','2015-06-22 12:25:32'),(14633,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 159 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.0050010681152344','2015-06-22 12:25:32'),(14634,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000159\' WHERE `ID` =  \'176\'','artransaction/paymentPosting','0.00099992752075195','2015-06-22 12:25:32'),(14635,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000159\', \'RP20150622[00000107]\', \'Posting Received Payment [ RP20150622[00000107] ]\', \'2\', \'2015-05-06\', \'2015\', \'2\', 700, 700, \'3\')','artransaction/paymentPosting','0.0090010166168213','2015-06-22 12:25:32'),(14636,2,3,'192.168.0.105','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\', \'AR20150200000159\', 1, \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', \'20\', 700, 1, \'1\', \'700\', \'2\', \'2015\', \'1\', \'RP20150622[00000107]\', \'3\')','artransaction/paymentPosting','0.0010001659393311','2015-06-22 12:25:32'),(14637,2,3,'192.168.0.105','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, \'AR20150200000159\', \'MUHAMMAD IMRAN  BIN KAMARUL ASRI\', \'129\', 700, 1, \'1\', \'700\', \'2\', \'2015\', \'1\', \'RP20150622[00000107]\', \'3\')','artransaction/paymentPosting','0.0019998550415039','2015-06-22 12:25:32'),(14638,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'540\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:26:09'),(14639,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000159\'','Gltransaction/journalPosting','0.097005844116211','2015-06-22 12:26:09'),(14640,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.046002864837646','2015-06-22 12:26:09'),(14641,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.015001058578491','2015-06-22 12:26:09'),(14642,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, \'68\', \'1408\', \'OPN2015\', \'2015-06-18\', \'personal\', \'PN. SHIMA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.20901203155518','2015-06-22 12:30:41'),(14643,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (62, \'2\', \'PERSONAL\', \'1\', \'24\', \'1000\', \'1000\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.040003061294556','2015-06-22 12:30:41'),(14644,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'62\', \'2\', \'2\', \'PERSONAL\', \'24\', \'408\', \'408\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithoutItemDetailOnly','0.014001131057739','2015-06-22 12:31:09'),(14645,2,3,'192.168.0.105','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, \'156\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'600\', \'600\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.041002988815308','2015-06-22 12:32:03'),(14646,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (179, \'1\', \'3\', \'133\', \'sewa rumah\', \'600\', \'7\', \'0\', \'0\', \'600\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.030000925064087','2015-06-22 12:32:03'),(14647,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'600\' WHERE `ID` =  179','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-06-22 12:32:03'),(14648,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'62\'','gltransaction/otherpaymentposting','0.016000986099243','2015-06-22 12:32:18'),(14649,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.017001152038574','2015-06-22 12:32:18'),(14650,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000059\' WHERE `ID` =  \'62\'','gltransaction/otherpaymentposting','0.0059998035430908','2015-06-22 12:32:18'),(14651,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\', \'AP20150300000059\', \'Other Payment [OPN2015[00000041]]]\', \'Other Payment [OPN2015[00000041]]]\', \'3\', \'2015-06-18\', \'2015\', \'3\', 1408, 1408, \'2\')','gltransaction/otherpaymentposting','0.019001007080078','2015-06-22 12:32:18'),(14652,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\', \'AP20150300000059\', 1, \'PERSONAL\', \'25\', 1000, 1, 1, \'1000\', \'3\', \'2015\', \'1\', \'OPN2015[00000041]\', \'2\')','gltransaction/otherpaymentposting','0.025001049041748','2015-06-22 12:32:18'),(14653,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\', \'AP20150300000059\', 2, \'PERSONAL\', \'24\', 1000, 1, 1, \'1000\', \'3\', \'2015\', \'1\', \'OPN2015[00000041]\', \'2\')','gltransaction/otherpaymentposting','0','2015-06-22 12:32:18'),(14654,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\', \'AP20150300000059\', 3, \'PERSONAL\', \'25\', 408, 1, 1, \'408\', \'3\', \'2015\', \'2\', \'OPN2015[00000041]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-06-22 12:32:18'),(14655,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\', \'AP20150300000059\', 4, \'PERSONAL\', \'24\', 408, 1, 1, \'408\', \'3\', \'2015\', \'2\', \'OPN2015[00000041]\', \'2\')','gltransaction/otherpaymentposting','0.014001131057739','2015-06-22 12:32:18'),(14656,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1408, `total_amount_cr` = 1408, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000059\'','gltransaction/otherpaymentposting','0.0029997825622559','2015-06-22 12:32:18'),(14657,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'541\'','Gltransaction/journalPosting','0.011001110076904','2015-06-22 12:32:27'),(14658,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000059\'','Gltransaction/journalPosting','0.0039999485015869','2015-06-22 12:32:27'),(14659,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.064003944396973','2015-06-22 12:32:27'),(14660,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'24\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-06-22 12:32:27'),(14661,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.026001930236816','2015-06-22 12:32:27'),(14662,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'24\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-06-22 12:32:27'),(14663,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 160 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.0039999485015869','2015-06-22 12:32:29'),(14664,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000160\', `updateAble` = \'0\' WHERE `ID` =  \'179\'','artransaction/directInvoicePosting','0.019001007080078','2015-06-22 12:32:29'),(14665,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000160\', \'INV2015[00000108]\', \'Posting Direct Sales Invoices [ INV2015[00000108] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 600, 600, \'3\')','artransaction/directInvoicePosting','0.041002035140991','2015-06-22 12:32:29'),(14666,2,3,'192.168.0.105','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, \'AR20150200000160\', \'sewa rumah\', \'20\', \'CHE MUHAMAD NASRUL  BIN CHE MOHD NASHIR\', 600, \'1\', \'1\', \'600\', \'2\', \'2015\', \'1\', \'INV2015[00000108]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.019001007080078','2015-06-22 12:32:29'),(14667,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000160\', 2, \'sewa rumah\', \'133\', \'CHE MUHAMAD NASRUL  BIN CHE MOHD NASHIR\', 600, \'1\', \'1\', \'600\', \'2\', \'2015\', \'1\', \'INV2015[00000108]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.0010008811950684','2015-06-22 12:32:29'),(14668,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 600, `total_amount_cr` = 600, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000160\'','artransaction/directInvoicePosting','0.0090000629425049','2015-06-22 12:32:29'),(14669,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'542\'','Gltransaction/journalPosting','0.0010001659393311','2015-06-22 12:32:47'),(14670,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000160\'','Gltransaction/journalPosting','0.078003883361816','2015-06-22 12:32:47'),(14671,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.045002222061157','2015-06-22 12:32:47'),(14672,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0019998550415039','2015-06-22 12:32:47'),(14673,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'156\', \'\', \'\', \'RP20150622\', \'2015-04-27\', \'2\', 0, \'600\', \'68\', \'\', \'0\', \'0\', \'0\', \'600\')','arTransaction/saveNewReceivePayment','0.028001070022583','2015-06-22 12:33:45'),(14674,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 177, \'179\', \'0\', \'600\')','arTransaction/saveNewReceivePayment','0.040003061294556','2015-06-22 12:33:45'),(14675,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'179\'','arTransaction/saveNewReceivePayment','0.021001100540161','2015-06-22 12:33:45'),(14676,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'177\' AND `updateAble` =  1','artransaction/paymentPosting','0.027001857757568','2015-06-22 12:33:59'),(14677,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 134 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.010000944137573','2015-06-22 12:33:59'),(14678,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000134\' WHERE `ID` =  \'177\'','artransaction/paymentPosting','0.003000020980835','2015-06-22 12:33:59'),(14679,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150100000134\', \'RP20150622[00000108]\', \'Posting Received Payment [ RP20150622[00000108] ]\', \'2\', \'2015-04-27\', \'2015\', \'1\', 600, 600, \'3\')','artransaction/paymentPosting','0.015001058578491','2015-06-22 12:33:59'),(14680,2,3,'192.168.0.105','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\', \'AR20150100000134\', 1, \'CHE MUHAMAD NASRUL  BIN CHE MOHD NASHIR\', \'20\', 600, 1, \'1\', \'600\', \'1\', \'2015\', \'1\', \'RP20150622[00000108]\', \'3\')','artransaction/paymentPosting','0.025002002716064','2015-06-22 12:33:59'),(14681,2,3,'192.168.0.105','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, \'AR20150100000134\', \'CHE MUHAMAD NASRUL  BIN CHE MOHD NASHIR\', \'129\', 600, 1, \'1\', \'600\', \'1\', \'2015\', \'1\', \'RP20150622[00000108]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-22 12:33:59'),(14682,2,3,'192.168.0.105','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, \'157\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.063004016876221','2015-06-22 12:35:56'),(14683,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (180, \'1\', \'3\', \'133\', \'sewa rumah \', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.035001993179321','2015-06-22 12:35:56'),(14684,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  180','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-06-22 12:35:56'),(14685,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 161 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.0030009746551514','2015-06-22 12:36:17'),(14686,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000161\', `updateAble` = \'0\' WHERE `ID` =  \'180\'','artransaction/directInvoicePosting','0.0019998550415039','2015-06-22 12:36:17'),(14687,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000161\', \'INV2015[00000109]\', \'Posting Direct Sales Invoices [ INV2015[00000109] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.10100507736206','2015-06-22 12:36:17'),(14688,2,3,'192.168.0.105','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, \'AR20150200000161\', \'sewa rumah \', \'20\', \'MOHD FADZLI BIN NORJAE\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000109]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.10100603103638','2015-06-22 12:36:17'),(14689,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000161\', 2, \'sewa rumah \', \'133\', \'MOHD FADZLI BIN NORJAE\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000109]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.002000093460083','2015-06-22 12:36:17'),(14690,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000161\'','artransaction/directInvoicePosting','0.0010008811950684','2015-06-22 12:36:17'),(14691,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'544\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:36:37'),(14692,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000161\'','Gltransaction/journalPosting','0.045003175735474','2015-06-22 12:36:37'),(14693,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.066004037857056','2015-06-22 12:36:37'),(14694,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0069999694824219','2015-06-22 12:36:37'),(14695,2,3,'192.168.0.105','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\', \'3\', \'1.00000\', \'157\', \'\', \'\', \'RP20150622\', \'2015-05-06\', \'2\', 0, \'800\', \'68\', \'\', \'0\', \'0\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.39202189445496','2015-06-22 12:38:08'),(14696,2,3,'192.168.0.105','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 178, \'180\', \'0\', \'800\')','arTransaction/saveNewReceivePayment','0.070003986358643','2015-06-22 12:38:09'),(14697,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'180\'','arTransaction/saveNewReceivePayment','0.089004993438721','2015-06-22 12:38:09'),(14698,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'178\' AND `updateAble` =  1','artransaction/paymentPosting','0.02000093460083','2015-06-22 12:38:31'),(14699,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 162 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.012001037597656','2015-06-22 12:38:31'),(14700,2,3,'192.168.0.105','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000162\' WHERE `ID` =  \'178\'','artransaction/paymentPosting','0.0069999694824219','2015-06-22 12:38:31'),(14701,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000162\', \'RP20150622[00000109]\', \'Posting Received Payment [ RP20150622[00000109] ]\', \'2\', \'2015-05-06\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/paymentPosting','0.0090007781982422','2015-06-22 12:38:31'),(14702,2,3,'192.168.0.105','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\', \'AR20150200000162\', 1, \'MOHD FADZLI BIN NORJAE\', \'20\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000109]\', \'3\')','artransaction/paymentPosting','0.002000093460083','2015-06-22 12:38:31'),(14703,2,3,'192.168.0.105','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, \'AR20150200000162\', \'MOHD FADZLI BIN NORJAE\', \'129\', 800, 1, \'1\', \'800\', \'2\', \'2015\', \'1\', \'RP20150622[00000109]\', \'3\')','artransaction/paymentPosting','0.00099992752075195','2015-06-22 12:38:31'),(14704,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'545\'','Gltransaction/journalPosting','0.003000020980835','2015-06-22 12:38:46'),(14705,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000162\'','Gltransaction/journalPosting','0.36002087593079','2015-06-22 12:38:46'),(14706,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.61703610420227','2015-06-22 12:38:47'),(14707,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'129\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-06-22 12:38:47'),(14708,2,3,'192.168.0.105','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, \'158\', \'INV2015\', \'2015-05-01\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'3\', 0, \'800\', \'800\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','1.8501060009003','2015-06-22 12:40:40'),(14709,2,3,'192.168.0.105','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (181, \'1\', \'3\', \'133\', \'sewa rumah\', \'800\', \'7\', \'0\', \'0\', \'800\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.39802289009094','2015-06-22 12:40:40'),(14710,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'800\' WHERE `ID` =  181','Artransaction/saveNewDirectSaleInvoiceCharges','0.056003093719482','2015-06-22 12:40:40'),(14711,2,3,'192.168.0.105','update','UPDATE `comp_jl_seq` SET `seqNo` = 163 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.25201392173767','2015-06-22 12:41:13'),(14712,2,3,'192.168.0.105','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000163\', `updateAble` = \'0\' WHERE `ID` =  \'181\'','artransaction/directInvoicePosting','0.32901906967163','2015-06-22 12:41:13'),(14713,2,3,'192.168.0.105','insert','INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (\'2\', \'AR20150200000163\', \'INV2015[00000110]\', \'Posting Direct Sales Invoices [ INV2015[00000110] ]\', \'2\', \'2015-05-01\', \'2015\', \'2\', 800, 800, \'3\')','artransaction/directInvoicePosting','0.28201603889465','2015-06-22 12:41:13'),(14714,2,3,'192.168.0.105','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, \'AR20150200000163\', \'sewa rumah\', \'20\', \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000110]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.46002602577209','2015-06-22 12:41:13'),(14715,2,3,'192.168.0.105','insert','INSERT 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\', \'AR20150200000163\', 2, \'sewa rumah\', \'133\', \'MOHD KHAIRIL BIN ZAINAL ABIDIN\', 800, \'1\', \'1\', \'800\', \'2\', \'2015\', \'1\', \'INV2015[00000110]\', \'0\', \'3\')','artransaction/directInvoicePosting','0.023002147674561','2015-06-22 12:41:14'),(14716,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `total_amount_dr` = 800, `total_amount_cr` = 800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000163\'','artransaction/directInvoicePosting','0.027000904083252','2015-06-22 12:41:14'),(14717,2,3,'192.168.0.105','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'546\'','Gltransaction/journalPosting','0.12500715255737','2015-06-22 12:41:38'),(14718,2,3,'192.168.0.105','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000163\'','Gltransaction/journalPosting','0.74304294586182','2015-06-22 12:41:38'),(14719,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.78404498100281','2015-06-22 12:41:38'),(14720,2,3,'192.168.0.105','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'3\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'133\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.081004858016968','2015-06-22 12:41:38'),