(1222,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\', \'AR20150700000046\', \'ORI20151209[00000064]\', \' [ ORI20151209[00000064] ]\', \'2\', \'2015-10-13\', \'2015\', \'7\', \'7200\', \'7200\', \'2\')','gltransaction/otherreceiveposting','0.046002149581909','2015-12-09 13:47:02'),(1223,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\', \'AR20150700000046\', 1, \'From daily petty cash dated 12/10/15\', \'25\', \'PETTY CASH\', 7200, 1, 1, \'7200\', \'7\', \'2015\', NULL, \'ORI20151209[00000064]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.087004899978638','2015-12-09 13:47:02'),(1224,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`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AR20150700000046\', \'From daily petty cash dated 12/10/15\', \'130\', \'PETTY CASH\', 7200, 1, 1, \'7200\', \'7\', \'2015\', \'ORI20151209[00000064]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.016001224517822','2015-12-09 13:47:02'),(1225,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7200, `total_amount_cr` = 7200, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000046\'','gltransaction/otherreceiveposting','0.045002937316895','2015-12-09 13:47:02'),(1226,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'931\'','Gltransaction/journalPosting','0.010999917984009','2015-12-09 13:47:14'),(1227,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000046\'','Gltransaction/journalPosting','0.13700819015503','2015-12-09 13:47:14'),(1228,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.047003030776978','2015-12-09 13:47:14'),(1229,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'130\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-09 13:47:14'),(1230,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\', \'SAPRAE\', \'\', \'B-22\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.075003862380981','2015-12-10 10:20:36'),(1231,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\', \'YUNIATI\', \'\', \'B-23\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.02900218963623','2015-12-10 10:20:59'),(1232,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, \'238\', \'INV2015\', \'2015-10-13\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.37202191352844','2015-12-10 10:25:25'),(1233,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (294, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.13700795173645','2015-12-10 10:25:25'),(1234,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  294','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 10:25:25'),(1235,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'294\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.025000810623169','2015-12-10 10:25:44'),(1236,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'294\'','Artransaction/saveNewSaleDetailOnlyCharges','0.049001932144165','2015-12-10 10:25:44'),(1237,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'294\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.024000883102417','2015-12-10 10:26:11'),(1238,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'294\'','Artransaction/saveNewSaleDetailOnlyCharges','0.035001993179321','2015-12-10 10:26:11'),(1239,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'294\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001028060913','2015-12-10 10:26:40'),(1240,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'294\'','Artransaction/saveNewSaleDetailOnlyCharges','0.046002864837646','2015-12-10 10:26:40'),(1241,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'294\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.04000186920166','2015-12-10 10:26:59'),(1242,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'294\'','Artransaction/saveNewSaleDetailOnlyCharges','0.047003030776978','2015-12-10 10:26:59'),(1243,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, \'239\', \'INV2015\', \'2015-10-13\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.031002044677734','2015-12-10 10:27:49'),(1244,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (295, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.010000944137573','2015-12-10 10:27:49'),(1245,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  295','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 10:27:49'),(1246,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'295\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.029000997543335','2015-12-10 10:28:13'),(1247,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'295\'','Artransaction/saveNewSaleDetailOnlyCharges','0.044002056121826','2015-12-10 10:28:13'),(1248,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'295\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.031001806259155','2015-12-10 10:29:46'),(1249,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'295\'','Artransaction/saveNewSaleDetailOnlyCharges','0.035001993179321','2015-12-10 10:29:46'),(1250,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'295\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.081005096435547','2015-12-10 10:30:06'),(1251,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'295\'','Artransaction/saveNewSaleDetailOnlyCharges','0.01400089263916','2015-12-10 10:30:06'),(1252,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'295\', \'5\', \'2\', \'58\', \'Part of SERVICE FEE\', \'74.06\', \'2\', \'6\', \'4.44\', \'78.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.037002801895142','2015-12-10 10:30:38'),(1253,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'4.44\', `totalAmount` = \'1800\', `totalReceivable` = \'1800\' WHERE `ID` =  \'295\'','Artransaction/saveNewSaleDetailOnlyCharges','0.019001007080078','2015-12-10 10:30:38'),(1254,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.042001962661743','2015-12-10 10:33:23'),(1255,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000047\', `updateAble` = \'0\' WHERE `ID` =  \'294\'','artransaction/directInvoicePosting','0.05500316619873','2015-12-10 10:33:23'),(1256,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\', \'AR20150700000047\', \'INV2015[00000223]\', \'Posting Direct Sales Invoices [ INV2015[00000223] ]\', \'2\', \'2015-10-13\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.086004972457886','2015-12-10 10:33:23'),(1257,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, \'AR20150700000047\', \'LEVY\', \'20\', \'SAPRAE\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.19901084899902','2015-12-10 10:33:23'),(1258,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\', \'AR20150700000047\', 2, \'LEVY\', \'59\', \'SAPRAE\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.021002054214478','2015-12-10 10:33:23'),(1259,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, \'AR20150700000047\', \'IG (Insurance Guarantee)\', \'20\', \'SAPRAE\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 10:33:23'),(1260,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\', \'AR20150700000047\', 4, \'IG (Insurance Guarantee)\', \'121\', \'SAPRAE\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.013000011444092','2015-12-10 10:33:23'),(1261,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, \'AR20150700000047\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'SAPRAE\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011000871658325','2015-12-10 10:33:23'),(1262,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\', \'AR20150700000047\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'SAPRAE\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.13700795173645','2015-12-10 10:33:23'),(1263,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, \'AR20150700000047\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'SAPRAE\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.042002201080322','2015-12-10 10:33:23'),(1264,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\', \'AR20150700000047\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'SAPRAE\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 10:33:23'),(1265,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, \'AR20150700000047\', \'SERVICE FEE\', \'20\', \'SAPRAE\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.043003082275391','2015-12-10 10:33:23'),(1266,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\', \'AR20150700000047\', 10, \'SERVICE FEE\', \'58\', \'SAPRAE\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.031002044677734','2015-12-10 10:33:23'),(1267,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, \'AR20150700000047\', \'SERVICE FEE\', \'20\', \'SAPRAE\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.025001049041748','2015-12-10 10:33:23'),(1268,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, \'AR20150700000047\', \'SERVICE FEE\', \'40\', \'SAPRAE\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000223]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.02000093460083','2015-12-10 10:33:23'),(1269,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000047\'','artransaction/directInvoicePosting','0.024002075195312','2015-12-10 10:33:23'),(1270,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.023001909255981','2015-12-10 10:33:24'),(1271,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000048\', `updateAble` = \'0\' WHERE `ID` =  \'295\'','artransaction/directInvoicePosting','0.061003923416138','2015-12-10 10:33:24'),(1272,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\', \'AR20150700000048\', \'INV2015[00000224]\', \'Posting Direct Sales Invoices [ INV2015[00000224] ]\', \'2\', \'2015-10-13\', \'2015\', \'7\', 1800, 1800, \'2\')','artransaction/directInvoicePosting','0.036001920700073','2015-12-10 10:33:24'),(1273,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, \'AR20150700000048\', \'LEVY\', \'20\', \'YUNIATI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.012001037597656','2015-12-10 10:33:24'),(1274,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\', \'AR20150700000048\', 2, \'LEVY\', \'59\', \'YUNIATI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011000156402588','2015-12-10 10:33:24'),(1275,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, \'AR20150700000048\', \'IG (Insurance Guarantee)\', \'20\', \'YUNIATI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01200008392334','2015-12-10 10:33:24'),(1276,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\', \'AR20150700000048\', 4, \'IG (Insurance Guarantee)\', \'121\', \'YUNIATI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.043003082275391','2015-12-10 10:33:24'),(1277,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, \'AR20150700000048\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'YUNIATI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.030002117156982','2015-12-10 10:33:24'),(1278,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\', \'AR20150700000048\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'YUNIATI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.010999917984009','2015-12-10 10:33:24'),(1279,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, \'AR20150700000048\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'YUNIATI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 10:33:24'),(1280,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\', \'AR20150700000048\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'YUNIATI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.012001037597656','2015-12-10 10:33:24'),(1281,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, \'AR20150700000048\', \'Part of SERVICE FEE\', \'20\', \'YUNIATI\', 74.06, \'1\', \'1\', \'74.06\', \'7\', \'2015\', \'5\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011001110076904','2015-12-10 10:33:24'),(1282,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\', \'AR20150700000048\', 10, \'Part of SERVICE FEE\', \'58\', \'YUNIATI\', 74.06, \'1\', \'1\', \'74.06\', \'7\', \'2015\', \'5\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01200008392334','2015-12-10 10:33:24'),(1283,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, \'AR20150700000048\', \'Part of SERVICE FEE\', \'20\', \'YUNIATI\', 4.44, \'1\', \'1\', \'4.44\', \'7\', \'2015\', \'5\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011001110076904','2015-12-10 10:33:24'),(1284,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, \'AR20150700000048\', \'Part of SERVICE FEE\', \'40\', \'YUNIATI\', 4.44, \'1\', \'1\', \'4.44\', \'7\', \'2015\', \'5\', \'INV2015[00000224]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.012001037597656','2015-12-10 10:33:24'),(1285,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1800, `total_amount_cr` = 1800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000048\'','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 10:33:24'),(1286,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\', \'238\', \'\', \'\', \'RP20151210\', \'2015-10-13\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.081004858016968','2015-12-10 10:35:27'),(1287,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 272, \'294\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.077004909515381','2015-12-10 10:35:27'),(1288,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'294\'','arTransaction/saveNewReceivePayment','0.050002098083496','2015-12-10 10:35:27'),(1289,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\', \'239\', \'\', \'\', \'RP20151210\', \'2015-10-13\', \'5\', 0, \'1800\', \'68\', \'\', \'0\', \'0\', \'0\', \'1800\')','arTransaction/saveNewReceivePayment','0.033002138137817','2015-12-10 10:37:08'),(1290,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 273, \'295\', \'0\', \'1800\')','arTransaction/saveNewReceivePayment','0.012000799179077','2015-12-10 10:37:08'),(1291,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'295\'','arTransaction/saveNewReceivePayment','0.021001100540161','2015-12-10 10:37:08'),(1292,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'272\' AND `updateAble` =  1','artransaction/paymentPosting','0.034002065658569','2015-12-10 10:37:25'),(1293,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.01400089263916','2015-12-10 10:37:25'),(1294,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000049\' WHERE `ID` =  \'272\'','artransaction/paymentPosting','0.039002180099487','2015-12-10 10:37:25'),(1295,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\', \'AR20150700000049\', \'RP20151210[00000203]\', \'Posting Received Payment [ RP20151210[00000203] ]\', \'2\', \'2015-10-13\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.021000862121582','2015-12-10 10:37:25'),(1296,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\', \'AR20150700000049\', 1, \'SAPRAE\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000203]\', \'2\')','artransaction/paymentPosting','0.012000799179077','2015-12-10 10:37:25'),(1297,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, \'AR20150700000049\', \'SAPRAE\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000203]\', \'2\')','artransaction/paymentPosting','0.028000831604004','2015-12-10 10:37:25'),(1298,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'273\' AND `updateAble` =  1','artransaction/paymentPosting','0.025001049041748','2015-12-10 10:37:25'),(1299,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.024002075195312','2015-12-10 10:37:25'),(1300,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000050\' WHERE `ID` =  \'273\'','artransaction/paymentPosting','0.0090000629425049','2015-12-10 10:37:25'),(1301,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\', \'AR20150700000050\', \'RP20151210[00000204]\', \'Posting Received Payment [ RP20151210[00000204] ]\', \'2\', \'2015-10-13\', \'2015\', \'7\', 1800, 1800, \'2\')','artransaction/paymentPosting','0.011000871658325','2015-12-10 10:37:25'),(1302,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\', \'AR20150700000050\', 1, \'YUNIATI\', \'20\', 1800, 1, \'1\', \'1800\', \'7\', \'2015\', \'1\', \'RP20151210[00000204]\', \'2\')','artransaction/paymentPosting','0.012001037597656','2015-12-10 10:37:25'),(1303,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, \'AR20150700000050\', \'YUNIATI\', \'25\', 1800, 1, \'1\', \'1800\', \'7\', \'2015\', \'1\', \'RP20151210[00000204]\', \'2\')','artransaction/paymentPosting','0.013000965118408','2015-12-10 10:37:25'),(1304,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'932\'','Gltransaction/journalPosting','0.047002077102661','2015-12-10 10:37:51'),(1305,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000047\'','Gltransaction/journalPosting','0.21601295471191','2015-12-10 10:37:51'),(1306,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.043001890182495','2015-12-10 10:37:51'),(1307,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.052003145217896','2015-12-10 10:37:51'),(1308,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011001110076904','2015-12-10 10:37:51'),(1309,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 10:37:51'),(1310,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011001110076904','2015-12-10 10:37:51'),(1311,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.0099999904632568','2015-12-10 10:37:51'),(1312,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 10:37:51'),(1313,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.027002096176147','2015-12-10 10:37:51'),(1314,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011000156402588','2015-12-10 10:37:51'),(1315,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011001110076904','2015-12-10 10:37:51'),(1316,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 10:37:51'),(1317,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010999917984009','2015-12-10 10:37:51'),(1318,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'933\'','Gltransaction/journalPosting','0.0350022315979','2015-12-10 10:37:52'),(1319,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000048\'','Gltransaction/journalPosting','0.033001899719238','2015-12-10 10:37:52'),(1320,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-10 10:37:52'),(1321,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.049003124237061','2015-12-10 10:37:52'),(1322,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 10:37:52'),(1323,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-10 10:37:52'),(1324,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011001110076904','2015-12-10 10:37:52'),(1325,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.029001951217651','2015-12-10 10:37:52'),(1326,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.042002201080322','2015-12-10 10:37:52'),(1327,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 10:37:52'),(1328,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025002002716064','2015-12-10 10:37:52'),(1329,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010999917984009','2015-12-10 10:37:52'),(1330,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 10:37:52'),(1331,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011000871658325','2015-12-10 10:37:52'),(1332,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'934\'','Gltransaction/journalPosting','0.029001951217651','2015-12-10 10:37:52'),(1333,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000049\'','Gltransaction/journalPosting','0.013000011444092','2015-12-10 10:37:52'),(1334,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025002002716064','2015-12-10 10:37:52'),(1335,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 10:37:52'),(1336,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'935\'','Gltransaction/journalPosting','0.0090000629425049','2015-12-10 10:37:53'),(1337,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000050\'','Gltransaction/journalPosting','0.028002023696899','2015-12-10 10:37:53'),(1338,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024001121520996','2015-12-10 10:37:53'),(1339,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023002147674561','2015-12-10 10:37:53'),(1340,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'\', \'2\', \'2\', \'68\', \'1550\', \'ORI20151210\', \'2015-10-15\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.25401377677917','2015-12-10 10:39:40'),(1341,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (65, \'2\', \'From daily petty cash dated dated 13/10/15\', \'1\', \'25\', \'1550\', \'1550\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.092006206512451','2015-12-10 10:39:40'),(1342,2,2,'::1','update','UPDATE `comp_receive_payment_others_detail` SET `updatedBy` = \'2\', `description` = \'From daily petty cash dated 13/10/15\', `accountNoID` = \'25\', `amountIncludedTax` = \'1550\', `amountExcludedTax` = \'1550\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'78\'','gltransaction/updOtherRecieveRow','0.022001028060913','2015-12-10 10:40:51'),(1343,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'65\'','gltransaction/otherreceiveposting','0.030000925064087','2015-12-10 10:41:34'),(1344,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.01200008392334','2015-12-10 10:41:34'),(1345,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150700000051\' WHERE `ID` =  \'65\'','gltransaction/otherreceiveposting','0.0090010166168213','2015-12-10 10:41:34'),(1346,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\', \'AR20150700000051\', \'ORI20151210[00000065]\', \' [ ORI20151210[00000065] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', \'1550\', \'1550\', \'2\')','gltransaction/otherreceiveposting','0.054003000259399','2015-12-10 10:41:34'),(1347,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\', \'AR20150700000051\', 1, \'From daily petty cash dated 13/10/15\', \'25\', \'PETTY CASH\', 1550, 1, 1, \'1550\', \'7\', \'2015\', NULL, \'ORI20151210[00000065]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.089004993438721','2015-12-10 10:41:34'),(1348,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`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AR20150700000051\', \'From daily petty cash dated 13/10/15\', \'130\', \'PETTY CASH\', 1550, 1, 1, \'1550\', \'7\', \'2015\', \'ORI20151210[00000065]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.016000986099243','2015-12-10 10:41:34'),(1349,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1550, `total_amount_cr` = 1550, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000051\'','gltransaction/otherreceiveposting','0.033001899719238','2015-12-10 10:41:34'),(1350,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'936\'','Gltransaction/journalPosting','0.033002138137817','2015-12-10 10:41:46'),(1351,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000051\'','Gltransaction/journalPosting','0.14800906181335','2015-12-10 10:41:46'),(1352,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033001184463501','2015-12-10 10:41:46'),(1353,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'130\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.052001953125','2015-12-10 10:41:46'),(1354,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\', \'RASMIJA MAIN\', \'\', \'B-24\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.042001962661743','2015-12-10 10:54:57'),(1355,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\', \'EKO YULIANTO\', \'\', \'B-25\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.046003103256226','2015-12-10 10:55:30'),(1356,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\', \'SUBANDI\', \'\', \'B-26\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.040002107620239','2015-12-10 10:55:47'),(1357,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\', \'ISTIANAH\', \'\', \'B-27\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.041002988815308','2015-12-10 10:56:11'),(1358,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, \'240\', \'INV2015\', \'2015-10-15\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.067003965377808','2015-12-10 10:57:33'),(1359,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (296, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.031002044677734','2015-12-10 10:57:33'),(1360,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  296','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010008811950684','2015-12-10 10:57:33'),(1361,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'296\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.043001890182495','2015-12-10 10:59:30'),(1362,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'296\'','Artransaction/saveNewSaleDetailOnlyCharges','0.025001049041748','2015-12-10 10:59:30'),(1363,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'296\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.021001815795898','2015-12-10 10:59:50'),(1364,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'296\'','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-10 10:59:50'),(1365,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'296\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.030000925064087','2015-12-10 11:00:11'),(1366,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'296\'','Artransaction/saveNewSaleDetailOnlyCharges','0.031002044677734','2015-12-10 11:00:11'),(1367,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'296\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-10 11:00:36'),(1368,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'296\'','Artransaction/saveNewSaleDetailOnlyCharges','0.023002147674561','2015-12-10 11:00:36'),(1369,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, \'241\', \'INV2015\', \'2015-10-15\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.04200291633606','2015-12-10 11:01:43'),(1370,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (297, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.017000913619995','2015-12-10 11:01:43'),(1371,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  297','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 11:01:43'),(1372,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'297\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.026001214981079','2015-12-10 11:02:05'),(1373,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'297\'','Artransaction/saveNewSaleDetailOnlyCharges','0.044001817703247','2015-12-10 11:02:05'),(1374,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'297\', \'3\', \'2\', \'123\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001028060913','2015-12-10 11:02:26'),(1375,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'297\'','Artransaction/saveNewSaleDetailOnlyCharges','0.034002065658569','2015-12-10 11:02:26'),(1376,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'297\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.046002864837646','2015-12-10 11:02:51'),(1377,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'297\'','Artransaction/saveNewSaleDetailOnlyCharges','0.018001079559326','2015-12-10 11:02:51'),(1378,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'297\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.039002180099487','2015-12-10 11:03:08'),(1379,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'297\'','Artransaction/saveNewSaleDetailOnlyCharges','0.010000944137573','2015-12-10 11:03:08'),(1380,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'122\', `chargeDescription` = \'FWCS (Foreign Worker Compensation Scheme)\', `amountExcludedTax` = \'76.3\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\', `amountIncludedTax` = \'76.3\' WHERE `ID` =  \'1171\'','Artransaction/updateCharge','0.034002065658569','2015-12-10 11:04:17'),(1381,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'297\'','Artransaction/updateCharge','0.00099992752075195','2015-12-10 11:04:17'),(1382,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, \'242\', \'INV2015\', \'2015-10-15\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.041002035140991','2015-12-10 11:05:46'),(1383,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (298, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.010000228881836','2015-12-10 11:05:46'),(1384,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  298','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 11:05:46'),(1385,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'298\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.029000997543335','2015-12-10 11:06:09'),(1386,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'298\'','Artransaction/saveNewSaleDetailOnlyCharges','0.019001007080078','2015-12-10 11:06:09'),(1387,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'298\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.021000862121582','2015-12-10 11:06:40'),(1388,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'298\'','Artransaction/saveNewSaleDetailOnlyCharges','0.031001091003418','2015-12-10 11:06:40'),(1389,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'298\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.058003187179565','2015-12-10 11:07:06'),(1390,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'298\'','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-10 11:07:06'),(1391,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'298\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.04200291633606','2015-12-10 11:16:22'),(1392,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'298\'','Artransaction/saveNewSaleDetailOnlyCharges','0.049002885818481','2015-12-10 11:16:22'),(1393,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, \'243\', \'INV2015\', \'2015-10-15\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.068002939224243','2015-12-10 11:48:08'),(1394,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (299, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.033001899719238','2015-12-10 11:48:08'),(1395,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  299','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-12-10 11:48:08'),(1396,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'299\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'875.94\', \'8\', \'0\', \'0\', \'875.94\')','Artransaction/saveNewSaleDetailOnlyCharges','0.033002138137817','2015-12-10 11:48:34'),(1397,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2325.94\', `totalReceivable` = \'2325.94\' WHERE `ID` =  \'299\'','Artransaction/saveNewSaleDetailOnlyCharges','0.037002086639404','2015-12-10 11:48:34'),(1398,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'299\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.048002958297729','2015-12-10 12:06:11'),(1399,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2402.2400000000002\', `totalReceivable` = \'2402.2400000000002\' WHERE `ID` =  \'299\'','Artransaction/saveNewSaleDetailOnlyCharges','0.071003913879395','2015-12-10 12:06:11'),(1400,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'299\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-10 12:06:40'),(1401,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2529.44\', `totalReceivable` = \'2529.44\' WHERE `ID` =  \'299\'','Artransaction/saveNewSaleDetailOnlyCharges','0.034002065658569','2015-12-10 12:06:40'),(1402,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'299\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.036002159118652','2015-12-10 12:06:59'),(1403,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'3457.94\', `totalReceivable` = \'3457.94\' WHERE `ID` =  \'299\'','Artransaction/saveNewSaleDetailOnlyCharges','0.030000925064087','2015-12-10 12:06:59'),(1404,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'121\', `chargeDescription` = \'IG (Insurance Guarantee)\', `amountExcludedTax` = \'68\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\', `amountIncludedTax` = \'68\' WHERE `ID` =  \'1180\'','Artransaction/updateCharge','0.051003217697144','2015-12-10 12:07:34'),(1405,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'299\'','Artransaction/updateCharge','0.025001049041748','2015-12-10 12:07:34'),(1406,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.023001194000244','2015-12-10 12:07:59'),(1407,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000052\', `updateAble` = \'0\' WHERE `ID` =  \'296\'','artransaction/directInvoicePosting','0.029001951217651','2015-12-10 12:07:59'),(1408,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\', \'AR20150700000052\', \'INV2015[00000225]\', \'Posting Direct Sales Invoices [ INV2015[00000225] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.11400604248047','2015-12-10 12:07:59'),(1409,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, \'AR20150700000052\', \'LEVY\', \'20\', \'RASMIJA MAIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.10000610351562','2015-12-10 12:07:59'),(1410,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\', \'AR20150700000052\', 2, \'LEVY\', \'59\', \'RASMIJA MAIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.054003000259399','2015-12-10 12:07:59'),(1411,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, \'AR20150700000052\', \'IG (Insurance Guarantee)\', \'20\', \'RASMIJA MAIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.1730101108551','2015-12-10 12:08:00'),(1412,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\', \'AR20150700000052\', 4, \'IG (Insurance Guarantee)\', \'121\', \'RASMIJA MAIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.027002096176147','2015-12-10 12:08:00'),(1413,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, \'AR20150700000052\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'RASMIJA MAIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.013000965118408','2015-12-10 12:08:00'),(1414,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\', \'AR20150700000052\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'RASMIJA MAIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 12:08:00'),(1415,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, \'AR20150700000052\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'RASMIJA MAIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033002138137817','2015-12-10 12:08:00'),(1416,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\', \'AR20150700000052\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'RASMIJA MAIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-12-10 12:08:00'),(1417,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, \'AR20150700000052\', \'SERVICE FEE\', \'20\', \'RASMIJA MAIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 12:08:00'),(1418,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\', \'AR20150700000052\', 10, \'SERVICE FEE\', \'58\', \'RASMIJA MAIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 12:08:00'),(1419,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, \'AR20150700000052\', \'SERVICE FEE\', \'20\', \'RASMIJA MAIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 12:08:00'),(1420,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, \'AR20150700000052\', \'SERVICE FEE\', \'40\', \'RASMIJA MAIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000225]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.014001131057739','2015-12-10 12:08:00'),(1421,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000052\'','artransaction/directInvoicePosting','0.052003145217896','2015-12-10 12:08:00'),(1422,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.021001100540161','2015-12-10 12:08:00'),(1423,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000053\', `updateAble` = \'0\' WHERE `ID` =  \'297\'','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:00'),(1424,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\', \'AR20150700000053\', \'INV2015[00000226]\', \'Posting Direct Sales Invoices [ INV2015[00000226] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.036001920700073','2015-12-10 12:08:01'),(1425,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, \'AR20150700000053\', \'LEVY\', \'20\', \'EKO YULIANTO\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.035001993179321','2015-12-10 12:08:01'),(1426,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\', \'AR20150700000053\', 2, \'LEVY\', \'59\', \'EKO YULIANTO\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:01'),(1427,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, \'AR20150700000053\', \'IG (Insurance Guarantee)\', \'20\', \'EKO YULIANTO\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:01'),(1428,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\', \'AR20150700000053\', 4, \'IG (Insurance Guarantee)\', \'121\', \'EKO YULIANTO\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016001224517822','2015-12-10 12:08:01'),(1429,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, \'AR20150700000053\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'EKO YULIANTO\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-12-10 12:08:01'),(1430,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\', \'AR20150700000053\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'EKO YULIANTO\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 12:08:01'),(1431,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, \'AR20150700000053\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'EKO YULIANTO\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-12-10 12:08:01'),(1432,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\', \'AR20150700000053\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'EKO YULIANTO\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000032424927','2015-12-10 12:08:01'),(1433,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, \'AR20150700000053\', \'SERVICE FEE\', \'20\', \'EKO YULIANTO\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.035001993179321','2015-12-10 12:08:01'),(1434,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\', \'AR20150700000053\', 10, \'SERVICE FEE\', \'58\', \'EKO YULIANTO\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.014000177383423','2015-12-10 12:08:01'),(1435,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, \'AR20150700000053\', \'SERVICE FEE\', \'20\', \'EKO YULIANTO\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 12:08:01'),(1436,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, \'AR20150700000053\', \'SERVICE FEE\', \'40\', \'EKO YULIANTO\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000226]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:01'),(1437,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000053\'','artransaction/directInvoicePosting','0.041002988815308','2015-12-10 12:08:01'),(1438,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.065002918243408','2015-12-10 12:08:01'),(1439,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000054\', `updateAble` = \'0\' WHERE `ID` =  \'298\'','artransaction/directInvoicePosting','0.023002147674561','2015-12-10 12:08:01'),(1440,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\', \'AR20150700000054\', \'INV2015[00000227]\', \'Posting Direct Sales Invoices [ INV2015[00000227] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 12:08:02'),(1441,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, \'AR20150700000054\', \'LEVY\', \'20\', \'SUBANDI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-12-10 12:08:02'),(1442,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\', \'AR20150700000054\', 2, \'LEVY\', \'59\', \'SUBANDI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.035001993179321','2015-12-10 12:08:02'),(1443,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, \'AR20150700000054\', \'IG (Insurance Guarantee)\', \'20\', \'SUBANDI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1444,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\', \'AR20150700000054\', 4, \'IG (Insurance Guarantee)\', \'121\', \'SUBANDI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1445,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, \'AR20150700000054\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'SUBANDI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1446,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\', \'AR20150700000054\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'SUBANDI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1447,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, \'AR20150700000054\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'SUBANDI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001028060913','2015-12-10 12:08:02'),(1448,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\', \'AR20150700000054\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'SUBANDI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 12:08:02'),(1449,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, \'AR20150700000054\', \'SERVICE FEE\', \'20\', \'SUBANDI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1450,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\', \'AR20150700000054\', 10, \'SERVICE FEE\', \'58\', \'SUBANDI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1451,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, \'AR20150700000054\', \'SERVICE FEE\', \'20\', \'SUBANDI\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:02'),(1452,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, \'AR20150700000054\', \'SERVICE FEE\', \'40\', \'SUBANDI\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000227]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.023000955581665','2015-12-10 12:08:02'),(1453,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000054\'','artransaction/directInvoicePosting','0.025002002716064','2015-12-10 12:08:02'),(1454,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.033002138137817','2015-12-10 12:08:02'),(1455,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000055\', `updateAble` = \'0\' WHERE `ID` =  \'299\'','artransaction/directInvoicePosting','0.026001930236816','2015-12-10 12:08:02'),(1456,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\', \'AR20150700000055\', \'INV2015[00000228]\', \'Posting Direct Sales Invoices [ INV2015[00000228] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.027002096176147','2015-12-10 12:08:02'),(1457,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, \'AR20150700000055\', \'LEVY\', \'20\', \'ISTIANAH\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1458,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\', \'AR20150700000055\', 2, \'LEVY\', \'59\', \'ISTIANAH\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033001899719238','2015-12-10 12:08:03'),(1459,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, \'AR20150700000055\', \'IG (Insurance Guarantee)\', \'20\', \'ISTIANAH\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1460,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\', \'AR20150700000055\', 4, \'IG (Insurance Guarantee)\', \'121\', \'ISTIANAH\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:03'),(1461,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, \'AR20150700000055\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'ISTIANAH\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.015000104904175','2015-12-10 12:08:03'),(1462,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\', \'AR20150700000055\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'ISTIANAH\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:03'),(1463,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, \'AR20150700000055\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'ISTIANAH\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000032424927','2015-12-10 12:08:03'),(1464,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\', \'AR20150700000055\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'ISTIANAH\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1465,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, \'AR20150700000055\', \'SERVICE FEE\', \'20\', \'ISTIANAH\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1466,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\', \'AR20150700000055\', 10, \'SERVICE FEE\', \'58\', \'ISTIANAH\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 12:08:03'),(1467,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, \'AR20150700000055\', \'SERVICE FEE\', \'20\', \'ISTIANAH\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.024001836776733','2015-12-10 12:08:03'),(1468,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, \'AR20150700000055\', \'SERVICE FEE\', \'40\', \'ISTIANAH\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000228]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1469,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000055\'','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 12:08:03'),(1470,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\', \'240\', \'\', \'\', \'RP20151210\', \'2015-10-15\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.14200806617737','2015-12-10 12:09:00'),(1471,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 274, \'296\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.090004920959473','2015-12-10 12:09:00'),(1472,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'296\'','arTransaction/saveNewReceivePayment','0.071003913879395','2015-12-10 12:09:00'),(1473,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\', \'241\', \'\', \'\', \'RP20151210\', \'2015-10-15\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.018001079559326','2015-12-10 12:09:33'),(1474,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 275, \'297\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.021002054214478','2015-12-10 12:09:33'),(1475,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'297\'','arTransaction/saveNewReceivePayment','0.035001993179321','2015-12-10 12:09:33'),(1476,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\', \'242\', \'\', \'\', \'RP20151210\', \'2015-10-15\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.017001152038574','2015-12-10 12:09:59'),(1477,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 276, \'298\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.016000986099243','2015-12-10 12:09:59'),(1478,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'298\'','arTransaction/saveNewReceivePayment','0.042001962661743','2015-12-10 12:09:59'),(1479,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\', \'243\', \'\', \'\', \'RP20151210\', \'2015-10-15\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.028002023696899','2015-12-10 12:10:36'),(1480,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 277, \'299\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.061002969741821','2015-12-10 12:10:36'),(1481,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'299\'','arTransaction/saveNewReceivePayment','0.02000093460083','2015-12-10 12:10:36'),(1482,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'274\' AND `updateAble` =  1','artransaction/paymentPosting','0.11300611495972','2015-12-10 12:10:57'),(1483,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.020001173019409','2015-12-10 12:10:57'),(1484,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000056\' WHERE `ID` =  \'274\'','artransaction/paymentPosting','0.016000986099243','2015-12-10 12:10:57'),(1485,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\', \'AR20150700000056\', \'RP20151210[00000205]\', \'Posting Received Payment [ RP20151210[00000205] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.062002897262573','2015-12-10 12:10:57'),(1486,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\', \'AR20150700000056\', 1, \'RASMIJA MAIN\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000205]\', \'2\')','artransaction/paymentPosting','0.090005159378052','2015-12-10 12:10:58'),(1487,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, \'AR20150700000056\', \'RASMIJA MAIN\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000205]\', \'2\')','artransaction/paymentPosting','0.016000986099243','2015-12-10 12:10:58'),(1488,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'275\' AND `updateAble` =  1','artransaction/paymentPosting','0.018001079559326','2015-12-10 12:10:58'),(1489,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.0090010166168213','2015-12-10 12:10:58'),(1490,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000057\' WHERE `ID` =  \'275\'','artransaction/paymentPosting','0.035001993179321','2015-12-10 12:10:58'),(1491,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\', \'AR20150700000057\', \'RP20151210[00000206]\', \'Posting Received Payment [ RP20151210[00000206] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.029001951217651','2015-12-10 12:10:58'),(1492,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\', \'AR20150700000057\', 1, \'EKO YULIANTO\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000206]\', \'2\')','artransaction/paymentPosting','0.033002138137817','2015-12-10 12:10:58'),(1493,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, \'AR20150700000057\', \'EKO YULIANTO\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000206]\', \'2\')','artransaction/paymentPosting','0.016000986099243','2015-12-10 12:10:58'),(1494,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'276\' AND `updateAble` =  1','artransaction/paymentPosting','0.015001058578491','2015-12-10 12:10:58'),(1495,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.028001070022583','2015-12-10 12:10:58'),(1496,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000058\' WHERE `ID` =  \'276\'','artransaction/paymentPosting','0.016000986099243','2015-12-10 12:10:58'),(1497,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\', \'AR20150700000058\', \'RP20151210[00000207]\', \'Posting Received Payment [ RP20151210[00000207] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.011001110076904','2015-12-10 12:10:58'),(1498,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\', \'AR20150700000058\', 1, \'SUBANDI\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000207]\', \'2\')','artransaction/paymentPosting','0.035001993179321','2015-12-10 12:10:58'),(1499,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, \'AR20150700000058\', \'SUBANDI\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000207]\', \'2\')','artransaction/paymentPosting','0.033001899719238','2015-12-10 12:10:58'),(1500,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'277\' AND `updateAble` =  1','artransaction/paymentPosting','0.015001058578491','2015-12-10 12:10:59'),(1501,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.0079998970031738','2015-12-10 12:10:59'),(1502,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000059\' WHERE `ID` =  \'277\'','artransaction/paymentPosting','0.026001930236816','2015-12-10 12:10:59'),(1503,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\', \'AR20150700000059\', \'RP20151210[00000208]\', \'Posting Received Payment [ RP20151210[00000208] ]\', \'2\', \'2015-10-15\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.026001930236816','2015-12-10 12:10:59'),(1504,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\', \'AR20150700000059\', 1, \'ISTIANAH\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000208]\', \'2\')','artransaction/paymentPosting','0.035001993179321','2015-12-10 12:10:59'),(1505,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, \'AR20150700000059\', \'ISTIANAH\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000208]\', \'2\')','artransaction/paymentPosting','0.017000913619995','2015-12-10 12:10:59'),(1506,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'937\'','Gltransaction/journalPosting','0.040002822875977','2015-12-10 12:11:25'),(1507,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000052\'','Gltransaction/journalPosting','0.21401214599609','2015-12-10 12:11:25'),(1508,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.067003965377808','2015-12-10 12:11:25'),(1509,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.048002958297729','2015-12-10 12:11:25'),(1510,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023001194000244','2015-12-10 12:11:25'),(1511,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 12:11:25'),(1512,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 12:11:25'),(1513,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 12:11:25'),(1514,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.049003124237061','2015-12-10 12:11:25'),(1515,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.056003093719482','2015-12-10 12:11:25'),(1516,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.057003021240234','2015-12-10 12:11:25'),(1517,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.031000852584839','2015-12-10 12:11:25'),(1518,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023001909255981','2015-12-10 12:11:25'),(1519,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.048002958297729','2015-12-10 12:11:25'),(1520,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'938\'','Gltransaction/journalPosting','0.066003799438477','2015-12-10 12:11:27'),(1521,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000053\'','Gltransaction/journalPosting','0.038002014160156','2015-12-10 12:11:27'),(1522,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.23401284217834','2015-12-10 12:11:27'),(1523,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1524,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1525,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.026002168655396','2015-12-10 12:11:27'),(1526,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.021001100540161','2015-12-10 12:11:27'),(1527,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1528,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1529,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1530,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.066004037857056','2015-12-10 12:11:27'),(1531,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.015001058578491','2015-12-10 12:11:27'),(1532,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:27'),(1533,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014999866485596','2015-12-10 12:11:27'),(1534,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'939\'','Gltransaction/journalPosting','0.035001993179321','2015-12-10 12:11:28'),(1535,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000054\'','Gltransaction/journalPosting','0.026002168655396','2015-12-10 12:11:28'),(1536,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.02000093460083','2015-12-10 12:11:28'),(1537,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023002147674561','2015-12-10 12:11:28'),(1538,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.015001058578491','2015-12-10 12:11:28'),(1539,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.015001058578491','2015-12-10 12:11:28'),(1540,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 12:11:28'),(1541,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.074003934860229','2015-12-10 12:11:28'),(1542,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.030002117156982','2015-12-10 12:11:28'),(1543,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 12:11:28'),(1544,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 12:11:28'),(1545,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025001049041748','2015-12-10 12:11:28'),(1546,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.039002180099487','2015-12-10 12:11:28'),(1547,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024002075195312','2015-12-10 12:11:28'),(1548,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'940\'','Gltransaction/journalPosting','0.035001993179321','2015-12-10 12:11:29'),(1549,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000055\'','Gltransaction/journalPosting','0.058002948760986','2015-12-10 12:11:29'),(1550,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 12:11:29'),(1551,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:29'),(1552,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032002210617065','2015-12-10 12:11:29'),(1553,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.031002044677734','2015-12-10 12:11:29'),(1554,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025000810623169','2015-12-10 12:11:29'),(1555,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.031001806259155','2015-12-10 12:11:29'),(1556,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 12:11:29'),(1557,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.065004110336304','2015-12-10 12:11:29'),(1558,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.042001962661743','2015-12-10 12:11:29'),(1559,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.029000997543335','2015-12-10 12:11:29'),(1560,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.04200291633606','2015-12-10 12:11:29'),(1561,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 12:11:29'),(1562,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'941\'','Gltransaction/journalPosting','0.022001028060913','2015-12-10 12:11:29'),(1563,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000056\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 12:11:29'),(1564,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 12:11:29'),(1565,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.025002002716064','2015-12-10 12:11:29'),(1566,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'942\'','Gltransaction/journalPosting','0.044002056121826','2015-12-10 12:11:30'),(1567,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000057\'','Gltransaction/journalPosting','0.23901391029358','2015-12-10 12:11:30'),(1568,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-10 12:11:30'),(1569,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.014999866485596','2015-12-10 12:11:30'),(1570,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'943\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 12:11:31'),(1571,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000058\'','Gltransaction/journalPosting','0.017001152038574','2015-12-10 12:11:31'),(1572,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.015001058578491','2015-12-10 12:11:31'),(1573,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017001152038574','2015-12-10 12:11:31'),(1574,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'944\'','Gltransaction/journalPosting','0.056003093719482','2015-12-10 12:11:31'),(1575,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000059\'','Gltransaction/journalPosting','0.029000997543335','2015-12-10 12:11:31'),(1576,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.030002117156982','2015-12-10 12:11:31'),(1577,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023001194000244','2015-12-10 12:11:31'),(1578,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'\', \'2\', \'2\', \'68\', \'3350\', \'ORI20151210\', \'2015-10-16\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.17101001739502','2015-12-10 12:13:42'),(1579,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (66, \'2\', \'From daily petty cash dated 15/10/15\', \'1\', \'25\', \'3350\', \'3350\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.064003944396973','2015-12-10 12:13:42'),(1580,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'66\'','gltransaction/otherreceiveposting','0.031001806259155','2015-12-10 12:19:30'),(1581,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.028002023696899','2015-12-10 12:19:30'),(1582,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150700000060\' WHERE `ID` =  \'66\'','gltransaction/otherreceiveposting','0.025000810623169','2015-12-10 12:19:30'),(1583,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\', \'AR20150700000060\', \'ORI20151210[00000066]\', \' [ ORI20151210[00000066] ]\', \'2\', \'2015-10-16\', \'2015\', \'7\', \'3350\', \'3350\', \'2\')','gltransaction/otherreceiveposting','0.029000997543335','2015-12-10 12:19:30'),(1584,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\', \'AR20150700000060\', 1, \'From daily petty cash dated 15/10/15\', \'25\', \'PETTY CASH\', 3350, 1, 1, \'3350\', \'7\', \'2015\', NULL, \'ORI20151210[00000066]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.058004140853882','2015-12-10 12:19:30'),(1585,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`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AR20150700000060\', \'From daily petty cash dated 15/10/15\', \'130\', \'PETTY CASH\', 3350, 1, 1, \'3350\', \'7\', \'2015\', \'ORI20151210[00000066]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.033000946044922','2015-12-10 12:19:30'),(1586,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 3350, `total_amount_cr` = 3350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000060\'','gltransaction/otherreceiveposting','0.033002138137817','2015-12-10 12:19:30'),(1587,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'945\'','Gltransaction/journalPosting','0.044003009796143','2015-12-10 12:19:43'),(1588,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000060\'','Gltransaction/journalPosting','0.075004100799561','2015-12-10 12:19:43'),(1589,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.049002885818481','2015-12-10 12:19:43'),(1590,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'130\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.039002180099487','2015-12-10 12:19:43'),(1591,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 SAM\', \'\', \'B-28\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.065004110336304','2015-12-10 12:33:23'),(1592,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\', \'BUDI WAHYONO\', \'\', \'B-29\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.036002159118652','2015-12-10 12:34:06'),(1593,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, \'244\', \'INV2015\', \'2015-10-19\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.073004007339478','2015-12-10 12:47:29'),(1594,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (300, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.049003124237061','2015-12-10 12:47:29'),(1595,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  300','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 12:47:29'),(1596,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'300\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.036001920700073','2015-12-10 12:47:51'),(1597,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'300\'','Artransaction/saveNewSaleDetailOnlyCharges','0.018000841140747','2015-12-10 12:47:51'),(1598,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'300\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.041002035140991','2015-12-10 12:48:15'),(1599,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'300\'','Artransaction/saveNewSaleDetailOnlyCharges','0.013999938964844','2015-12-10 12:48:15'),(1600,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'300\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.050003051757812','2015-12-10 12:48:34'),(1601,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'300\'','Artransaction/saveNewSaleDetailOnlyCharges','0.036001920700073','2015-12-10 12:48:34'),(1602,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'300\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.090004920959473','2015-12-10 12:48:55'),(1603,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'300\'','Artransaction/saveNewSaleDetailOnlyCharges','0.033001899719238','2015-12-10 12:48:55'),(1604,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, \'245\', \'INV2015\', \'2015-10-19\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.039001941680908','2015-12-10 12:52:44'),(1605,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (301, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.016000986099243','2015-12-10 12:52:44'),(1606,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  301','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 12:52:44'),(1607,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'301\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.03200101852417','2015-12-10 12:53:07'),(1608,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'301\'','Artransaction/saveNewSaleDetailOnlyCharges','0.033001899719238','2015-12-10 12:53:07'),(1609,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'301\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001981735229','2015-12-10 12:53:31'),(1610,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'301\'','Artransaction/saveNewSaleDetailOnlyCharges','0.076004028320312','2015-12-10 12:53:31'),(1611,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'301\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.20401191711426','2015-12-10 12:53:52'),(1612,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'301\'','Artransaction/saveNewSaleDetailOnlyCharges','0.16200995445251','2015-12-10 12:53:52'),(1613,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'301\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.046002149581909','2015-12-10 12:54:12'),(1614,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'301\'','Artransaction/saveNewSaleDetailOnlyCharges','0.033002138137817','2015-12-10 12:54:12'),(1615,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, \'237\', \'INV2015\', \'2015-10-19\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'850\', \'850\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.088005065917969','2015-12-10 12:55:36'),(1616,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (302, \'1\', \'2\', \'58\', \'Balance of Service FEE\', \'801.89\', \'2\', \'6\', \'48.11\', \'850\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.04000186920166','2015-12-10 12:55:36'),(1617,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'48.11\', `totalAmount` = \'850\' WHERE `ID` =  302','Artransaction/saveNewDirectSaleInvoiceCharges','0.045002937316895','2015-12-10 12:55:36'),(1618,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.038002014160156','2015-12-10 13:14:04'),(1619,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000061\', `updateAble` = \'0\' WHERE `ID` =  \'300\'','artransaction/directInvoicePosting','0.024002075195312','2015-12-10 13:14:04'),(1620,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\', \'AR20150700000061\', \'INV2015[00000229]\', \'Posting Direct Sales Invoices [ INV2015[00000229] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.064003944396973','2015-12-10 13:14:04'),(1621,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, \'AR20150700000061\', \'LEVY\', \'20\', \'MUHAMMAD SAM\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.075004100799561','2015-12-10 13:14:04'),(1622,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\', \'AR20150700000061\', 2, \'LEVY\', \'59\', \'MUHAMMAD SAM\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033001899719238','2015-12-10 13:14:04'),(1623,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, \'AR20150700000061\', \'IG (Insurance Guarantee)\', \'20\', \'MUHAMMAD SAM\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017001152038574','2015-12-10 13:14:04'),(1624,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\', \'AR20150700000061\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MUHAMMAD SAM\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1625,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, \'AR20150700000061\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MUHAMMAD SAM\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1626,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\', \'AR20150700000061\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MUHAMMAD SAM\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1627,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, \'AR20150700000061\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'MUHAMMAD SAM\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1628,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\', \'AR20150700000061\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'MUHAMMAD SAM\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.041002035140991','2015-12-10 13:14:05'),(1629,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, \'AR20150700000061\', \'SERVICE FEE\', \'20\', \'MUHAMMAD SAM\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.25801491737366','2015-12-10 13:14:05'),(1630,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\', \'AR20150700000061\', 10, \'SERVICE FEE\', \'58\', \'MUHAMMAD SAM\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.024001121520996','2015-12-10 13:14:05'),(1631,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, \'AR20150700000061\', \'SERVICE FEE\', \'20\', \'MUHAMMAD SAM\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1632,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, \'AR20150700000061\', \'SERVICE FEE\', \'40\', \'MUHAMMAD SAM\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000229]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.049003124237061','2015-12-10 13:14:05'),(1633,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000061\'','artransaction/directInvoicePosting','0.049003124237061','2015-12-10 13:14:05'),(1634,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.045001983642578','2015-12-10 13:14:05'),(1635,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000062\', `updateAble` = \'0\' WHERE `ID` =  \'301\'','artransaction/directInvoicePosting','0.058002948760986','2015-12-10 13:14:05'),(1636,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\', \'AR20150700000062\', \'INV2015[00000230]\', \'Posting Direct Sales Invoices [ INV2015[00000230] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.028002023696899','2015-12-10 13:14:05'),(1637,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, \'AR20150700000062\', \'LEVY\', \'20\', \'BUDI WAHYONO\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.025001049041748','2015-12-10 13:14:05'),(1638,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\', \'AR20150700000062\', 2, \'LEVY\', \'59\', \'BUDI WAHYONO\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 13:14:05'),(1639,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, \'AR20150700000062\', \'IG (Insurance Guarantee)\', \'20\', \'BUDI WAHYONO\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:05'),(1640,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\', \'AR20150700000062\', 4, \'IG (Insurance Guarantee)\', \'121\', \'BUDI WAHYONO\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.047003030776978','2015-12-10 13:14:06'),(1641,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, \'AR20150700000062\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'BUDI WAHYONO\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.026001930236816','2015-12-10 13:14:06'),(1642,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\', \'AR20150700000062\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'BUDI WAHYONO\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1643,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, \'AR20150700000062\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'BUDI WAHYONO\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.024000883102417','2015-12-10 13:14:06'),(1644,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\', \'AR20150700000062\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'BUDI WAHYONO\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1645,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, \'AR20150700000062\', \'SERVICE FEE\', \'20\', \'BUDI WAHYONO\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1646,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\', \'AR20150700000062\', 10, \'SERVICE FEE\', \'58\', \'BUDI WAHYONO\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.041002035140991','2015-12-10 13:14:06'),(1647,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, \'AR20150700000062\', \'SERVICE FEE\', \'20\', \'BUDI WAHYONO\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1648,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, \'AR20150700000062\', \'SERVICE FEE\', \'40\', \'BUDI WAHYONO\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000230]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1649,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000062\'','artransaction/directInvoicePosting','0.033001899719238','2015-12-10 13:14:06'),(1650,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.037001848220825','2015-12-10 13:14:06'),(1651,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000063\', `updateAble` = \'0\' WHERE `ID` =  \'302\'','artransaction/directInvoicePosting','0.13700795173645','2015-12-10 13:14:06'),(1652,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\', \'AR20150700000063\', \'INV2015[00000231]\', \'Posting Direct Sales Invoices [ INV2015[00000231] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 850, 850, \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 13:14:06'),(1653,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, \'AR20150700000063\', \'Balance of Service FEE\', \'20\', \'SAIFUL BAHRI\', 801.89, \'1\', \'1\', \'801.89\', \'7\', \'2015\', \'1\', \'INV2015[00000231]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.041002035140991','2015-12-10 13:14:06'),(1654,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\', \'AR20150700000063\', 2, \'Balance of Service FEE\', \'58\', \'SAIFUL BAHRI\', 801.89, \'1\', \'1\', \'801.89\', \'7\', \'2015\', \'1\', \'INV2015[00000231]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.055002927780151','2015-12-10 13:14:06'),(1655,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, \'AR20150700000063\', \'Balance of Service FEE\', \'20\', \'SAIFUL BAHRI\', 48.11, \'1\', \'1\', \'48.11\', \'7\', \'2015\', \'1\', \'INV2015[00000231]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.027002096176147','2015-12-10 13:14:06'),(1656,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, \'AR20150700000063\', \'Balance of Service FEE\', \'40\', \'SAIFUL BAHRI\', 48.11, \'1\', \'1\', \'48.11\', \'7\', \'2015\', \'1\', \'INV2015[00000231]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 13:14:06'),(1657,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 850, `total_amount_cr` = 850, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000063\'','artransaction/directInvoicePosting','0.033002138137817','2015-12-10 13:14:06'),(1658,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\', \'244\', \'\', \'\', \'RP20151210\', \'2015-10-19\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.026001214981079','2015-12-10 13:18:04'),(1659,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 278, \'300\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.058002948760986','2015-12-10 13:18:04'),(1660,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'300\'','arTransaction/saveNewReceivePayment','0.016000986099243','2015-12-10 13:18:04'),(1661,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\', \'245\', \'\', \'\', \'RP20151210\', \'2015-10-19\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.035001993179321','2015-12-10 13:18:37'),(1662,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 279, \'301\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.049002885818481','2015-12-10 13:18:37'),(1663,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'301\'','arTransaction/saveNewReceivePayment','0.016001224517822','2015-12-10 13:18:37'),(1664,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\', \'237\', \'\', \'\', \'RP20151210\', \'2015-10-19\', \'5\', 0, \'850\', \'68\', \'\', \'0\', \'0\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.037002086639404','2015-12-10 13:20:55'),(1665,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 280, \'302\', \'0\', \'850\')','arTransaction/saveNewReceivePayment','0.033002138137817','2015-12-10 13:20:55'),(1666,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'302\'','arTransaction/saveNewReceivePayment','0.017000913619995','2015-12-10 13:20:55'),(1667,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'278\' AND `updateAble` =  1','artransaction/paymentPosting','0.023000955581665','2015-12-10 13:21:11'),(1668,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.022001028060913','2015-12-10 13:21:11'),(1669,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000064\' WHERE `ID` =  \'278\'','artransaction/paymentPosting','0.033001899719238','2015-12-10 13:21:11'),(1670,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\', \'AR20150700000064\', \'RP20151210[00000209]\', \'Posting Received Payment [ RP20151210[00000209] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.071004152297974','2015-12-10 13:21:11'),(1671,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\', \'AR20150700000064\', 1, \'MUHAMMAD SAM\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000209]\', \'2\')','artransaction/paymentPosting','0.084004878997803','2015-12-10 13:21:11'),(1672,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, \'AR20150700000064\', \'MUHAMMAD SAM\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000209]\', \'2\')','artransaction/paymentPosting','0.017000913619995','2015-12-10 13:21:11'),(1673,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'279\' AND `updateAble` =  1','artransaction/paymentPosting','0.032001972198486','2015-12-10 13:21:11'),(1674,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.031001091003418','2015-12-10 13:21:11'),(1675,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000065\' WHERE `ID` =  \'279\'','artransaction/paymentPosting','0.033001899719238','2015-12-10 13:21:11'),(1676,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\', \'AR20150700000065\', \'RP20151210[00000210]\', \'Posting Received Payment [ RP20151210[00000210] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.027001142501831','2015-12-10 13:21:11'),(1677,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\', \'AR20150700000065\', 1, \'BUDI WAHYONO\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000210]\', \'2\')','artransaction/paymentPosting','0.016000986099243','2015-12-10 13:21:11'),(1678,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, \'AR20150700000065\', \'BUDI WAHYONO\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000210]\', \'2\')','artransaction/paymentPosting','0.017000913619995','2015-12-10 13:21:11'),(1679,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'280\' AND `updateAble` =  1','artransaction/paymentPosting','0.038002967834473','2015-12-10 13:21:12'),(1680,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.036001920700073','2015-12-10 13:21:12'),(1681,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000066\' WHERE `ID` =  \'280\'','artransaction/paymentPosting','0.017001152038574','2015-12-10 13:21:12'),(1682,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\', \'AR20150700000066\', \'RP20151210[00000211]\', \'Posting Received Payment [ RP20151210[00000211] ]\', \'2\', \'2015-10-19\', \'2015\', \'7\', 850, 850, \'2\')','artransaction/paymentPosting','0.027002096176147','2015-12-10 13:21:12'),(1683,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\', \'AR20150700000066\', 1, \'SAIFUL BAHRI\', \'20\', 850, 1, \'1\', \'850\', \'7\', \'2015\', \'1\', \'RP20151210[00000211]\', \'2\')','artransaction/paymentPosting','0.052002906799316','2015-12-10 13:21:12'),(1684,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, \'AR20150700000066\', \'SAIFUL BAHRI\', \'25\', 850, 1, \'1\', \'850\', \'7\', \'2015\', \'1\', \'RP20151210[00000211]\', \'2\')','artransaction/paymentPosting','0.030001878738403','2015-12-10 13:21:12'),(1685,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'946\'','Gltransaction/journalPosting','0.046003103256226','2015-12-10 13:21:38'),(1686,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000061\'','Gltransaction/journalPosting','0.18300986289978','2015-12-10 13:21:38'),(1687,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.034002065658569','2015-12-10 13:21:38'),(1688,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.056003093719482','2015-12-10 13:21:38'),(1689,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 13:21:38'),(1690,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.042002201080322','2015-12-10 13:21:38'),(1691,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 13:21:38'),(1692,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.048002958297729','2015-12-10 13:21:38'),(1693,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.031001806259155','2015-12-10 13:21:38'),(1694,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-10 13:21:38'),(1695,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.031000852584839','2015-12-10 13:21:38'),(1696,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.048002958297729','2015-12-10 13:21:38'),(1697,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.022001981735229','2015-12-10 13:21:38'),(1698,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.033002138137817','2015-12-10 13:21:38'),(1699,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'947\'','Gltransaction/journalPosting','0.047003030776978','2015-12-10 13:21:39'),(1700,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000062\'','Gltransaction/journalPosting','0.18300986289978','2015-12-10 13:21:39'),(1701,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 13:21:39'),(1702,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.017001152038574','2015-12-10 13:21:39'),(1703,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023001909255981','2015-12-10 13:21:39'),(1704,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 13:21:39'),(1705,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024001121520996','2015-12-10 13:21:39'),(1706,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 13:21:39'),(1707,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 13:21:39'),(1708,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 13:21:40'),(1709,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.015001058578491','2015-12-10 13:21:40'),(1710,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 13:21:40'),(1711,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024001121520996','2015-12-10 13:21:40'),(1712,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 13:21:40'),(1713,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'948\'','Gltransaction/journalPosting','0.019001007080078','2015-12-10 13:21:40'),(1714,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000063\'','Gltransaction/journalPosting','0.033002138137817','2015-12-10 13:21:40'),(1715,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 13:21:40'),(1716,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-10 13:21:40'),(1717,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.19201111793518','2015-12-10 13:21:40'),(1718,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.021001100540161','2015-12-10 13:21:40'),(1719,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'949\'','Gltransaction/journalPosting','0.018001079559326','2015-12-10 13:21:41'),(1720,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000064\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 13:21:41'),(1721,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.048003196716309','2015-12-10 13:21:41'),(1722,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-10 13:21:41'),(1723,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'950\'','Gltransaction/journalPosting','0.027002096176147','2015-12-10 13:21:41'),(1724,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000065\'','Gltransaction/journalPosting','0.018001079559326','2015-12-10 13:21:41'),(1725,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 13:21:41'),(1726,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 13:21:41'),(1727,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'951\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 13:21:41'),(1728,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000066\'','Gltransaction/journalPosting','0.025001049041748','2015-12-10 13:21:41'),(1729,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.021001100540161','2015-12-10 13:21:41'),(1730,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 13:21:41'),(1731,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'\', \'2\', \'2\', \'68\', \'350\', \'ORI20151210\', \'2015-10-20\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.17901086807251','2015-12-10 13:26:38'),(1732,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (67, \'2\', \'From daily petty cash dated 19/10/15\', \'1\', \'25\', \'350\', \'350\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.048002004623413','2015-12-10 13:26:38'),(1733,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'67\'','gltransaction/otherreceiveposting','0.028000831604004','2015-12-10 13:27:14'),(1734,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.02000093460083','2015-12-10 13:27:14'),(1735,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150700000067\' WHERE `ID` =  \'67\'','gltransaction/otherreceiveposting','0.018001079559326','2015-12-10 13:27:14'),(1736,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\', \'AR20150700000067\', \'ORI20151210[00000067]\', \' [ ORI20151210[00000067] ]\', \'2\', \'2015-10-20\', \'2015\', \'7\', \'350\', \'350\', \'2\')','gltransaction/otherreceiveposting','0.071003913879395','2015-12-10 13:27:14'),(1737,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\', \'AR20150700000067\', 1, \'From daily petty cash dated 19/10/15\', \'25\', \'PETTY CASH\', 350, 1, 1, \'350\', \'7\', \'2015\', NULL, \'ORI20151210[00000067]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.067004203796387','2015-12-10 13:27:14'),(1738,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`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AR20150700000067\', \'From daily petty cash dated 19/10/15\', \'130\', \'PETTY CASH\', 350, 1, 1, \'350\', \'7\', \'2015\', \'ORI20151210[00000067]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.041002988815308','2015-12-10 13:27:14'),(1739,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 350, `total_amount_cr` = 350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000067\'','gltransaction/otherreceiveposting','0.034002065658569','2015-12-10 13:27:14'),(1740,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'952\'','Gltransaction/journalPosting','0.02000093460083','2015-12-10 13:27:27'),(1741,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000067\'','Gltransaction/journalPosting','0.13300704956055','2015-12-10 13:27:27'),(1742,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.035001993179321','2015-12-10 13:27:27'),(1743,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'130\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 13:27:27'),(1744,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'\', \'2\', \'2\', \'68\', \'450\', \'ORI20151210\', \'2015-10-22\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.078003883361816','2015-12-10 13:50:21'),(1745,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (68, \'2\', \'From daily petty cash dated 21/10/15\', \'1\', \'25\', \'450\', \'450\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.050003051757812','2015-12-10 13:50:21'),(1746,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'68\'','gltransaction/otherreceiveposting','0.041001796722412','2015-12-10 13:51:06'),(1747,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.021001100540161','2015-12-10 13:51:06'),(1748,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150700000068\' WHERE `ID` =  \'68\'','gltransaction/otherreceiveposting','0.017000913619995','2015-12-10 13:51:06'),(1749,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\', \'AR20150700000068\', \'ORI20151210[00000068]\', \' [ ORI20151210[00000068] ]\', \'2\', \'2015-10-22\', \'2015\', \'7\', \'450\', \'450\', \'2\')','gltransaction/otherreceiveposting','0.055003881454468','2015-12-10 13:51:06'),(1750,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\', \'AR20150700000068\', 1, \'From daily petty cash dated 21/10/15\', \'25\', \'PETTY CASH\', 450, 1, 1, \'450\', \'7\', \'2015\', NULL, \'ORI20151210[00000068]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.083003997802734','2015-12-10 13:51:06'),(1751,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`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AR20150700000068\', \'From daily petty cash dated 21/10/15\', \'130\', \'PETTY CASH\', 450, 1, 1, \'450\', \'7\', \'2015\', \'ORI20151210[00000068]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.016000986099243','2015-12-10 13:51:06'),(1752,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 450, `total_amount_cr` = 450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000068\'','gltransaction/otherreceiveposting','0.033001899719238','2015-12-10 13:51:06'),(1753,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'953\'','Gltransaction/journalPosting','0.01400089263916','2015-12-10 13:51:55'),(1754,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000068\'','Gltransaction/journalPosting','0.17500996589661','2015-12-10 13:51:55'),(1755,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.043003082275391','2015-12-10 13:51:55'),(1756,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'130\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.029000997543335','2015-12-10 13:51:55'),(1757,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 KHOLIQ\', \'\', \'B-30\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.041002988815308','2015-12-10 14:03:30'),(1758,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\', \'MUIN\', \'\', \'B-31\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.042001962661743','2015-12-10 14:03:59'),(1759,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\', \'AHMAD SAMSUDIN\', \'\', \'B-32\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.039001941680908','2015-12-10 14:04:54'),(1760,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\', \'MATRASUL\', \'\', \'B-33\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.030000925064087','2015-12-10 14:05:20'),(1761,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, \'246\', \'INV2015\', \'2015-10-21\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.64903807640076','2015-12-10 15:18:37'),(1762,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (303, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.090004920959473','2015-12-10 15:18:37'),(1763,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  303','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 15:18:37'),(1764,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'303\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.075004100799561','2015-12-10 15:18:58'),(1765,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'303\'','Artransaction/saveNewSaleDetailOnlyCharges','0.025001049041748','2015-12-10 15:18:58'),(1766,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'303\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.042001962661743','2015-12-10 15:19:17'),(1767,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'303\'','Artransaction/saveNewSaleDetailOnlyCharges','0.044001817703247','2015-12-10 15:19:17'),(1768,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'303\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.029000997543335','2015-12-10 15:19:37'),(1769,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'303\'','Artransaction/saveNewSaleDetailOnlyCharges','0.025001049041748','2015-12-10 15:19:37'),(1770,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'303\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.047003030776978','2015-12-10 15:20:06'),(1771,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'303\'','Artransaction/saveNewSaleDetailOnlyCharges','0.033000946044922','2015-12-10 15:20:06'),(1772,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, \'247\', \'INV2015\', \'2015-10-21\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.028001070022583','2015-12-10 15:21:42'),(1773,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (304, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.016000032424927','2015-12-10 15:21:42'),(1774,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  304','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 15:21:42'),(1775,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'304\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.037002086639404','2015-12-10 15:22:08'),(1776,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'304\'','Artransaction/saveNewSaleDetailOnlyCharges','0.053003072738647','2015-12-10 15:22:08'),(1777,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'304\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.039001941680908','2015-12-10 15:22:27'),(1778,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'304\'','Artransaction/saveNewSaleDetailOnlyCharges','0.019001007080078','2015-12-10 15:22:27'),(1779,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'304\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.023000955581665','2015-12-10 15:22:47'),(1780,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'304\'','Artransaction/saveNewSaleDetailOnlyCharges','0.041001796722412','2015-12-10 15:22:47'),(1781,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'304\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.035001993179321','2015-12-10 15:23:06'),(1782,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'304\'','Artransaction/saveNewSaleDetailOnlyCharges','0.034002065658569','2015-12-10 15:23:06'),(1783,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, \'248\', \'INV2015\', \'2015-10-21\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.039001941680908','2015-12-10 15:23:59'),(1784,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (305, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.017000913619995','2015-12-10 15:23:59'),(1785,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  305','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-10 15:23:59'),(1786,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'305\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.043002843856812','2015-12-10 15:24:23'),(1787,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'305\'','Artransaction/saveNewSaleDetailOnlyCharges','0.066004037857056','2015-12-10 15:24:23'),(1788,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'305\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.036002159118652','2015-12-10 15:24:44'),(1789,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'305\'','Artransaction/saveNewSaleDetailOnlyCharges','0.051002979278564','2015-12-10 15:24:44'),(1790,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'305\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.020001173019409','2015-12-10 15:25:06'),(1791,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'305\'','Artransaction/saveNewSaleDetailOnlyCharges','0.043002128601074','2015-12-10 15:25:06'),(1792,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'305\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.31201696395874','2015-12-10 15:25:27'),(1793,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'305\'','Artransaction/saveNewSaleDetailOnlyCharges','0.041002988815308','2015-12-10 15:25:27'),(1794,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, \'249\', \'INV2015\', \'2015-10-21\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.036001920700073','2015-12-10 15:26:27'),(1795,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (306, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.041001796722412','2015-12-10 15:26:27'),(1796,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  306','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-12-10 15:26:27'),(1797,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'306\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.020001173019409','2015-12-10 15:26:52'),(1798,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'306\'','Artransaction/saveNewSaleDetailOnlyCharges','0.01200008392334','2015-12-10 15:26:52'),(1799,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'306\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.037001848220825','2015-12-10 15:27:14'),(1800,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'306\'','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-10 15:27:14'),(1801,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'306\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.02800178527832','2015-12-10 15:27:36'),(1802,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'306\'','Artransaction/saveNewSaleDetailOnlyCharges','0.016000032424927','2015-12-10 15:27:36'),(1803,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'306\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.06000280380249','2015-12-10 15:27:58'),(1804,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'306\'','Artransaction/saveNewSaleDetailOnlyCharges','0.034002065658569','2015-12-10 15:27:58'),(1805,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.055002927780151','2015-12-10 15:28:33'),(1806,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000069\', `updateAble` = \'0\' WHERE `ID` =  \'303\'','artransaction/directInvoicePosting','0.075004816055298','2015-12-10 15:28:33'),(1807,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\', \'AR20150700000069\', \'INV2015[00000232]\', \'Posting Direct Sales Invoices [ INV2015[00000232] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.10300612449646','2015-12-10 15:28:33'),(1808,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, \'AR20150700000069\', \'LEVY\', \'20\', \'ABDUL KHOLIQ\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.074003934860229','2015-12-10 15:28:33'),(1809,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\', \'AR20150700000069\', 2, \'LEVY\', \'59\', \'ABDUL KHOLIQ\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.032001972198486','2015-12-10 15:28:33'),(1810,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, \'AR20150700000069\', \'IG (Insurance Guarantee)\', \'20\', \'ABDUL KHOLIQ\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 15:28:33'),(1811,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\', \'AR20150700000069\', 4, \'IG (Insurance Guarantee)\', \'121\', \'ABDUL KHOLIQ\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 15:28:33'),(1812,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, \'AR20150700000069\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'ABDUL KHOLIQ\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:33'),(1813,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\', \'AR20150700000069\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'ABDUL KHOLIQ\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017001152038574','2015-12-10 15:28:33'),(1814,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, \'AR20150700000069\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'ABDUL KHOLIQ\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0260009765625','2015-12-10 15:28:33'),(1815,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\', \'AR20150700000069\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'ABDUL KHOLIQ\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.022001981735229','2015-12-10 15:28:33'),(1816,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, \'AR20150700000069\', \'SERVICE FEE\', \'20\', \'ABDUL KHOLIQ\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 15:28:33'),(1817,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\', \'AR20150700000069\', 10, \'SERVICE FEE\', \'58\', \'ABDUL KHOLIQ\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 15:28:33'),(1818,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, \'AR20150700000069\', \'SERVICE FEE\', \'20\', \'ABDUL KHOLIQ\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.013999938964844','2015-12-10 15:28:33'),(1819,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, \'AR20150700000069\', \'SERVICE FEE\', \'40\', \'ABDUL KHOLIQ\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000232]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.052003145217896','2015-12-10 15:28:33'),(1820,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000069\'','artransaction/directInvoicePosting','0.040002107620239','2015-12-10 15:28:33'),(1821,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.03400182723999','2015-12-10 15:28:33'),(1822,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000070\', `updateAble` = \'0\' WHERE `ID` =  \'304\'','artransaction/directInvoicePosting','0.033001899719238','2015-12-10 15:28:34'),(1823,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\', \'AR20150700000070\', \'INV2015[00000233]\', \'Posting Direct Sales Invoices [ INV2015[00000233] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 15:28:34'),(1824,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, \'AR20150700000070\', \'LEVY\', \'20\', \'MUIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.014001131057739','2015-12-10 15:28:34'),(1825,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\', \'AR20150700000070\', 2, \'LEVY\', \'59\', \'MUIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 15:28:34'),(1826,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, \'AR20150700000070\', \'IG (Insurance Guarantee)\', \'20\', \'MUIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 15:28:34'),(1827,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\', \'AR20150700000070\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MUIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018000841140747','2015-12-10 15:28:34'),(1828,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, \'AR20150700000070\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MUIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 15:28:34'),(1829,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\', \'AR20150700000070\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MUIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.023000955581665','2015-12-10 15:28:34'),(1830,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, \'AR20150700000070\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'MUIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.013000965118408','2015-12-10 15:28:34'),(1831,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\', \'AR20150700000070\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'MUIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.052003145217896','2015-12-10 15:28:34'),(1832,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, \'AR20150700000070\', \'SERVICE FEE\', \'20\', \'MUIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.029001951217651','2015-12-10 15:28:34'),(1833,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\', \'AR20150700000070\', 10, \'SERVICE FEE\', \'58\', \'MUIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 15:28:34'),(1834,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, \'AR20150700000070\', \'SERVICE FEE\', \'20\', \'MUIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-10 15:28:34'),(1835,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, \'AR20150700000070\', \'SERVICE FEE\', \'40\', \'MUIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000233]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011000156402588','2015-12-10 15:28:34'),(1836,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000070\'','artransaction/directInvoicePosting','0.035001993179321','2015-12-10 15:28:34'),(1837,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.021001100540161','2015-12-10 15:28:34'),(1838,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000071\', `updateAble` = \'0\' WHERE `ID` =  \'305\'','artransaction/directInvoicePosting','0.030001163482666','2015-12-10 15:28:34'),(1839,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\', \'AR20150700000071\', \'INV2015[00000234]\', \'Posting Direct Sales Invoices [ INV2015[00000234] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.027000904083252','2015-12-10 15:28:34'),(1840,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, \'AR20150700000071\', \'LEVY\', \'20\', \'AHMAD SAMSUDIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018000841140747','2015-12-10 15:28:34'),(1841,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\', \'AR20150700000071\', 2, \'LEVY\', \'59\', \'AHMAD SAMSUDIN\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1842,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, \'AR20150700000071\', \'IG (Insurance Guarantee)\', \'20\', \'AHMAD SAMSUDIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.051002979278564','2015-12-10 15:28:35'),(1843,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\', \'AR20150700000071\', 4, \'IG (Insurance Guarantee)\', \'121\', \'AHMAD SAMSUDIN\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.024000883102417','2015-12-10 15:28:35'),(1844,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, \'AR20150700000071\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'AHMAD SAMSUDIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017001152038574','2015-12-10 15:28:35'),(1845,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\', \'AR20150700000071\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'AHMAD SAMSUDIN\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1846,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, \'AR20150700000071\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'AHMAD SAMSUDIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.014001131057739','2015-12-10 15:28:35'),(1847,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\', \'AR20150700000071\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'AHMAD SAMSUDIN\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 15:28:35'),(1848,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, \'AR20150700000071\', \'SERVICE FEE\', \'20\', \'AHMAD SAMSUDIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 15:28:35'),(1849,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\', \'AR20150700000071\', 10, \'SERVICE FEE\', \'58\', \'AHMAD SAMSUDIN\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 15:28:35'),(1850,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, \'AR20150700000071\', \'SERVICE FEE\', \'20\', \'AHMAD SAMSUDIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.032001972198486','2015-12-10 15:28:35'),(1851,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, \'AR20150700000071\', \'SERVICE FEE\', \'40\', \'AHMAD SAMSUDIN\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000234]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1852,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000071\'','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 15:28:35'),(1853,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.02900218963623','2015-12-10 15:28:35'),(1854,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000072\', `updateAble` = \'0\' WHERE `ID` =  \'306\'','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 15:28:35'),(1855,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\', \'AR20150700000072\', \'INV2015[00000235]\', \'Posting Direct Sales Invoices [ INV2015[00000235] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-12-10 15:28:35'),(1856,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, \'AR20150700000072\', \'LEVY\', \'20\', \'MATRASUL\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.095005035400391','2015-12-10 15:28:35'),(1857,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\', \'AR20150700000072\', 2, \'LEVY\', \'59\', \'MATRASUL\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019000768661499','2015-12-10 15:28:35'),(1858,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, \'AR20150700000072\', \'IG (Insurance Guarantee)\', \'20\', \'MATRASUL\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.019001007080078','2015-12-10 15:28:35'),(1859,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\', \'AR20150700000072\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MATRASUL\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016001224517822','2015-12-10 15:28:35'),(1860,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, \'AR20150700000072\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MATRASUL\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1861,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\', \'AR20150700000072\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MATRASUL\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 15:28:35'),(1862,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, \'AR20150700000072\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'MATRASUL\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1863,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\', \'AR20150700000072\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'MATRASUL\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:35'),(1864,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, \'AR20150700000072\', \'SERVICE FEE\', \'20\', \'MATRASUL\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-10 15:28:36'),(1865,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\', \'AR20150700000072\', 10, \'SERVICE FEE\', \'58\', \'MATRASUL\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:36'),(1866,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, \'AR20150700000072\', \'SERVICE FEE\', \'20\', \'MATRASUL\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033002138137817','2015-12-10 15:28:36'),(1867,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, \'AR20150700000072\', \'SERVICE FEE\', \'40\', \'MATRASUL\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000235]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:36'),(1868,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000072\'','artransaction/directInvoicePosting','0.016000986099243','2015-12-10 15:28:36'),(1869,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\', \'246\', \'\', \'\', \'RP20151210\', \'2015-10-21\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.12400698661804','2015-12-10 15:29:16'),(1870,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 281, \'303\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.06600284576416','2015-12-10 15:29:16'),(1871,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'303\'','arTransaction/saveNewReceivePayment','0.043003082275391','2015-12-10 15:29:16'),(1872,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\', \'247\', \'\', \'\', \'RP20151210\', \'2015-10-21\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.029001951217651','2015-12-10 15:30:13'),(1873,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 282, \'304\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.016000986099243','2015-12-10 15:30:13'),(1874,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'304\'','arTransaction/saveNewReceivePayment','0.042001962661743','2015-12-10 15:30:13'),(1875,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\', \'248\', \'\', \'\', \'RP20151210\', \'2015-10-21\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.039002180099487','2015-12-10 15:30:46'),(1876,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 283, \'305\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.042001962661743','2015-12-10 15:30:46'),(1877,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'305\'','arTransaction/saveNewReceivePayment','0.022001981735229','2015-12-10 15:30:46'),(1878,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\', \'249\', \'\', \'\', \'RP20151210\', \'2015-10-21\', \'5\', 0, \'2650\', \'68\', \'\', \'0\', \'0\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.022001028060913','2015-12-10 15:31:13'),(1879,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 284, \'306\', \'0\', \'2650\')','arTransaction/saveNewReceivePayment','0.025001049041748','2015-12-10 15:31:13'),(1880,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'306\'','arTransaction/saveNewReceivePayment','0.018001079559326','2015-12-10 15:31:13'),(1881,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'281\' AND `updateAble` =  1','artransaction/paymentPosting','0.025001049041748','2015-12-10 15:31:41'),(1882,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.025000810623169','2015-12-10 15:31:41'),(1883,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000073\' WHERE `ID` =  \'281\'','artransaction/paymentPosting','0.012001037597656','2015-12-10 15:31:41'),(1884,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\', \'AR20150700000073\', \'RP20151210[00000212]\', \'Posting Received Payment [ RP20151210[00000212] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.066004037857056','2015-12-10 15:31:41'),(1885,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\', \'AR20150700000073\', 1, \'ABDUL KHOLIQ\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000212]\', \'2\')','artransaction/paymentPosting','0.071003913879395','2015-12-10 15:31:41'),(1886,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, \'AR20150700000073\', \'ABDUL KHOLIQ\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000212]\', \'2\')','artransaction/paymentPosting','0.010001182556152','2015-12-10 15:31:41'),(1887,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'282\' AND `updateAble` =  1','artransaction/paymentPosting','0.17800998687744','2015-12-10 15:31:41'),(1888,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.022001981735229','2015-12-10 15:31:41'),(1889,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000074\' WHERE `ID` =  \'282\'','artransaction/paymentPosting','0.016000986099243','2015-12-10 15:31:41'),(1890,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\', \'AR20150700000074\', \'RP20151210[00000213]\', \'Posting Received Payment [ RP20151210[00000213] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.0090000629425049','2015-12-10 15:31:41'),(1891,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\', \'AR20150700000074\', 1, \'MUIN\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000213]\', \'2\')','artransaction/paymentPosting','0.035001993179321','2015-12-10 15:31:42'),(1892,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, \'AR20150700000074\', \'MUIN\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000213]\', \'2\')','artransaction/paymentPosting','0.016000986099243','2015-12-10 15:31:42'),(1893,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'283\' AND `updateAble` =  1','artransaction/paymentPosting','0.037001848220825','2015-12-10 15:31:42'),(1894,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.02000093460083','2015-12-10 15:31:42'),(1895,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000075\' WHERE `ID` =  \'283\'','artransaction/paymentPosting','0.033000946044922','2015-12-10 15:31:42'),(1896,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\', \'AR20150700000075\', \'RP20151210[00000214]\', \'Posting Received Payment [ RP20151210[00000214] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.024001121520996','2015-12-10 15:31:42'),(1897,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\', \'AR20150700000075\', 1, \'AHMAD SAMSUDIN\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000214]\', \'2\')','artransaction/paymentPosting','0.019001007080078','2015-12-10 15:31:42'),(1898,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, \'AR20150700000075\', \'AHMAD SAMSUDIN\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000214]\', \'2\')','artransaction/paymentPosting','0.01400089263916','2015-12-10 15:31:42'),(1899,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'284\' AND `updateAble` =  1','artransaction/paymentPosting','0.035001993179321','2015-12-10 15:31:42'),(1900,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  \'12\'','artransaction/paymentPosting','0.039003133773804','2015-12-10 15:31:42'),(1901,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150700000076\' WHERE `ID` =  \'284\'','artransaction/paymentPosting','0.030000925064087','2015-12-10 15:31:42'),(1902,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\', \'AR20150700000076\', \'RP20151210[00000215]\', \'Posting Received Payment [ RP20151210[00000215] ]\', \'2\', \'2015-10-21\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/paymentPosting','0.033000946044922','2015-12-10 15:31:42'),(1903,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\', \'AR20150700000076\', 1, \'MATRASUL\', \'20\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000215]\', \'2\')','artransaction/paymentPosting','0.01400089263916','2015-12-10 15:31:42'),(1904,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, \'AR20150700000076\', \'MATRASUL\', \'25\', 2650, 1, \'1\', \'2650\', \'7\', \'2015\', \'1\', \'RP20151210[00000215]\', \'2\')','artransaction/paymentPosting','0.019001007080078','2015-12-10 15:31:42'),(1905,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'954\'','Gltransaction/journalPosting','0.044001817703247','2015-12-10 15:32:02'),(1906,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000069\'','Gltransaction/journalPosting','0.16701006889343','2015-12-10 15:32:02'),(1907,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.092005014419556','2015-12-10 15:32:02'),(1908,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.035001993179321','2015-12-10 15:32:02'),(1909,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.021000862121582','2015-12-10 15:32:02'),(1910,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.043002843856812','2015-12-10 15:32:02'),(1911,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-10 15:32:02'),(1912,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.053003072738647','2015-12-10 15:32:02'),(1913,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.027001857757568','2015-12-10 15:32:02'),(1914,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.046002864837646','2015-12-10 15:32:02'),(1915,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.036001920700073','2015-12-10 15:32:02'),(1916,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.090005159378052','2015-12-10 15:32:02'),(1917,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-10 15:32:02'),(1918,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024001836776733','2015-12-10 15:32:02'),(1919,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'955\'','Gltransaction/journalPosting','0.04600191116333','2015-12-10 15:32:03'),(1920,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000070\'','Gltransaction/journalPosting','0.050003051757812','2015-12-10 15:32:03'),(1921,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010000944137573','2015-12-10 15:32:03'),(1922,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 15:32:03'),(1923,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 15:32:03'),(1924,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000011444092','2015-12-10 15:32:03'),(1925,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.062004089355469','2015-12-10 15:32:03'),(1926,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.081005096435547','2015-12-10 15:32:03'),(1927,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01200008392334','2015-12-10 15:32:03'),(1928,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 15:32:04'),(1929,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-10 15:32:04'),(1930,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.022001981735229','2015-12-10 15:32:04'),(1931,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.0099999904632568','2015-12-10 15:32:04'),(1932,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 15:32:04'),(1933,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'956\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 15:32:04'),(1934,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000071\'','Gltransaction/journalPosting','0.15000796318054','2015-12-10 15:32:04'),(1935,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.044002056121826','2015-12-10 15:32:04'),(1936,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.02800178527832','2015-12-10 15:32:04'),(1937,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 15:32:04'),(1938,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.022001028060913','2015-12-10 15:32:04'),(1939,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 15:32:04'),(1940,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.022001981735229','2015-12-10 15:32:04'),(1941,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025001049041748','2015-12-10 15:32:04'),(1942,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 15:32:04'),(1943,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 15:32:04'),(1944,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 15:32:04'),(1945,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010999917984009','2015-12-10 15:32:04'),(1946,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 15:32:04'),(1947,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'957\'','Gltransaction/journalPosting','0.0070009231567383','2015-12-10 15:32:05'),(1948,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000072\'','Gltransaction/journalPosting','0.038002014160156','2015-12-10 15:32:05'),(1949,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.035001993179321','2015-12-10 15:32:05'),(1950,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.014001131057739','2015-12-10 15:32:05'),(1951,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032002210617065','2015-12-10 15:32:05'),(1952,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-10 15:32:05'),(1953,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 15:32:05'),(1954,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.0090010166168213','2015-12-10 15:32:05'),(1955,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01200008392334','2015-12-10 15:32:05'),(1956,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010000944137573','2015-12-10 15:32:05'),(1957,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-10 15:32:05'),(1958,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.025001049041748','2015-12-10 15:32:05'),(1959,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.021000862121582','2015-12-10 15:32:05'),(1960,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-10 15:32:05'),(1961,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'958\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 15:32:06'),(1962,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000073\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 15:32:06'),(1963,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011001110076904','2015-12-10 15:32:06'),(1964,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.0099999904632568','2015-12-10 15:32:06'),(1965,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'959\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 15:32:06'),(1966,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000074\'','Gltransaction/journalPosting','0.0080010890960693','2015-12-10 15:32:06'),(1967,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.011999845504761','2015-12-10 15:32:06'),(1968,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.011000871658325','2015-12-10 15:32:06'),(1969,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'960\'','Gltransaction/journalPosting','0.016000986099243','2015-12-10 15:32:06'),(1970,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000075\'','Gltransaction/journalPosting','0.0080001354217529','2015-12-10 15:32:06'),(1971,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.01200008392334','2015-12-10 15:32:07'),(1972,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.010001182556152','2015-12-10 15:32:07'),(1973,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'961\'','Gltransaction/journalPosting','0.046003103256226','2015-12-10 15:32:07'),(1974,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000076\'','Gltransaction/journalPosting','0.21701192855835','2015-12-10 15:32:07'),(1975,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.034002065658569','2015-12-10 15:32:07'),(1976,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017000913619995','2015-12-10 15:32:08'),(1977,2,2,'::1','insert','INSERT INTO `supplier_address` (`supplierID`, `addressCode`, `line1`, `line2`, `line3`, `city`, `postCode`, `stateID`, `countryID`, `createdBy`, `createdTS`) VALUES (\'2\', \'sfa\', \'asdf\', \'\', \'\', \'asdf\', \'\', \'0\', \'458\', \'MEGA-ENIGMA\', \'2015-12-10 08-48-22\')','supplier/shiptoNew','0.23201394081116','2015-12-10 15:48:32'),(1978,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-10-05\', \'IMM/FW/TX1444015222080\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.098006010055542','2015-12-10 16:30:49'),(1979,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (106, \'2\', \'66\', \'1\', \'LEVY x 3 Indo\', \'4950\', \'0\', \'23\', \'0\', \'4950\')','purchasetransaction/saveCharge','0.086004972457886','2015-12-10 16:30:49'),(1980,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4950\' WHERE `ID` =  106','purchasetransaction/saveCharge','0.034002065658569','2015-12-10 16:30:49'),(1981,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =106','purchasetransaction/saveCharge','0.013000965118408','2015-12-10 16:30:49'),(1982,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-10-05\', \'IMM/FW/TX1444015396704\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.042003154754639','2015-12-10 16:32:37'),(1983,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (107, \'2\', \'66\', \'1\', \'LEVY x 1 Indo\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.012000799179077','2015-12-10 16:32:37'),(1984,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  107','purchasetransaction/saveCharge','0.015001058578491','2015-12-10 16:32:37'),(1985,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =107','purchasetransaction/saveCharge','0.0099999904632568','2015-12-10 16:32:37'),(1986,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'106\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.043002128601074','2015-12-10 16:33:07'),(1987,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.038002014160156','2015-12-10 16:33:07'),(1988,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000005\' WHERE `ID` =  \'106\'','Aptransaction/invoicePosting','0.031001806259155','2015-12-10 16:33:07'),(1989,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\', \'AP20150700000005\', \'PI2015[00000088]\', \'Purchase Invoice Confirm [ PI2015[00000088] ]\', \'3\', \'2015-10-05\', \'2015\', \'7\', 4950, 4950, \'2\')','Aptransaction/invoicePosting','0.060003042221069','2015-12-10 16:33:07'),(1990,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\', \'AP20150700000005\', 1, \'LEVY x 3 Indo\', \'36\', \'MY EG SDN. BHD.\', 4950, \'1\', \'1\', \'4950\', \'7\', \'2015\', \'1\', \'PI2015[00000088]\', NULL, \'2\')','Aptransaction/invoicePosting','0.066004037857056','2015-12-10 16:33:07'),(1991,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, \'AP20150700000005\', \'LEVY x 3 Indo\', \'66\', \'MY EG SDN. BHD.\', 4950, \'1\', \'1\', \'4950\', \'7\', \'2015\', \'1\', \'PI2015[00000088]\', NULL, \'2\')','Aptransaction/invoicePosting','0.06200385093689','2015-12-10 16:33:07'),(1992,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4950, `total_amount_cr` = 4950, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000005\'','Aptransaction/invoicePosting','0.050003051757812','2015-12-10 16:33:07'),(1993,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'107\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.033001899719238','2015-12-10 16:33:07'),(1994,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.024000883102417','2015-12-10 16:33:07'),(1995,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000006\' WHERE `ID` =  \'107\'','Aptransaction/invoicePosting','0.029001951217651','2015-12-10 16:33:07'),(1996,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\', \'AP20150700000006\', \'PI2015[00000089]\', \'Purchase Invoice Confirm [ PI2015[00000089] ]\', \'3\', \'2015-10-05\', \'2015\', \'7\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.021001100540161','2015-12-10 16:33:08'),(1997,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\', \'AP20150700000006\', 1, \'LEVY x 1 Indo\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000089]\', NULL, \'2\')','Aptransaction/invoicePosting','0.025001049041748','2015-12-10 16:33:08'),(1998,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, \'AP20150700000006\', \'LEVY x 1 Indo\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000089]\', NULL, \'2\')','Aptransaction/invoicePosting','0.021001100540161','2015-12-10 16:33:08'),(1999,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000006\'','Aptransaction/invoicePosting','0.025002002716064','2015-12-10 16:33:08'),(2000,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\', \'6400\', \'68\', \'PP20151210\', \'5\', \'1\', \'1.00000\', \'2015-10-02\', \'\', 0, \'\', \'\', \'0.00\', \'6400.00\', \'6400.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.09400486946106','2015-12-10 16:34:20'),(2001,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 79,1,ID,totalAmount, totalPayable  ,0.00,4950,2 from comp_supplier_invoice where ID=106','aptransaction/saveSupplierPayment','0.058003187179565','2015-12-10 16:34:21'),(2002,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4950, totalPayable = totalAmount - amountPaid  where ID = 106','aptransaction/saveSupplierPayment','0.032001972198486','2015-12-10 16:34:21'),(2003,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 79,2,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=107','aptransaction/saveSupplierPayment','0.024001836776733','2015-12-10 16:34:21'),(2004,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 107','aptransaction/saveSupplierPayment','0.01200008392334','2015-12-10 16:34:21'),(2005,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'79\'','aptransaction/paymentPosting','0.028001070022583','2015-12-10 16:34:48'),(2006,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.016000986099243','2015-12-10 16:34:48'),(2007,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000007\' WHERE `ID` =  \'79\'','aptransaction/paymentPosting','0.084004163742065','2015-12-10 16:34:48'),(2008,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\', \'AP20150700000007\', \'PP20151210[00000074]\', \'Payment [ PP20151210[00000074] ]\', \'3\', \'2015-10-02\', \'2015\', \'7\', 6400, 6400, \'2\')','aptransaction/paymentPosting','0.077003955841064','2015-12-10 16:34:48'),(2009,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\', \'AP20150700000007\', 1, \'PI2015[00000088]\', \'25\', \'MY EG SDN. BHD.\', 4950, \'1\', \'1\', \'4950\', \'7\', \'2015\', \'1\', \'PP20151210[00000079]\', \'2\')','aptransaction/paymentPosting','0.10200595855713','2015-12-10 16:34:48'),(2010,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, \'AP20150700000007\', \'PI2015[00000088]\', \'36\', \'MY EG SDN. BHD.\', 4950, \'1\', \'1\', \'4950\', \'7\', \'2015\', \'PP20151210[00000079]\', \'1\', \'2\')','aptransaction/paymentPosting','0.018001079559326','2015-12-10 16:34:48'),(2011,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\', \'AP20150700000007\', 3, \'PI2015[00000089]\', \'25\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'2\', \'PP20151210[00000079]\', \'2\')','aptransaction/paymentPosting','0.025001049041748','2015-12-10 16:34:48'),(2012,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000007\', \'PI2015[00000089]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'PP20151210[00000079]\', \'2\', \'2\')','aptransaction/paymentPosting','0.012001037597656','2015-12-10 16:34:48'),(2013,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 6400, `total_amount_cr` = 6400, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000007\'','aptransaction/paymentPosting','0.043002843856812','2015-12-10 16:34:48'),(2014,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'962\'','Gltransaction/journalPosting','0.046003103256226','2015-12-10 16:35:11'),(2015,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000005\'','Gltransaction/journalPosting','0.17600989341736','2015-12-10 16:35:11'),(2016,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'36\', \'2015\', \'7\', \'0\', \'4950\', -4950, \'2\', \'2015-12-10: 09:12:11\')','Gltransaction/journalPosting','0.049003124237061','2015-12-10 16:35:11'),(2017,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'8\', \'66\', \'2015\', \'7\', \'4950\', \'0\', 4950, \'2\', \'2015-12-10: 09:12:11\')','Gltransaction/journalPosting','0.038001775741577','2015-12-10 16:35:11'),(2018,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'963\'','Gltransaction/journalPosting','0.013000965118408','2015-12-10 16:35:11'),(2019,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000006\'','Gltransaction/journalPosting','0.012000799179077','2015-12-10 16:35:11'),(2020,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.027002096176147','2015-12-10 16:35:11'),(2021,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-10 16:35:11'),(2022,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'964\'','Gltransaction/journalPosting','0.060003995895386','2015-12-10 16:35:12'),(2023,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000007\'','Gltransaction/journalPosting','0.033001899719238','2015-12-10 16:35:12'),(2024,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.051002979278564','2015-12-10 16:35:12'),(2025,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.0099999904632568','2015-12-10 16:35:12'),(2026,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.028000831604004','2015-12-10 16:35:12'),(2027,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-10 16:35:12'),(2028,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-10-05\', \'IMM/FW/TX1444034496610\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.30801796913147','2015-12-11 10:36:54'),(2029,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (108, \'2\', \'66\', \'1\', \'LEVY x 4 Indo\', \'5800\', \'0\', \'23\', \'0\', \'5800\')','purchasetransaction/saveCharge','0.095005035400391','2015-12-11 10:36:54'),(2030,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'5800\' WHERE `ID` =  108','purchasetransaction/saveCharge','0.049003124237061','2015-12-11 10:36:54'),(2031,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =108','purchasetransaction/saveCharge','0.02800178527832','2015-12-11 10:36:54'),(2032,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-10-06\', \'IMM/FW/TX1444114193836\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.037002086639404','2015-12-11 10:38:21'),(2033,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (109, \'2\', \'66\', \'1\', \'LEVY x 3 Indo\', \'4350\', \'0\', \'23\', \'0\', \'4350\')','purchasetransaction/saveCharge','0.040003061294556','2015-12-11 10:38:21'),(2034,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4350\' WHERE `ID` =  109','purchasetransaction/saveCharge','0.025001049041748','2015-12-11 10:38:21'),(2035,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =109','purchasetransaction/saveCharge','0.033001899719238','2015-12-11 10:38:21'),(2036,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-10-06\', \'IMM/FW/TX1444114497893\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.049003124237061','2015-12-11 10:43:03'),(2037,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (110, \'2\', \'66\', \'1\', \'LEVY x 1 Indo\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.050002813339233','2015-12-11 10:43:03'),(2038,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  110','purchasetransaction/saveCharge','0.19801187515259','2015-12-11 10:43:03'),(2039,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =110','purchasetransaction/saveCharge','0.15600800514221','2015-12-11 10:43:03'),(2040,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'108\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.056002855300903','2015-12-11 10:43:48'),(2041,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.038002014160156','2015-12-11 10:43:48'),(2042,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000008\' WHERE `ID` =  \'108\'','Aptransaction/invoicePosting','0.029000997543335','2015-12-11 10:43:48'),(2043,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\', \'AP20150700000008\', \'PI2015[00000090]\', \'Purchase Invoice Confirm [ PI2015[00000090] ]\', \'3\', \'2015-10-05\', \'2015\', \'7\', 5800, 5800, \'2\')','Aptransaction/invoicePosting','0.083004951477051','2015-12-11 10:43:48'),(2044,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\', \'AP20150700000008\', 1, \'LEVY x 4 Indo\', \'36\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PI2015[00000090]\', NULL, \'2\')','Aptransaction/invoicePosting','0.23101305961609','2015-12-11 10:43:48'),(2045,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, \'AP20150700000008\', \'LEVY x 4 Indo\', \'66\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PI2015[00000090]\', NULL, \'2\')','Aptransaction/invoicePosting','0.047003030776978','2015-12-11 10:43:48'),(2046,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5800, `total_amount_cr` = 5800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000008\'','Aptransaction/invoicePosting','0.045002937316895','2015-12-11 10:43:48'),(2047,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'109\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.048002958297729','2015-12-11 10:43:49'),(2048,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.024000883102417','2015-12-11 10:43:49'),(2049,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000009\' WHERE `ID` =  \'109\'','Aptransaction/invoicePosting','0.025002002716064','2015-12-11 10:43:49'),(2050,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\', \'AP20150700000009\', \'PI2015[00000091]\', \'Purchase Invoice Confirm [ PI2015[00000091] ]\', \'3\', \'2015-10-06\', \'2015\', \'7\', 4350, 4350, \'2\')','Aptransaction/invoicePosting','0.031002044677734','2015-12-11 10:43:49'),(2051,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\', \'AP20150700000009\', 1, \'LEVY x 3 Indo\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000091]\', NULL, \'2\')','Aptransaction/invoicePosting','0.012001037597656','2015-12-11 10:43:49'),(2052,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, \'AP20150700000009\', \'LEVY x 3 Indo\', \'66\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000091]\', NULL, \'2\')','Aptransaction/invoicePosting','0.029000997543335','2015-12-11 10:43:49'),(2053,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000009\'','Aptransaction/invoicePosting','0.029001951217651','2015-12-11 10:43:49'),(2054,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'110\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.12600803375244','2015-12-11 10:43:49'),(2055,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.074004173278809','2015-12-11 10:43:49'),(2056,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000010\' WHERE `ID` =  \'110\'','Aptransaction/invoicePosting','0.033001899719238','2015-12-11 10:43:50'),(2057,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\', \'AP20150700000010\', \'PI2015[00000092]\', \'Purchase Invoice Confirm [ PI2015[00000092] ]\', \'3\', \'2015-10-06\', \'2015\', \'7\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.038002014160156','2015-12-11 10:43:50'),(2058,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\', \'AP20150700000010\', 1, \'LEVY x 1 Indo\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000092]\', NULL, \'2\')','Aptransaction/invoicePosting','0.029000997543335','2015-12-11 10:43:50'),(2059,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, \'AP20150700000010\', \'LEVY x 1 Indo\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000092]\', NULL, \'2\')','Aptransaction/invoicePosting','0.033001899719238','2015-12-11 10:43:50'),(2060,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000010\'','Aptransaction/invoicePosting','0.025002002716064','2015-12-11 10:43:50'),(2061,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\', \'11600\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-05\', \'\', 0, \'\', \'\', \'0.00\', \'11600.00\', \'11600.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.27301597595215','2015-12-11 10:45:04'),(2062,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 80,1,ID,totalAmount, totalPayable  ,0.00,5800,2 from comp_supplier_invoice where ID=108','aptransaction/saveSupplierPayment','0.078005075454712','2015-12-11 10:45:04'),(2063,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 5800, totalPayable = totalAmount - amountPaid  where ID = 108','aptransaction/saveSupplierPayment','0.017000913619995','2015-12-11 10:45:04'),(2064,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 80,2,ID,totalAmount, totalPayable  ,0.00,4350,2 from comp_supplier_invoice where ID=109','aptransaction/saveSupplierPayment','0.031001091003418','2015-12-11 10:45:04'),(2065,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4350, totalPayable = totalAmount - amountPaid  where ID = 109','aptransaction/saveSupplierPayment','0.044003009796143','2015-12-11 10:45:04'),(2066,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 80,3,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=110','aptransaction/saveSupplierPayment','0.029001951217651','2015-12-11 10:45:04'),(2067,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 110','aptransaction/saveSupplierPayment','0.042001962661743','2015-12-11 10:45:04'),(2068,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'80\'','aptransaction/paymentPosting','0.031001091003418','2015-12-11 10:45:22'),(2069,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.019001007080078','2015-12-11 10:45:22'),(2070,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000011\' WHERE `ID` =  \'80\'','aptransaction/paymentPosting','0.017000913619995','2015-12-11 10:45:22'),(2071,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\', \'AP20150700000011\', \'PP20151211[00000075]\', \'Payment [ PP20151211[00000075] ]\', \'3\', \'2015-10-05\', \'2015\', \'7\', 11600, 11600, \'2\')','aptransaction/paymentPosting','0.058002948760986','2015-12-11 10:45:22'),(2072,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\', \'AP20150700000011\', 1, \'PI2015[00000090]\', \'25\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PP20151211[00000080]\', \'2\')','aptransaction/paymentPosting','0.058002948760986','2015-12-11 10:45:22'),(2073,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, \'AP20150700000011\', \'PI2015[00000090]\', \'36\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'PP20151211[00000080]\', \'1\', \'2\')','aptransaction/paymentPosting','0.017001152038574','2015-12-11 10:45:22'),(2074,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\', \'AP20150700000011\', 3, \'PI2015[00000091]\', \'25\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'2\', \'PP20151211[00000080]\', \'2\')','aptransaction/paymentPosting','0.012001037597656','2015-12-11 10:45:22'),(2075,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000011\', \'PI2015[00000091]\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'PP20151211[00000080]\', \'2\', \'2\')','aptransaction/paymentPosting','0.012001037597656','2015-12-11 10:45:22'),(2076,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\', \'AP20150700000011\', 5, \'PI2015[00000092]\', \'25\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'3\', \'PP20151211[00000080]\', \'2\')','aptransaction/paymentPosting','0.02000093460083','2015-12-11 10:45:22'),(2077,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\', 6, \'AP20150700000011\', \'PI2015[00000092]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'PP20151211[00000080]\', \'3\', \'2\')','aptransaction/paymentPosting','0.012001037597656','2015-12-11 10:45:22'),(2078,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 11600, `total_amount_cr` = 11600, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000011\'','aptransaction/paymentPosting','0.033000946044922','2015-12-11 10:45:22'),(2079,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'965\'','Gltransaction/journalPosting','0.030001163482666','2015-12-11 10:45:44'),(2080,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000008\'','Gltransaction/journalPosting','0.38602304458618','2015-12-11 10:45:44'),(2081,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.045002937316895','2015-12-11 10:45:44'),(2082,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.028002023696899','2015-12-11 10:45:44'),(2083,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'966\'','Gltransaction/journalPosting','0.022001028060913','2015-12-11 10:45:44'),(2084,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000009\'','Gltransaction/journalPosting','0.021002054214478','2015-12-11 10:45:44'),(2085,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.03200101852417','2015-12-11 10:45:44'),(2086,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.010999917984009','2015-12-11 10:45:44'),(2087,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'967\'','Gltransaction/journalPosting','0.02000093460083','2015-12-11 10:45:44'),(2088,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000010\'','Gltransaction/journalPosting','0.025002002716064','2015-12-11 10:45:44'),(2089,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024001121520996','2015-12-11 10:45:44'),(2090,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.040002107620239','2015-12-11 10:45:44'),(2091,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'968\'','Gltransaction/journalPosting','0.023002147674561','2015-12-11 10:45:45'),(2092,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000011\'','Gltransaction/journalPosting','0.029000997543335','2015-12-11 10:45:45'),(2093,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.17000985145569','2015-12-11 10:45:45'),(2094,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.027002096176147','2015-12-11 10:45:45'),(2095,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.056002855300903','2015-12-11 10:45:45'),(2096,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.019001007080078','2015-12-11 10:45:45'),(2097,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.028002023696899','2015-12-11 10:45:45'),(2098,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.010000944137573','2015-12-11 10:45:45'),(2099,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, \'14\', \'2\', \'PI2015\', \'\', \'2015-09-19\', \'000897617098\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.11400699615479','2015-12-11 11:17:03'),(2100,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (111, \'2\', \'91\', \'1\', \'Bil UNIFI\', \'219\', \'0\', \'23\', \'0\', \'219\')','purchasetransaction/saveCharge','0.06000280380249','2015-12-11 11:17:03'),(2101,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'219\' WHERE `ID` =  111','purchasetransaction/saveCharge','0.017001152038574','2015-12-11 11:17:03'),(2102,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =111','purchasetransaction/saveCharge','0.013000965118408','2015-12-11 11:17:03'),(2103,2,2,'::1','update','UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'91\', `chargeDescription` = \'Bil UNIFI\', `amountExcludedTax` = \'219\', `taxID` = \'15\', `taxRate` = \'6\', `taxAmount` = \'13.14\', `amountIncludedTax` = \'232.14\' WHERE `ID` =  \'178\'','purchasetransaction/updateCharge','0.013000011444092','2015-12-11 11:18:21'),(2104,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'13.14\', `totalAmount` = \'232.14\' WHERE `ID` =  \'111\'','purchasetransaction/updateCharge','0.020002126693726','2015-12-11 11:18:21'),(2105,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updatedBy` = \'2\', `totalTaxAmount` = 0, `totalPayable` = \'232.14\' WHERE `ID` =  \'111\'','purchasetransaction/updateInvoice','0.035001993179321','2015-12-11 11:18:21'),(2106,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'111\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.054003953933716','2015-12-11 11:22:10'),(2107,2,2,'::1','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'2\', \'3\', \'2015\', \'6\', \'AP\', 1)','Aptransaction/invoicePosting','0.019001007080078','2015-12-11 11:22:10'),(2108,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150600000001\' WHERE `ID` =  \'111\'','Aptransaction/invoicePosting','0.024002075195312','2015-12-11 11:22:10'),(2109,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\', \'AP20150600000001\', \'PI2015[00000093]\', \'Purchase Invoice Confirm [ PI2015[00000093] ]\', \'3\', \'2015-09-19\', \'2015\', \'6\', 232.14, 232.14, \'2\')','Aptransaction/invoicePosting','0.045001983642578','2015-12-11 11:22:10'),(2110,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\', \'AP20150600000001\', 1, \'Bil UNIFI\', \'36\', \'TELEKOM MALAYSIA BERHAD\', 219, \'1\', \'1\', \'219\', \'6\', \'2015\', \'1\', \'PI2015[00000093]\', NULL, \'2\')','Aptransaction/invoicePosting','0.072004795074463','2015-12-11 11:22:10'),(2111,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, \'AP20150600000001\', \'Bil UNIFI\', \'91\', \'TELEKOM MALAYSIA BERHAD\', 219, \'1\', \'1\', \'219\', \'6\', \'2015\', \'1\', \'PI2015[00000093]\', NULL, \'2\')','Aptransaction/invoicePosting','0.021000862121582','2015-12-11 11:22:10'),(2112,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, \'AP20150600000001\', \'Bil UNIFI\', \'33\', \'TELEKOM MALAYSIA BERHAD\', 13.14, \'1\', \'1\', \'13.14\', \'6\', \'2015\', \'1\', \'PI2015[00000093]\', NULL, \'2\')','Aptransaction/invoicePosting','0.012001037597656','2015-12-11 11:22:10'),(2113,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, \'AP20150600000001\', \'Bil UNIFI\', \'36\', \'TELEKOM MALAYSIA BERHAD\', 13.14, \'1\', \'1\', \'13.14\', \'6\', \'2015\', \'1\', \'PI2015[00000093]\', NULL, \'2\')','Aptransaction/invoicePosting','0.024000883102417','2015-12-11 11:22:10'),(2114,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 232.14, `total_amount_cr` = 232.14, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000001\'','Aptransaction/invoicePosting','0.033001899719238','2015-12-11 11:22:10'),(2115,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\', \'14\', \'0\', \'230\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-05\', \'\', 0, \'\', \'\', \'0.00\', \'230.00\', \'230.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.07100510597229','2015-12-11 11:24:04'),(2116,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 81,1,ID,totalAmount, totalPayable  ,0.00,230,2 from comp_supplier_invoice where ID=111','aptransaction/saveSupplierPayment','0.043001890182495','2015-12-11 11:24:04'),(2117,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 230, totalPayable = totalAmount - amountPaid  where ID = 111','aptransaction/saveSupplierPayment','0.034002065658569','2015-12-11 11:24:04'),(2118,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'81\'','aptransaction/paymentPosting','0.16300892829895','2015-12-11 11:24:36'),(2119,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.024001121520996','2015-12-11 11:24:36'),(2120,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000012\' WHERE `ID` =  \'81\'','aptransaction/paymentPosting','0.011001110076904','2015-12-11 11:24:36'),(2121,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\', \'AP20150700000012\', \'PP20151211[00000076]\', \'Payment [ PP20151211[00000076] ]\', \'3\', \'2015-10-05\', \'2015\', \'7\', 230, 230, \'2\')','aptransaction/paymentPosting','0.067003965377808','2015-12-11 11:24:36'),(2122,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\', \'AP20150700000012\', 1, \'PI2015[00000093]\', \'25\', \'TELEKOM MALAYSIA BERHAD\', 230, \'1\', \'1\', \'230\', \'7\', \'2015\', \'1\', \'PP20151211[00000081]\', \'2\')','aptransaction/paymentPosting','0.064003944396973','2015-12-11 11:24:36'),(2123,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, \'AP20150700000012\', \'PI2015[00000093]\', \'36\', \'TELEKOM MALAYSIA BERHAD\', 230, \'1\', \'1\', \'230\', \'7\', \'2015\', \'PP20151211[00000081]\', \'1\', \'2\')','aptransaction/paymentPosting','0.011001110076904','2015-12-11 11:24:36'),(2124,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 230, `total_amount_cr` = 230, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000012\'','aptransaction/paymentPosting','0.046002149581909','2015-12-11 11:24:36'),(2125,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'969\'','Gltransaction/journalPosting','0.017000913619995','2015-12-11 11:24:52'),(2126,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150600000001\'','Gltransaction/journalPosting','0.14500904083252','2015-12-11 11:24:52'),(2127,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'4\', \'36\', \'2015\', \'6\', \'0\', \'219\', -219, \'2\', \'2015-12-11: 04:12:52\')','Gltransaction/journalPosting','0.037002086639404','2015-12-11 11:24:52'),(2128,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'10\', \'91\', \'2015\', \'6\', \'219\', \'0\', 219, \'2\', \'2015-12-11: 04:12:52\')','Gltransaction/journalPosting','0.010000944137573','2015-12-11 11:24:52'),(2129,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'33\', \'2015\', \'6\', \'13.14\', \'0\', 13.14, \'2\', \'2015-12-11: 04:12:52\')','Gltransaction/journalPosting','0.023000955581665','2015-12-11 11:24:52'),(2130,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'6\'','Gltransaction/journalPosting','0.012000799179077','2015-12-11 11:24:52'),(2131,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'970\'','Gltransaction/journalPosting','0.027002096176147','2015-12-11 11:25:00'),(2132,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000012\'','Gltransaction/journalPosting','0.029000997543335','2015-12-11 11:25:00'),(2133,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.042001962661743','2015-12-11 11:25:00'),(2134,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033001899719238','2015-12-11 11:25:00'),(2135,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-10-16\', \'IMM/FW/TX1444986146579\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.068004131317139','2015-12-11 11:33:35'),(2136,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (112, \'2\', \'66\', \'1\', \'LEVY X 3 Indo\', \'4350\', \'0\', \'23\', \'0\', \'4350\')','purchasetransaction/saveCharge','0.083004951477051','2015-12-11 11:33:35'),(2137,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4350\' WHERE `ID` =  112','purchasetransaction/saveCharge','0.022000789642334','2015-12-11 11:33:35'),(2138,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =112','purchasetransaction/saveCharge','0.013000965118408','2015-12-11 11:33:35'),(2139,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-10-16\', \'IMM/FW/TX1444986328759\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.02000093460083','2015-12-11 11:42:40'),(2140,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (113, \'2\', \'66\', \'1\', \'LEVY x 2 Indo\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.021002054214478','2015-12-11 11:42:40'),(2141,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  113','purchasetransaction/saveCharge','0.0090000629425049','2015-12-11 11:42:40'),(2142,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =113','purchasetransaction/saveCharge','0.04200291633606','2015-12-11 11:42:40'),(2143,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-10-16\', \'IMM/FW/TX1444986561551\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.026001930236816','2015-12-11 11:44:24'),(2144,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (114, \'2\', \'66\', \'1\', \'LEVY x 1 Indo\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.011000871658325','2015-12-11 11:44:24'),(2145,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  114','purchasetransaction/saveCharge','0.019001007080078','2015-12-11 11:44:24'),(2146,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =114','purchasetransaction/saveCharge','0.011000156402588','2015-12-11 11:44:24'),(2147,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'112\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.072004079818726','2015-12-11 11:45:03'),(2148,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.024001836776733','2015-12-11 11:45:03'),(2149,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000013\' WHERE `ID` =  \'112\'','Aptransaction/invoicePosting','0.024000883102417','2015-12-11 11:45:03'),(2150,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\', \'AP20150700000013\', \'PI2015[00000094]\', \'Purchase Invoice Confirm [ PI2015[00000094] ]\', \'3\', \'2015-10-16\', \'2015\', \'7\', 4350, 4350, \'2\')','Aptransaction/invoicePosting','0.059003114700317','2015-12-11 11:45:04'),(2151,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\', \'AP20150700000013\', 1, \'LEVY X 3 Indo\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000094]\', NULL, \'2\')','Aptransaction/invoicePosting','0.06800389289856','2015-12-11 11:45:04'),(2152,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, \'AP20150700000013\', \'LEVY X 3 Indo\', \'66\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000094]\', NULL, \'2\')','Aptransaction/invoicePosting','0.011001110076904','2015-12-11 11:45:04'),(2153,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000013\'','Aptransaction/invoicePosting','0.029000997543335','2015-12-11 11:45:04'),(2154,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'113\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.053002834320068','2015-12-11 11:45:04'),(2155,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.055002927780151','2015-12-11 11:45:04'),(2156,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000014\' WHERE `ID` =  \'113\'','Aptransaction/invoicePosting','0.053003072738647','2015-12-11 11:45:04'),(2157,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\', \'AP20150700000014\', \'PI2015[00000095]\', \'Purchase Invoice Confirm [ PI2015[00000095] ]\', \'3\', \'2015-10-16\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.044003009796143','2015-12-11 11:45:04'),(2158,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\', \'AP20150700000014\', 1, \'LEVY x 2 Indo\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000095]\', NULL, \'2\')','Aptransaction/invoicePosting','0.024001121520996','2015-12-11 11:45:04'),(2159,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, \'AP20150700000014\', \'LEVY x 2 Indo\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000095]\', NULL, \'2\')','Aptransaction/invoicePosting','0.033001899719238','2015-12-11 11:45:04'),(2160,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000014\'','Aptransaction/invoicePosting','0.013001203536987','2015-12-11 11:45:04'),(2161,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'114\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.034002065658569','2015-12-11 11:45:05'),(2162,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.026002168655396','2015-12-11 11:45:05'),(2163,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000015\' WHERE `ID` =  \'114\'','Aptransaction/invoicePosting','0.021000862121582','2015-12-11 11:45:05'),(2164,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\', \'AP20150700000015\', \'PI2015[00000096]\', \'Purchase Invoice Confirm [ PI2015[00000096] ]\', \'3\', \'2015-10-16\', \'2015\', \'7\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.023002147674561','2015-12-11 11:45:05'),(2165,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\', \'AP20150700000015\', 1, \'LEVY x 1 Indo\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000096]\', NULL, \'2\')','Aptransaction/invoicePosting','0.047001838684082','2015-12-11 11:45:05'),(2166,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, \'AP20150700000015\', \'LEVY x 1 Indo\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000096]\', NULL, \'2\')','Aptransaction/invoicePosting','0.011001110076904','2015-12-11 11:45:05'),(2167,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000015\'','Aptransaction/invoicePosting','0.025001049041748','2015-12-11 11:45:05'),(2168,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\', \'8700\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-12\', \'\', 0, \'\', \'\', \'0.00\', \'8700.00\', \'8700.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.090004920959473','2015-12-11 11:46:08'),(2169,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 82,1,ID,totalAmount, totalPayable  ,0.00,4350,2 from comp_supplier_invoice where ID=112','aptransaction/saveSupplierPayment','0.055002927780151','2015-12-11 11:46:08'),(2170,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4350, totalPayable = totalAmount - amountPaid  where ID = 112','aptransaction/saveSupplierPayment','0.027001857757568','2015-12-11 11:46:08'),(2171,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 82,2,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=113','aptransaction/saveSupplierPayment','0.0080001354217529','2015-12-11 11:46:08'),(2172,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 113','aptransaction/saveSupplierPayment','0.0080010890960693','2015-12-11 11:46:08'),(2173,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 82,3,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=114','aptransaction/saveSupplierPayment','0.0099999904632568','2015-12-11 11:46:08'),(2174,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 114','aptransaction/saveSupplierPayment','0.012000799179077','2015-12-11 11:46:08'),(2175,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'82\'','aptransaction/paymentPosting','0.025002002716064','2015-12-11 11:46:23'),(2176,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.017000913619995','2015-12-11 11:46:23'),(2177,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000016\' WHERE `ID` =  \'82\'','aptransaction/paymentPosting','0.028001070022583','2015-12-11 11:46:23'),(2178,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\', \'AP20150700000016\', \'PP20151211[00000077]\', \'Payment [ PP20151211[00000077] ]\', \'3\', \'2015-10-12\', \'2015\', \'7\', 8700, 8700, \'2\')','aptransaction/paymentPosting','0.067003965377808','2015-12-11 11:46:23'),(2179,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\', \'AP20150700000016\', 1, \'PI2015[00000095]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'2\', \'PP20151211[00000082]\', \'2\')','aptransaction/paymentPosting','0.072003841400146','2015-12-11 11:46:23'),(2180,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, \'AP20150700000016\', \'PI2015[00000095]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000082]\', \'2\', \'2\')','aptransaction/paymentPosting','0.011000156402588','2015-12-11 11:46:23'),(2181,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\', \'AP20150700000016\', 3, \'PI2015[00000096]\', \'25\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'3\', \'PP20151211[00000082]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-12-11 11:46:23'),(2182,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000016\', \'PI2015[00000096]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'PP20151211[00000082]\', \'3\', \'2\')','aptransaction/paymentPosting','0.024002075195312','2015-12-11 11:46:23'),(2183,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\', \'AP20150700000016\', 5, \'PI2015[00000094]\', \'25\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PP20151211[00000082]\', \'2\')','aptransaction/paymentPosting','0.050003051757812','2015-12-11 11:46:23'),(2184,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\', 6, \'AP20150700000016\', \'PI2015[00000094]\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'PP20151211[00000082]\', \'1\', \'2\')','aptransaction/paymentPosting','0.013000011444092','2015-12-11 11:46:23'),(2185,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 8700, `total_amount_cr` = 8700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000016\'','aptransaction/paymentPosting','0.033002138137817','2015-12-11 11:46:23'),(2186,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'971\'','Gltransaction/journalPosting','0.024000883102417','2015-12-11 11:46:42'),(2187,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000013\'','Gltransaction/journalPosting','0.1830108165741','2015-12-11 11:46:42'),(2188,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033002138137817','2015-12-11 11:46:42'),(2189,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.038002014160156','2015-12-11 11:46:42'),(2190,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'972\'','Gltransaction/journalPosting','0.022001981735229','2015-12-11 11:46:42'),(2191,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000014\'','Gltransaction/journalPosting','0.016000986099243','2015-12-11 11:46:42'),(2192,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023001194000244','2015-12-11 11:46:42'),(2193,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-11 11:46:42'),(2194,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'973\'','Gltransaction/journalPosting','0.017001152038574','2015-12-11 11:46:42'),(2195,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000015\'','Gltransaction/journalPosting','0.02000093460083','2015-12-11 11:46:42'),(2196,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024002075195312','2015-12-11 11:46:42'),(2197,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024001121520996','2015-12-11 11:46:42'),(2198,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'974\'','Gltransaction/journalPosting','0.033002138137817','2015-12-11 11:46:43'),(2199,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000016\'','Gltransaction/journalPosting','0.031002044677734','2015-12-11 11:46:43'),(2200,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.037001848220825','2015-12-11 11:46:43'),(2201,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.035001993179321','2015-12-11 11:46:43'),(2202,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023000955581665','2015-12-11 11:46:43'),(2203,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-11 11:46:43'),(2204,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-11 11:46:43'),(2205,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.072004079818726','2015-12-11 11:46:43'),(2206,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-10-16\', \'IMM/FW/TX1444968446104\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.065004110336304','2015-12-11 11:48:43'),(2207,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (115, \'2\', \'66\', \'1\', \'LEVY x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.050003051757812','2015-12-11 11:48:43'),(2208,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  115','purchasetransaction/saveCharge','0.016000986099243','2015-12-11 11:48:43'),(2209,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =115','purchasetransaction/saveCharge','0.017000913619995','2015-12-11 11:48:43'),(2210,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'115\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.031001806259155','2015-12-11 11:49:06'),(2211,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.011001110076904','2015-12-11 11:49:06'),(2212,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000017\' WHERE `ID` =  \'115\'','Aptransaction/invoicePosting','0.0079998970031738','2015-12-11 11:49:06'),(2213,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\', \'AP20150700000017\', \'PI2015[00000097]\', \'Purchase Invoice Confirm [ PI2015[00000097] ]\', \'3\', \'2015-10-16\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.053002834320068','2015-12-11 11:49:06'),(2214,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\', \'AP20150700000017\', 1, \'LEVY x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000097]\', NULL, \'2\')','Aptransaction/invoicePosting','0.075005054473877','2015-12-11 11:49:06'),(2215,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, \'AP20150700000017\', \'LEVY x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000097]\', NULL, \'2\')','Aptransaction/invoicePosting','0.032001972198486','2015-12-11 11:49:06'),(2216,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000017\'','Aptransaction/invoicePosting','0.039001941680908','2015-12-11 11:49:06'),(2217,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\', \'2900\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-13\', \'\', 0, \'\', \'\', \'0.00\', \'2900.00\', \'2900.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.075005054473877','2015-12-11 11:52:08'),(2218,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 83,1,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=115','aptransaction/saveSupplierPayment','0.050001859664917','2015-12-11 11:52:08'),(2219,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 115','aptransaction/saveSupplierPayment','0.030002117156982','2015-12-11 11:52:08'),(2220,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'83\'','aptransaction/paymentPosting','0.028002023696899','2015-12-11 11:52:32'),(2221,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.018001079559326','2015-12-11 11:52:32'),(2222,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000018\' WHERE `ID` =  \'83\'','aptransaction/paymentPosting','0.041002988815308','2015-12-11 11:52:32'),(2223,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\', \'AP20150700000018\', \'PP20151211[00000078]\', \'Payment [ PP20151211[00000078] ]\', \'3\', \'2015-10-13\', \'2015\', \'7\', 2900, 2900, \'2\')','aptransaction/paymentPosting','0.018001079559326','2015-12-11 11:52:32'),(2224,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\', \'AP20150700000018\', 1, \'PI2015[00000097]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PP20151211[00000083]\', \'2\')','aptransaction/paymentPosting','0.013000965118408','2015-12-11 11:52:32'),(2225,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, \'AP20150700000018\', \'PI2015[00000097]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000083]\', \'1\', \'2\')','aptransaction/paymentPosting','0.011000156402588','2015-12-11 11:52:32'),(2226,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000018\'','aptransaction/paymentPosting','0.025002002716064','2015-12-11 11:52:32'),(2227,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'975\'','Gltransaction/journalPosting','0.074004173278809','2015-12-11 11:52:47'),(2228,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000017\'','Gltransaction/journalPosting','0.26901578903198','2015-12-11 11:52:48'),(2229,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.031002044677734','2015-12-11 11:52:48'),(2230,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.042002201080322','2015-12-11 11:52:48'),(2231,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'976\'','Gltransaction/journalPosting','0.029001951217651','2015-12-11 11:52:48'),(2232,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000018\'','Gltransaction/journalPosting','0.017000913619995','2015-12-11 11:52:48'),(2233,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.012001037597656','2015-12-11 11:52:48'),(2234,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.018001079559326','2015-12-11 11:52:48'),(2235,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-10-19\', \'IMM/FW/TX1445218940045\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.059003114700317','2015-12-11 12:02:12'),(2236,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (116, \'2\', \'66\', \'1\', \'LEVY x 4 Orang\', \'5800\', \'0\', \'23\', \'0\', \'5800\')','purchasetransaction/saveCharge','0.058003902435303','2015-12-11 12:02:12'),(2237,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'5800\' WHERE `ID` =  116','purchasetransaction/saveCharge','0.025001049041748','2015-12-11 12:02:12'),(2238,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =116','purchasetransaction/saveCharge','0.016000986099243','2015-12-11 12:02:12'),(2239,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-10-19\', \'IMM/FW/TX1445243194110\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.037001848220825','2015-12-11 12:11:49'),(2240,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (117, \'2\', \'66\', \'1\', \'LEVY x 1 Orang\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.042002201080322','2015-12-11 12:11:49'),(2241,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  117','purchasetransaction/saveCharge','0.02000093460083','2015-12-11 12:11:49'),(2242,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =117','purchasetransaction/saveCharge','0.023001909255981','2015-12-11 12:11:49'),(2243,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'116\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.041002988815308','2015-12-11 12:12:16'),(2244,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.026001930236816','2015-12-11 12:12:16'),(2245,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000019\' WHERE `ID` =  \'116\'','Aptransaction/invoicePosting','0.025001049041748','2015-12-11 12:12:16'),(2246,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\', \'AP20150700000019\', \'PI2015[00000098]\', \'Purchase Invoice Confirm [ PI2015[00000098] ]\', \'3\', \'2015-10-19\', \'2015\', \'7\', 5800, 5800, \'2\')','Aptransaction/invoicePosting','0.04000186920166','2015-12-11 12:12:16'),(2247,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\', \'AP20150700000019\', 1, \'LEVY x 4 Orang\', \'36\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PI2015[00000098]\', NULL, \'2\')','Aptransaction/invoicePosting','0.039003133773804','2015-12-11 12:12:16'),(2248,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, \'AP20150700000019\', \'LEVY x 4 Orang\', \'66\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PI2015[00000098]\', NULL, \'2\')','Aptransaction/invoicePosting','0.019001007080078','2015-12-11 12:12:16'),(2249,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5800, `total_amount_cr` = 5800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000019\'','Aptransaction/invoicePosting','0.049003124237061','2015-12-11 12:12:16'),(2250,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'117\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.036002159118652','2015-12-11 12:12:17'),(2251,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.030002117156982','2015-12-11 12:12:17'),(2252,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000020\' WHERE `ID` =  \'117\'','Aptransaction/invoicePosting','0.025001049041748','2015-12-11 12:12:17'),(2253,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\', \'AP20150700000020\', \'PI2015[00000099]\', \'Purchase Invoice Confirm [ PI2015[00000099] ]\', \'3\', \'2015-10-19\', \'2015\', \'7\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.050003051757812','2015-12-11 12:12:17'),(2254,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\', \'AP20150700000020\', 1, \'LEVY x 1 Orang\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000099]\', NULL, \'2\')','Aptransaction/invoicePosting','0.026001930236816','2015-12-11 12:12:17'),(2255,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, \'AP20150700000020\', \'LEVY x 1 Orang\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'PI2015[00000099]\', NULL, \'2\')','Aptransaction/invoicePosting','0.084004878997803','2015-12-11 12:12:17'),(2256,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000020\'','Aptransaction/invoicePosting','0.057003021240234','2015-12-11 12:12:17'),(2257,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\', \'7250\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-15\', \'\', 0, \'\', \'\', \'0.00\', \'7250.00\', \'7250.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.074003934860229','2015-12-11 12:13:24'),(2258,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 84,1,ID,totalAmount, totalPayable  ,0.00,5800,2 from comp_supplier_invoice where ID=116','aptransaction/saveSupplierPayment','0.050003051757812','2015-12-11 12:13:24'),(2259,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 5800, totalPayable = totalAmount - amountPaid  where ID = 116','aptransaction/saveSupplierPayment','0.045001983642578','2015-12-11 12:13:24'),(2260,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 84,2,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=117','aptransaction/saveSupplierPayment','0.016000986099243','2015-12-11 12:13:24'),(2261,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 117','aptransaction/saveSupplierPayment','0.016000986099243','2015-12-11 12:13:24'),(2262,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'84\'','aptransaction/paymentPosting','0.037002086639404','2015-12-11 12:14:00'),(2263,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.02000093460083','2015-12-11 12:14:00'),(2264,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000021\' WHERE `ID` =  \'84\'','aptransaction/paymentPosting','0.025001049041748','2015-12-11 12:14:01'),(2265,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\', \'AP20150700000021\', \'PP20151211[00000079]\', \'Payment [ PP20151211[00000079] ]\', \'3\', \'2015-10-15\', \'2015\', \'7\', 7250, 7250, \'2\')','aptransaction/paymentPosting','0.028001070022583','2015-12-11 12:14:01'),(2266,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\', \'AP20150700000021\', 1, \'PI2015[00000098]\', \'25\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'1\', \'PP20151211[00000084]\', \'2\')','aptransaction/paymentPosting','0.025002002716064','2015-12-11 12:14:01'),(2267,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, \'AP20150700000021\', \'PI2015[00000098]\', \'36\', \'MY EG SDN. BHD.\', 5800, \'1\', \'1\', \'5800\', \'7\', \'2015\', \'PP20151211[00000084]\', \'1\', \'2\')','aptransaction/paymentPosting','0.033001899719238','2015-12-11 12:14:01'),(2268,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\', \'AP20150700000021\', 3, \'PI2015[00000099]\', \'25\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'2\', \'PP20151211[00000084]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-12-11 12:14:01'),(2269,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000021\', \'PI2015[00000099]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'PP20151211[00000084]\', \'2\', \'2\')','aptransaction/paymentPosting','0.037002086639404','2015-12-11 12:14:01'),(2270,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7250, `total_amount_cr` = 7250, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000021\'','aptransaction/paymentPosting','0.029000997543335','2015-12-11 12:14:01'),(2271,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'977\'','Gltransaction/journalPosting','0.022001028060913','2015-12-11 12:14:24'),(2272,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000019\'','Gltransaction/journalPosting','0.15000796318054','2015-12-11 12:14:24'),(2273,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041002035140991','2015-12-11 12:14:24'),(2274,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013001203536987','2015-12-11 12:14:24'),(2275,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'978\'','Gltransaction/journalPosting','0.030001878738403','2015-12-11 12:14:25'),(2276,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000020\'','Gltransaction/journalPosting','0.017001152038574','2015-12-11 12:14:25'),(2277,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.02800178527832','2015-12-11 12:14:25'),(2278,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-11 12:14:25'),(2279,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'979\'','Gltransaction/journalPosting','0.085005044937134','2015-12-11 12:14:25'),(2280,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000021\'','Gltransaction/journalPosting','0.15400886535645','2015-12-11 12:14:25'),(2281,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.13400793075562','2015-12-11 12:14:26'),(2282,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.057003021240234','2015-12-11 12:14:26'),(2283,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.021001100540161','2015-12-11 12:14:26'),(2284,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.051002979278564','2015-12-11 12:14:26'),(2285,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-10-20\', \'IMM/FW/TX1445327482373\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.09400486946106','2015-12-11 12:20:34'),(2286,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (118, \'2\', \'66\', \'1\', \'LEVY x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.052002906799316','2015-12-11 12:20:34'),(2287,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  118','purchasetransaction/saveCharge','0.024002075195312','2015-12-11 12:20:34'),(2288,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =118','purchasetransaction/saveCharge','0.016000986099243','2015-12-11 12:20:35'),(2289,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-10-20\', \'IMM/FW/TX1445327150389\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.050002098083496','2015-12-11 12:22:08'),(2290,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (119, \'2\', \'66\', \'1\', \'LEVY x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.030000925064087','2015-12-11 12:22:08'),(2291,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  119','purchasetransaction/saveCharge','0.048002004623413','2015-12-11 12:22:08'),(2292,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =119','purchasetransaction/saveCharge','0.017000913619995','2015-12-11 12:22:08'),(2293,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'118\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.032001972198486','2015-12-11 12:23:46'),(2294,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.028001070022583','2015-12-11 12:23:46'),(2295,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000022\' WHERE `ID` =  \'118\'','Aptransaction/invoicePosting','0.04200291633606','2015-12-11 12:23:46'),(2296,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\', \'AP20150700000022\', \'PI2015[00000100]\', \'Purchase Invoice Confirm [ PI2015[00000100] ]\', \'3\', \'2015-10-20\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.059003114700317','2015-12-11 12:23:46'),(2297,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\', \'AP20150700000022\', 1, \'LEVY x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000100]\', NULL, \'2\')','Aptransaction/invoicePosting','0.074005126953125','2015-12-11 12:23:46'),(2298,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, \'AP20150700000022\', \'LEVY x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000100]\', NULL, \'2\')','Aptransaction/invoicePosting','0.016000986099243','2015-12-11 12:23:46'),(2299,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000022\'','Aptransaction/invoicePosting','0.042001962661743','2015-12-11 12:23:46'),(2300,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'119\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.053003072738647','2015-12-11 12:23:46'),(2301,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.025001049041748','2015-12-11 12:23:46'),(2302,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000023\' WHERE `ID` =  \'119\'','Aptransaction/invoicePosting','0.019001007080078','2015-12-11 12:23:46'),(2303,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\', \'AP20150700000023\', \'PI2015[00000101]\', \'Purchase Invoice Confirm [ PI2015[00000101] ]\', \'3\', \'2015-10-20\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.019001007080078','2015-12-11 12:23:46'),(2304,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\', \'AP20150700000023\', 1, \'LEVY x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000101]\', NULL, \'2\')','Aptransaction/invoicePosting','0.025001049041748','2015-12-11 12:23:46'),(2305,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, \'AP20150700000023\', \'LEVY x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000101]\', NULL, \'2\')','Aptransaction/invoicePosting','0.016000986099243','2015-12-11 12:23:46'),(2306,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000023\'','Aptransaction/invoicePosting','0.016000986099243','2015-12-11 12:23:46'),(2307,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\', \'5800\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-19\', \'\', 0, \'\', \'\', \'0.00\', \'5800.00\', \'5800.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.11100697517395','2015-12-11 12:24:39'),(2308,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 85,1,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=118','aptransaction/saveSupplierPayment','0.029000997543335','2015-12-11 12:24:39'),(2309,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 118','aptransaction/saveSupplierPayment','0.03400182723999','2015-12-11 12:24:39'),(2310,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 85,2,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=119','aptransaction/saveSupplierPayment','0.016000986099243','2015-12-11 12:24:39'),(2311,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 119','aptransaction/saveSupplierPayment','0.034002065658569','2015-12-11 12:24:39'),(2312,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'85\'','aptransaction/paymentPosting','0.027002096176147','2015-12-11 12:25:17'),(2313,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.056003093719482','2015-12-11 12:25:17'),(2314,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000024\' WHERE `ID` =  \'85\'','aptransaction/paymentPosting','0.037001848220825','2015-12-11 12:25:17'),(2315,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\', \'AP20150700000024\', \'PP20151211[00000080]\', \'Payment [ PP20151211[00000080] ]\', \'3\', \'2015-10-19\', \'2015\', \'7\', 5800, 5800, \'2\')','aptransaction/paymentPosting','0.060003995895386','2015-12-11 12:25:17'),(2316,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\', \'AP20150700000024\', 1, \'PI2015[00000100]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PP20151211[00000085]\', \'2\')','aptransaction/paymentPosting','0.099006175994873','2015-12-11 12:25:17'),(2317,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, \'AP20150700000024\', \'PI2015[00000100]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000085]\', \'1\', \'2\')','aptransaction/paymentPosting','0.024000883102417','2015-12-11 12:25:17'),(2318,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\', \'AP20150700000024\', 3, \'PI2015[00000101]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'2\', \'PP20151211[00000085]\', \'2\')','aptransaction/paymentPosting','0.078003883361816','2015-12-11 12:25:17'),(2319,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000024\', \'PI2015[00000101]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000085]\', \'2\', \'2\')','aptransaction/paymentPosting','0.045001983642578','2015-12-11 12:25:17'),(2320,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5800, `total_amount_cr` = 5800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000024\'','aptransaction/paymentPosting','0.033002138137817','2015-12-11 12:25:17'),(2321,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'980\'','Gltransaction/journalPosting','0.020002126693726','2015-12-11 12:25:43'),(2322,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000022\'','Gltransaction/journalPosting','0.12400698661804','2015-12-11 12:25:43'),(2323,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.056003093719482','2015-12-11 12:25:43'),(2324,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.034002065658569','2015-12-11 12:25:43'),(2325,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'981\'','Gltransaction/journalPosting','0.030001878738403','2015-12-11 12:25:43'),(2326,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000023\'','Gltransaction/journalPosting','0.045003175735474','2015-12-11 12:25:43'),(2327,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.036002159118652','2015-12-11 12:25:43'),(2328,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-11 12:25:43'),(2329,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'982\'','Gltransaction/journalPosting','0.021001815795898','2015-12-11 12:25:43'),(2330,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000024\'','Gltransaction/journalPosting','0.017001152038574','2015-12-11 12:25:43'),(2331,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.051002979278564','2015-12-11 12:25:44'),(2332,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.022001028060913','2015-12-11 12:25:44'),(2333,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.017000913619995','2015-12-11 12:25:44'),(2334,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.013000965118408','2015-12-11 12:25:44'),(2335,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-10-22\', \'IMM/FW/TX1445500838866\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.30501794815063','2015-12-11 14:04:09'),(2336,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (120, \'2\', \'66\', \'1\', \'LEVY x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.1080060005188','2015-12-11 14:04:09'),(2337,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  120','purchasetransaction/saveCharge','0.028002023696899','2015-12-11 14:04:09'),(2338,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =120','purchasetransaction/saveCharge','0.023000955581665','2015-12-11 14:04:09'),(2339,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-10-22\', \'IMM/FW/TX1445501038741\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.082004070281982','2015-12-11 14:19:40'),(2340,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (121, \'2\', \'66\', \'1\', \'LEVY x 3 Orang\', \'4350\', \'0\', \'23\', \'0\', \'4350\')','purchasetransaction/saveCharge','0.033001899719238','2015-12-11 14:19:40'),(2341,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4350\' WHERE `ID` =  121','purchasetransaction/saveCharge','0.021000862121582','2015-12-11 14:19:40'),(2342,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =121','purchasetransaction/saveCharge','0.045002937316895','2015-12-11 14:19:40'),(2343,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-10-22\', \'IMM/FW/TX1445501201637\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.061002969741821','2015-12-11 14:20:56'),(2344,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (122, \'2\', \'66\', \'1\', \'LEVY x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.050003051757812','2015-12-11 14:20:56'),(2345,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  122','purchasetransaction/saveCharge','0.026002168655396','2015-12-11 14:20:56'),(2346,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =122','purchasetransaction/saveCharge','0.025001049041748','2015-12-11 14:20:56'),(2347,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'120\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.034002065658569','2015-12-11 14:21:42'),(2348,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.02000093460083','2015-12-11 14:21:42'),(2349,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000025\' WHERE `ID` =  \'120\'','Aptransaction/invoicePosting','0.046003103256226','2015-12-11 14:21:42'),(2350,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\', \'AP20150700000025\', \'PI2015[00000102]\', \'Purchase Invoice Confirm [ PI2015[00000102] ]\', \'3\', \'2015-10-22\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.11700701713562','2015-12-11 14:21:42'),(2351,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\', \'AP20150700000025\', 1, \'LEVY x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000102]\', NULL, \'2\')','Aptransaction/invoicePosting','0.10600614547729','2015-12-11 14:21:42'),(2352,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, \'AP20150700000025\', \'LEVY x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000102]\', NULL, \'2\')','Aptransaction/invoicePosting','0.037001848220825','2015-12-11 14:21:42'),(2353,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000025\'','Aptransaction/invoicePosting','0.049003124237061','2015-12-11 14:21:42'),(2354,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'121\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.04200291633606','2015-12-11 14:21:43'),(2355,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.073004007339478','2015-12-11 14:21:43'),(2356,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000026\' WHERE `ID` =  \'121\'','Aptransaction/invoicePosting','0.035001993179321','2015-12-11 14:21:43'),(2357,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\', \'AP20150700000026\', \'PI2015[00000103]\', \'Purchase Invoice Confirm [ PI2015[00000103] ]\', \'3\', \'2015-10-22\', \'2015\', \'7\', 4350, 4350, \'2\')','Aptransaction/invoicePosting','0.061004161834717','2015-12-11 14:21:43'),(2358,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\', \'AP20150700000026\', 1, \'LEVY x 3 Orang\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000103]\', NULL, \'2\')','Aptransaction/invoicePosting','0.050002098083496','2015-12-11 14:21:43'),(2359,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, \'AP20150700000026\', \'LEVY x 3 Orang\', \'66\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'1\', \'PI2015[00000103]\', NULL, \'2\')','Aptransaction/invoicePosting','0.05600380897522','2015-12-11 14:21:43'),(2360,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000026\'','Aptransaction/invoicePosting','0.03400182723999','2015-12-11 14:21:43'),(2361,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'122\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.064003944396973','2015-12-11 14:21:44'),(2362,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  \'13\'','Aptransaction/invoicePosting','0.025002002716064','2015-12-11 14:21:44'),(2363,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150700000027\' WHERE `ID` =  \'122\'','Aptransaction/invoicePosting','0.040002107620239','2015-12-11 14:21:44'),(2364,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\', \'AP20150700000027\', \'PI2015[00000104]\', \'Purchase Invoice Confirm [ PI2015[00000104] ]\', \'3\', \'2015-10-22\', \'2015\', \'7\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.028002023696899','2015-12-11 14:21:44'),(2365,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\', \'AP20150700000027\', 1, \'LEVY x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000104]\', NULL, \'2\')','Aptransaction/invoicePosting','0.050002813339233','2015-12-11 14:21:44'),(2366,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, \'AP20150700000027\', \'LEVY x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PI2015[00000104]\', NULL, \'2\')','Aptransaction/invoicePosting','0.024000883102417','2015-12-11 14:21:44'),(2367,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000027\'','Aptransaction/invoicePosting','0.033001899719238','2015-12-11 14:21:44'),(2368,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\', \'10150\', \'68\', \'PP20151211\', \'5\', \'1\', \'1.00000\', \'2015-10-21\', \'\', 0, \'\', \'\', \'0.00\', \'10150.00\', \'10150.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.28501605987549','2015-12-11 14:22:50'),(2369,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 86,1,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=120','aptransaction/saveSupplierPayment','0.11500597000122','2015-12-11 14:22:50'),(2370,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 120','aptransaction/saveSupplierPayment','0.077004909515381','2015-12-11 14:22:50'),(2371,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 86,2,ID,totalAmount, totalPayable  ,0.00,4350,2 from comp_supplier_invoice where ID=121','aptransaction/saveSupplierPayment','0.025001049041748','2015-12-11 14:22:50'),(2372,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4350, totalPayable = totalAmount - amountPaid  where ID = 121','aptransaction/saveSupplierPayment','0.033002138137817','2015-12-11 14:22:50'),(2373,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 86,3,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=122','aptransaction/saveSupplierPayment','0.032001972198486','2015-12-11 14:22:50'),(2374,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 122','aptransaction/saveSupplierPayment','0.018000841140747','2015-12-11 14:22:50'),(2375,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'86\'','aptransaction/paymentPosting','0.046002149581909','2015-12-11 14:23:07'),(2376,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  \'13\'','aptransaction/paymentPosting','0.030002117156982','2015-12-11 14:23:07'),(2377,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150700000028\' WHERE `ID` =  \'86\'','aptransaction/paymentPosting','0.066003799438477','2015-12-11 14:23:07'),(2378,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\', \'AP20150700000028\', \'PP20151211[00000081]\', \'Payment [ PP20151211[00000081] ]\', \'3\', \'2015-10-21\', \'2015\', \'7\', 10150, 10150, \'2\')','aptransaction/paymentPosting','0.14400792121887','2015-12-11 14:23:07'),(2379,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\', \'AP20150700000028\', 1, \'PI2015[00000102]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'1\', \'PP20151211[00000086]\', \'2\')','aptransaction/paymentPosting','0.15100908279419','2015-12-11 14:23:07'),(2380,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, \'AP20150700000028\', \'PI2015[00000102]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000086]\', \'1\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-12-11 14:23:07'),(2381,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\', \'AP20150700000028\', 3, \'PI2015[00000103]\', \'25\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'2\', \'PP20151211[00000086]\', \'2\')','aptransaction/paymentPosting','0.011999845504761','2015-12-11 14:23:07'),(2382,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (\'2\', 4, \'AP20150700000028\', \'PI2015[00000103]\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'7\', \'2015\', \'PP20151211[00000086]\', \'2\', \'2\')','aptransaction/paymentPosting','0.017000913619995','2015-12-11 14:23:07'),(2383,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\', \'AP20150700000028\', 5, \'PI2015[00000104]\', \'25\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'3\', \'PP20151211[00000086]\', \'2\')','aptransaction/paymentPosting','0.033002138137817','2015-12-11 14:23:07'),(2384,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\', 6, \'AP20150700000028\', \'PI2015[00000104]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'7\', \'2015\', \'PP20151211[00000086]\', \'3\', \'2\')','aptransaction/paymentPosting','0.046002864837646','2015-12-11 14:23:07'),(2385,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 10150, `total_amount_cr` = 10150, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000028\'','aptransaction/paymentPosting','0.05500316619873','2015-12-11 14:23:07'),(2386,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'983\'','Gltransaction/journalPosting','0.044003009796143','2015-12-11 14:23:24'),(2387,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000025\'','Gltransaction/journalPosting','0.14100813865662','2015-12-11 14:23:24'),(2388,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.033002138137817','2015-12-11 14:23:24'),(2389,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032002210617065','2015-12-11 14:23:24'),(2390,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'984\'','Gltransaction/journalPosting','0.019001007080078','2015-12-11 14:23:24'),(2391,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000026\'','Gltransaction/journalPosting','0.032001972198486','2015-12-11 14:23:24'),(2392,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.089004993438721','2015-12-11 14:23:24'),(2393,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.032001972198486','2015-12-11 14:23:24'),(2394,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'985\'','Gltransaction/journalPosting','0.055003881454468','2015-12-11 14:23:24'),(2395,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000027\'','Gltransaction/journalPosting','0.054003000259399','2015-12-11 14:23:24'),(2396,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.030001878738403','2015-12-11 14:23:24'),(2397,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'7\'','Gltransaction/journalPosting','0.013999938964844','2015-12-11 14:23:24'),(2398,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'986\'','Gltransaction/journalPosting','0.038002014160156','2015-12-11 14:23:25'),(2399,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150700000028\'','Gltransaction/journalPosting','0.033002138137817','2015-12-11 14:23:25'),(2400,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.12200713157654','2015-12-11 14:23:25'),(2401,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.041002988815308','2015-12-11 14:23:25'),(2402,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.040002107620239','2015-12-11 14:23:25'),(2403,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.023002147674561','2015-12-11 14:23:25'),(2404,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.024000883102417','2015-12-11 14:23:25'),(2405,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'36\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'7\'','Gltransaction/journalPosting','0.039001941680908','2015-12-11 14:23:25'),(2406,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\', \'HAMIRI\', \'\', \'B-34\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-14\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.086004972457886','2015-12-14 10:21:45'),(2407,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\', \'MASJURI\', \'\', \'B-35\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-14\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.033001899719238','2015-12-14 10:22:10'),(2408,2,2,'::1','insert','INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, \'2\', \'M. KHOSIM\', \'\', \'B-36\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-12-14\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.034000873565674','2015-12-14 10:23:24'),(2409,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, \'250\', \'INV2015\', \'2015-10-23\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.4320240020752','2015-12-14 10:50:15'),(2410,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (307, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.13200783729553','2015-12-14 10:50:15'),(2411,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  307','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-14 10:50:15'),(2412,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'307\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.04000186920166','2015-12-14 10:50:42'),(2413,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'307\'','Artransaction/saveNewSaleDetailOnlyCharges','0.044003009796143','2015-12-14 10:50:42'),(2414,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'307\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.06200385093689','2015-12-14 10:51:02'),(2415,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'307\'','Artransaction/saveNewSaleDetailOnlyCharges','0.032001972198486','2015-12-14 10:51:02'),(2416,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'307\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.028000831604004','2015-12-14 10:51:28'),(2417,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'307\'','Artransaction/saveNewSaleDetailOnlyCharges','0.018000841140747','2015-12-14 10:51:28'),(2418,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'307\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.051002979278564','2015-12-14 10:51:45'),(2419,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'307\'','Artransaction/saveNewSaleDetailOnlyCharges','0.020001888275146','2015-12-14 10:51:45'),(2420,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, \'251\', \'INV2015\', \'2015-10-23\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.052003145217896','2015-12-14 11:57:04'),(2421,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (308, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.033002138137817','2015-12-14 11:57:04'),(2422,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  308','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-12-14 11:57:04'),(2423,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'308\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.20601201057434','2015-12-14 12:01:18'),(2424,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'308\'','Artransaction/saveNewSaleDetailOnlyCharges','0.08100414276123','2015-12-14 12:01:18'),(2425,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'308\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0260009765625','2015-12-14 12:01:40'),(2426,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'308\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0260009765625','2015-12-14 12:01:40'),(2427,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'308\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.025002002716064','2015-12-14 12:02:03'),(2428,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'308\'','Artransaction/saveNewSaleDetailOnlyCharges','0.025002002716064','2015-12-14 12:02:03'),(2429,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'308\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.050003051757812','2015-12-14 12:02:20'),(2430,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'308\'','Artransaction/saveNewSaleDetailOnlyCharges','0.037002086639404','2015-12-14 12:02:20'),(2431,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, \'252\', \'INV2015\', \'2015-10-23\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.19501113891602','2015-12-14 12:03:54'),(2432,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (309, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.041002035140991','2015-12-14 12:03:54'),(2433,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  309','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-12-14 12:03:54'),(2434,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'309\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.26501512527466','2015-12-14 12:04:19'),(2435,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1518\', `totalReceivable` = \'1518\' WHERE `ID` =  \'309\'','Artransaction/saveNewSaleDetailOnlyCharges','0.049002170562744','2015-12-14 12:04:19'),(2436,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'309\', \'3\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'76.3\', \'8\', \'0\', \'0\', \'76.3\')','Artransaction/saveNewSaleDetailOnlyCharges','0.04000186920166','2015-12-14 12:04:47'),(2437,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1594.3\', `totalReceivable` = \'1594.3\' WHERE `ID` =  \'309\'','Artransaction/saveNewSaleDetailOnlyCharges','0.033001899719238','2015-12-14 12:04:47'),(2438,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'309\', \'4\', \'2\', \'123\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'127.2\', \'8\', \'0\', \'0\', \'127.2\')','Artransaction/saveNewSaleDetailOnlyCharges','0.031002044677734','2015-12-14 12:05:08'),(2439,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1721.5\', `totalReceivable` = \'1721.5\' WHERE `ID` =  \'309\'','Artransaction/saveNewSaleDetailOnlyCharges','0.040003061294556','2015-12-14 12:05:08'),(2440,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'309\', \'5\', \'2\', \'58\', \'SERVICE FEE\', \'875.94\', \'2\', \'6\', \'52.56\', \'928.5\')','Artransaction/saveNewSaleDetailOnlyCharges','0.035001993179321','2015-12-14 12:05:27'),(2441,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'52.56\', `totalAmount` = \'2650\', `totalReceivable` = \'2650\' WHERE `ID` =  \'309\'','Artransaction/saveNewSaleDetailOnlyCharges','0.051003217697144','2015-12-14 12:05:27'),(2442,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.037002086639404','2015-12-14 12:06:42'),(2443,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000077\', `updateAble` = \'0\' WHERE `ID` =  \'307\'','artransaction/directInvoicePosting','0.036001920700073','2015-12-14 12:06:43'),(2444,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\', \'AR20150700000077\', \'INV2015[00000236]\', \'Posting Direct Sales Invoices [ INV2015[00000236] ]\', \'2\', \'2015-10-23\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.14600801467896','2015-12-14 12:06:43'),(2445,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, \'AR20150700000077\', \'LEVY\', \'20\', \'HAMIRI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.099004983901978','2015-12-14 12:06:43'),(2446,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\', \'AR20150700000077\', 2, \'LEVY\', \'59\', \'HAMIRI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.032001972198486','2015-12-14 12:06:43'),(2447,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, \'AR20150700000077\', \'IG (Insurance Guarantee)\', \'20\', \'HAMIRI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:43'),(2448,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\', \'AR20150700000077\', 4, \'IG (Insurance Guarantee)\', \'121\', \'HAMIRI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017001152038574','2015-12-14 12:06:43'),(2449,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, \'AR20150700000077\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'HAMIRI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:43'),(2450,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\', \'AR20150700000077\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'HAMIRI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:43'),(2451,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, \'AR20150700000077\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'HAMIRI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-12-14 12:06:43'),(2452,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\', \'AR20150700000077\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'HAMIRI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033002138137817','2015-12-14 12:06:43'),(2453,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, \'AR20150700000077\', \'SERVICE FEE\', \'20\', \'HAMIRI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033001899719238','2015-12-14 12:06:43'),(2454,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\', \'AR20150700000077\', 10, \'SERVICE FEE\', \'58\', \'HAMIRI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:43'),(2455,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, \'AR20150700000077\', \'SERVICE FEE\', \'20\', \'HAMIRI\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.070003986358643','2015-12-14 12:06:43'),(2456,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, \'AR20150700000077\', \'SERVICE FEE\', \'40\', \'HAMIRI\', 52.56, \'1\', \'1\', \'52.56\', \'7\', \'2015\', \'5\', \'INV2015[00000236]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.029000997543335','2015-12-14 12:06:43'),(2457,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150700000077\'','artransaction/directInvoicePosting','0.018000841140747','2015-12-14 12:06:43'),(2458,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  \'12\'','artransaction/directInvoicePosting','0.01400089263916','2015-12-14 12:06:44'),(2459,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150700000078\', `updateAble` = \'0\' WHERE `ID` =  \'308\'','artransaction/directInvoicePosting','0.044003009796143','2015-12-14 12:06:44'),(2460,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\', \'AR20150700000078\', \'INV2015[00000237]\', \'Posting Direct Sales Invoices [ INV2015[00000237] ]\', \'2\', \'2015-10-23\', \'2015\', \'7\', 2650, 2650, \'2\')','artransaction/directInvoicePosting','0.012000799179077','2015-12-14 12:06:44'),(2461,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, \'AR20150700000078\', \'LEVY\', \'20\', \'MASJURI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.018001079559326','2015-12-14 12:06:44'),(2462,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\', \'AR20150700000078\', 2, \'LEVY\', \'59\', \'MASJURI\', 1450, \'1\', \'1\', \'1450\', \'7\', \'2015\', \'1\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:44'),(2463,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, \'AR20150700000078\', \'IG (Insurance Guarantee)\', \'20\', \'MASJURI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:44'),(2464,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\', \'AR20150700000078\', 4, \'IG (Insurance Guarantee)\', \'121\', \'MASJURI\', 68, \'1\', \'1\', \'68\', \'7\', \'2015\', \'2\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.033000946044922','2015-12-14 12:06:44'),(2465,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, \'AR20150700000078\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MASJURI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.024002075195312','2015-12-14 12:06:44'),(2466,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\', \'AR20150700000078\', 6, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MASJURI\', 76.3, \'1\', \'1\', \'76.3\', \'7\', \'2015\', \'3\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:44'),(2467,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, \'AR20150700000078\', \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'20\', \'MASJURI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:44'),(2468,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\', \'AR20150700000078\', 8, \'FWHS (Hospitalization & Surgical Scheme for Foreign Worker)\', \'123\', \'MASJURI\', 127.2, \'1\', \'1\', \'127.2\', \'7\', \'2015\', \'4\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.015000820159912','2015-12-14 12:06:44'),(2469,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, \'AR20150700000078\', \'SERVICE FEE\', \'20\', \'MASJURI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.016000986099243','2015-12-14 12:06:44'),(2470,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\', \'AR20150700000078\', 10, \'SERVICE FEE\', \'58\', \'MASJURI\', 875.94, \'1\', \'1\', \'875.94\', \'7\', \'2015\', \'5\', \'INV2015[00000237]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.015001058578491','2015-12-14 12:06:44');
