(18516,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\', \'AP20150100000062\', 1, \'Repair of Photostate Machine \', \'25\', 1580, 1, 1, \'1580\', \'1\', \'2015\', \'1\', \'OPN2015[00000088]\', \'2\')','gltransaction/otherpaymentposting','0.0089998245239258','2015-07-02 15:05:41'),(18517,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20150100000062\', 2, \'Repair of Photostate Machine \', \'89\', 1580, 1, 1, \'1580\', \'1\', \'2015\', \'1\', \'OPN2015[00000088]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-07-02 15:05:41'),(18518,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1580, `total_amount_cr` = 1580, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150100000062\'','gltransaction/otherpaymentposting','0.01400089263916','2015-07-02 15:05:41'),(18519,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'736\'','Gltransaction/journalPosting','0.016000986099243','2015-07-02 15:05:57'),(18520,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150100000062\'','Gltransaction/journalPosting','0.0060009956359863','2015-07-02 15:05:57'),(18521,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.04600191116333','2015-07-02 15:05:57'),(18522,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'89\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.037002086639404','2015-07-02 15:05:58'),(18523,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-05\', \'IMM/FW/TX1433467645668\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.16700983047485','2015-07-03 10:21:53'),(18524,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (92, \'2\', \'66\', \'1\', \'LEVY x 3 Indo\', \'4350\', \'0\', \'23\', \'0\', \'4350\')','purchasetransaction/saveCharge','0.10700607299805','2015-07-03 10:21:53'),(18525,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4350\' WHERE `ID` =  92','purchasetransaction/saveCharge','0.023000955581665','2015-07-03 10:21:53'),(18526,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =92','purchasetransaction/saveCharge','0.0010001659393311','2015-07-03 10:21:53'),(18527,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'92\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.023000955581665','2015-07-03 10:23:49'),(18528,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 115 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.018000841140747','2015-07-03 10:23:49'),(18529,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000115\' WHERE `ID` =  \'92\'','Aptransaction/invoicePosting','0.011000156402588','2015-07-03 10:23:49'),(18530,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\', \'AP20150300000115\', \'PI2015[00000074]\', \'Purchase Invoice Confirm [ PI2015[00000074] ]\', \'3\', \'2015-06-05\', \'2015\', \'3\', 4350, 4350, \'2\')','Aptransaction/invoicePosting','0.13500690460205','2015-07-03 10:23:49'),(18531,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\', \'AP20150300000115\', 1, \'LEVY x 3 Indo\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PI2015[00000074]\', NULL, \'2\')','Aptransaction/invoicePosting','0.070003986358643','2015-07-03 10:23:49'),(18532,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, \'AP20150300000115\', \'LEVY x 3 Indo\', \'66\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PI2015[00000074]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 10:23:49'),(18533,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000115\'','Aptransaction/invoicePosting','0.02900218963623','2015-07-03 10:23:49'),(18534,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\', \'4350\', \'120\', \'PP20150703\', \'3\', \'1\', \'1.00000\', \'2015-06-04\', \'\', 0, \'\', \'\', \'0.00\', \'4350.00\', \'4350.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.13900780677795','2015-07-03 10:25:36'),(18535,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 73,1,ID,totalAmount, totalPayable  ,0.00,4350,2 from comp_supplier_invoice where ID=92','aptransaction/saveSupplierPayment','0.10100603103638','2015-07-03 10:25:36'),(18536,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4350, totalPayable = totalAmount - amountPaid  where ID = 92','aptransaction/saveSupplierPayment','0.035001993179321','2015-07-03 10:25:36'),(18537,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'73\'','aptransaction/paymentPosting','0.018000841140747','2015-07-03 10:25:55'),(18538,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 116 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.002000093460083','2015-07-03 10:25:55'),(18539,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000116\' WHERE `ID` =  \'73\'','aptransaction/paymentPosting','0.027002096176147','2015-07-03 10:25:55'),(18540,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\', \'AP20150300000116\', \'PP20150703[00000068]\', \'Payment [ PP20150703[00000068] ]\', \'3\', \'2015-06-04\', \'2015\', \'3\', 4350, 4350, \'2\')','aptransaction/paymentPosting','0.0059998035430908','2015-07-03 10:25:55'),(18541,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\', \'AP20150300000116\', 1, \'PI2015[00000074]\', \'130\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PP20150703[00000073]\', \'2\')','aptransaction/paymentPosting','0.048002958297729','2015-07-03 10:25:55'),(18542,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, \'AP20150300000116\', \'PI2015[00000074]\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'PP20150703[00000073]\', \'1\', \'2\')','aptransaction/paymentPosting','0.00099992752075195','2015-07-03 10:25:55'),(18543,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000116\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-03 10:25:55'),(18544,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-09\', \'IMM/FW/TX1433834457546\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.049002885818481','2015-07-03 10:51:57'),(18545,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (93, \'2\', \'66\', \'1\', \'LEVY x 3 Indo\', \'4350\', \'0\', \'23\', \'0\', \'4350\')','purchasetransaction/saveCharge','0.024001121520996','2015-07-03 10:51:57'),(18546,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4350\' WHERE `ID` =  93','purchasetransaction/saveCharge','0.019001007080078','2015-07-03 10:51:57'),(18547,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =93','purchasetransaction/saveCharge','0','2015-07-03 10:51:57'),(18548,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-09\', \'IMM/FW/TX1433834063245\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.018001079559326','2015-07-03 10:55:18'),(18549,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (94, \'2\', \'66\', \'1\', \'LEVY x 10 Orang\', \'14510\', \'0\', \'23\', \'0\', \'14510\')','purchasetransaction/saveCharge','0.00099992752075195','2015-07-03 10:55:18'),(18550,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'14510\' WHERE `ID` =  94','purchasetransaction/saveCharge','0.02000093460083','2015-07-03 10:55:18'),(18551,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =94','purchasetransaction/saveCharge','0','2015-07-03 10:55:18'),(18552,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'94\', \'2\', \'2\', \'65\', \'IG (Insurance Guarantee)\', \'63\', \'23\', \'0\', \'0\', \'63\')','purchasetransaction/saveChargeDetailOnly','0.015001058578491','2015-07-03 10:57:23'),(18553,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'14573\' WHERE `ID` =  \'94\'','purchasetransaction/saveChargeDetailOnly','0.0030009746551514','2015-07-03 10:57:23'),(18554,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =94','purchasetransaction/saveChargeDetailOnly','0.0079998970031738','2015-07-03 10:57:23'),(18555,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'94\', \'3\', \'2\', \'124\', \'FWCS (Foreign Worker Compensation Scheme)\', \'86.32\', \'23\', \'0\', \'0\', \'86.32\')','purchasetransaction/saveChargeDetailOnly','0.019001960754395','2015-07-03 10:58:17'),(18556,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'14659.32\' WHERE `ID` =  \'94\'','purchasetransaction/saveChargeDetailOnly','0.0080010890960693','2015-07-03 10:58:17'),(18557,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =94','purchasetransaction/saveChargeDetailOnly','0.00099992752075195','2015-07-03 10:58:17'),(18558,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'94\', \'4\', \'2\', \'126\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'137.2\', \'23\', \'0\', \'0\', \'137.2\')','purchasetransaction/saveChargeDetailOnly','0.0060000419616699','2015-07-03 11:10:47'),(18559,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'14796.52\' WHERE `ID` =  \'94\'','purchasetransaction/saveChargeDetailOnly','0.037001848220825','2015-07-03 11:10:47'),(18560,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =94','purchasetransaction/saveChargeDetailOnly','0.0010001659393311','2015-07-03 11:10:47'),(18561,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-09\', \'IMM/FW/TX1433833847055\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.02000093460083','2015-07-03 11:13:49'),(18562,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (95, \'2\', \'66\', \'1\', \'LEVY x 18 Orang\', \'26135\', \'0\', \'23\', \'0\', \'26135\')','purchasetransaction/saveCharge','0.00099992752075195','2015-07-03 11:13:49'),(18563,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'26135\' WHERE `ID` =  95','purchasetransaction/saveCharge','0.092005014419556','2015-07-03 11:13:49'),(18564,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =95','purchasetransaction/saveCharge','0.017001152038574','2015-07-03 11:13:49'),(18565,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-09\', \'IMM/FW/TX1433833605956\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.063004016876221','2015-07-03 11:34:21'),(18566,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (96, \'2\', \'66\', \'1\', \'LEVY\', \'14350\', \'0\', \'23\', \'0\', \'14350\')','purchasetransaction/saveCharge','0.024000883102417','2015-07-03 11:34:21'),(18567,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'14350\' WHERE `ID` =  96','purchasetransaction/saveCharge','0.012000799179077','2015-07-03 11:34:21'),(18568,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =96','purchasetransaction/saveCharge','0.0099999904632568','2015-07-03 11:34:21'),(18569,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'93\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0019998550415039','2015-07-03 11:47:27'),(18570,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 117 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.016000986099243','2015-07-03 11:47:27'),(18571,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000117\' WHERE `ID` =  \'93\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18572,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\', \'AP20150300000117\', \'PI2015[00000075]\', \'Purchase Invoice Confirm [ PI2015[00000075] ]\', \'3\', \'2015-06-09\', \'2015\', \'3\', 4350, 4350, \'2\')','Aptransaction/invoicePosting','0.093005895614624','2015-07-03 11:47:27'),(18573,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\', \'AP20150300000117\', 1, \'LEVY x 3 Indo\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PI2015[00000075]\', NULL, \'2\')','Aptransaction/invoicePosting','0.058003902435303','2015-07-03 11:47:27'),(18574,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, \'AP20150300000117\', \'LEVY x 3 Indo\', \'66\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PI2015[00000075]\', NULL, \'2\')','Aptransaction/invoicePosting','0.027001142501831','2015-07-03 11:47:27'),(18575,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4350, `total_amount_cr` = 4350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000117\'','Aptransaction/invoicePosting','0.01400089263916','2015-07-03 11:47:27'),(18576,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'94\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.002000093460083','2015-07-03 11:47:27'),(18577,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 118 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.063003063201904','2015-07-03 11:47:27'),(18578,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000118\' WHERE `ID` =  \'94\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18579,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\', \'AP20150300000118\', \'PI2015[00000076]\', \'Purchase Invoice Confirm [ PI2015[00000076] ]\', \'3\', \'2015-06-09\', \'2015\', \'3\', 14796.52, 14796.52, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18580,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\', \'AP20150300000118\', 1, \'LEVY x 10 Orang\', \'36\', \'MY EG SDN. BHD.\', 14510, \'1\', \'1\', \'14510\', \'3\', \'2015\', \'1\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0010001659393311','2015-07-03 11:47:27'),(18581,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, \'AP20150300000118\', \'LEVY x 10 Orang\', \'66\', \'MY EG SDN. BHD.\', 14510, \'1\', \'1\', \'14510\', \'3\', \'2015\', \'1\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18582,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\', \'AP20150300000118\', 3, \'IG (Insurance Guarantee)\', \'36\', \'MY EG SDN. BHD.\', 63, \'1\', \'1\', \'63\', \'3\', \'2015\', \'2\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0019998550415039','2015-07-03 11:47:27'),(18583,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'2\', 4, \'AP20150300000118\', \'IG (Insurance Guarantee)\', \'65\', \'MY EG SDN. BHD.\', 63, \'1\', \'1\', \'63\', \'3\', \'2015\', \'2\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.013000965118408','2015-07-03 11:47:27'),(18584,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\', \'AP20150300000118\', 5, \'FWCS (Foreign Worker Compensation Scheme)\', \'36\', \'MY EG SDN. BHD.\', 86.32, \'1\', \'1\', \'86.32\', \'3\', \'2015\', \'3\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18585,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\', 6, \'AP20150300000118\', \'FWCS (Foreign Worker Compensation Scheme)\', \'124\', \'MY EG SDN. BHD.\', 86.32, \'1\', \'1\', \'86.32\', \'3\', \'2015\', \'3\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.002000093460083','2015-07-03 11:47:27'),(18586,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\', \'AP20150300000118\', 7, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'36\', \'MY EG SDN. BHD.\', 137.2, \'1\', \'1\', \'137.2\', \'3\', \'2015\', \'4\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.002000093460083','2015-07-03 11:47:27'),(18587,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'2\', 8, \'AP20150300000118\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'126\', \'MY EG SDN. BHD.\', 137.2, \'1\', \'1\', \'137.2\', \'3\', \'2015\', \'4\', \'PI2015[00000076]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0019998550415039','2015-07-03 11:47:27'),(18588,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 14796.52, `total_amount_cr` = 14796.52, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000118\'','Aptransaction/invoicePosting','0.015001058578491','2015-07-03 11:47:27'),(18589,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'95\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0099999904632568','2015-07-03 11:47:27'),(18590,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 119 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0','2015-07-03 11:47:27'),(18591,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000119\' WHERE `ID` =  \'95\'','Aptransaction/invoicePosting','0','2015-07-03 11:47:27'),(18592,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\', \'AP20150300000119\', \'PI2015[00000077]\', \'Purchase Invoice Confirm [ PI2015[00000077] ]\', \'3\', \'2015-06-09\', \'2015\', \'3\', 26135, 26135, \'2\')','Aptransaction/invoicePosting','0.0010001659393311','2015-07-03 11:47:27'),(18593,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\', \'AP20150300000119\', 1, \'LEVY x 18 Orang\', \'36\', \'MY EG SDN. BHD.\', 26135, \'1\', \'1\', \'26135\', \'3\', \'2015\', \'1\', \'PI2015[00000077]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18594,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, \'AP20150300000119\', \'LEVY x 18 Orang\', \'66\', \'MY EG SDN. BHD.\', 26135, \'1\', \'1\', \'26135\', \'3\', \'2015\', \'1\', \'PI2015[00000077]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18595,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 26135, `total_amount_cr` = 26135, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000119\'','Aptransaction/invoicePosting','0','2015-07-03 11:47:27'),(18596,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'96\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.012001037597656','2015-07-03 11:47:27'),(18597,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 120 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.0010001659393311','2015-07-03 11:47:27'),(18598,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000120\' WHERE `ID` =  \'96\'','Aptransaction/invoicePosting','0.0019998550415039','2015-07-03 11:47:27'),(18599,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\', \'AP20150300000120\', \'PI2015[00000078]\', \'Purchase Invoice Confirm [ PI2015[00000078] ]\', \'3\', \'2015-06-09\', \'2015\', \'3\', 14350, 14350, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18600,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\', \'AP20150300000120\', 1, \'LEVY\', \'36\', \'MY EG SDN. BHD.\', 14350, \'1\', \'1\', \'14350\', \'3\', \'2015\', \'1\', \'PI2015[00000078]\', NULL, \'2\')','Aptransaction/invoicePosting','0.002000093460083','2015-07-03 11:47:27'),(18601,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, \'AP20150300000120\', \'LEVY\', \'66\', \'MY EG SDN. BHD.\', 14350, \'1\', \'1\', \'14350\', \'3\', \'2015\', \'1\', \'PI2015[00000078]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0010008811950684','2015-07-03 11:47:27'),(18602,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 14350, `total_amount_cr` = 14350, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000120\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 11:47:27'),(18603,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'737\'','Gltransaction/journalPosting','0.003000020980835','2015-07-03 12:20:35'),(18604,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000115\'','Gltransaction/journalPosting','0.11300587654114','2015-07-03 12:20:35'),(18605,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.072004079818726','2015-07-03 12:20:35'),(18606,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.034002065658569','2015-07-03 12:20:35'),(18607,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'738\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-03 12:20:36'),(18608,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000116\'','Gltransaction/journalPosting','0.013000965118408','2015-07-03 12:20:36'),(18609,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.013999938964844','2015-07-03 12:20:36'),(18610,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.012000799179077','2015-07-03 12:20:36'),(18611,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-22\', \'IMM/FW/TX1434939463800\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.18600988388062','2015-07-03 12:37:09'),(18612,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (97, \'2\', \'66\', \'1\', \'LEVY x 6 Orang\', \'8700\', \'0\', \'23\', \'0\', \'8700\')','purchasetransaction/saveCharge','0.12100696563721','2015-07-03 12:37:09'),(18613,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'8700\' WHERE `ID` =  97','purchasetransaction/saveCharge','0.013000965118408','2015-07-03 12:37:09'),(18614,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =97','purchasetransaction/saveCharge','0.0010001659393311','2015-07-03 12:37:09'),(18615,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-22\', \'IMM/FW/TX1434939690720\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.016000986099243','2015-07-03 12:39:24'),(18616,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (98, \'2\', \'66\', \'1\', \'LEVY x 1 Orang\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.00099992752075195','2015-07-03 12:39:24'),(18617,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  98','purchasetransaction/saveCharge','0.028002023696899','2015-07-03 12:39:24'),(18618,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =98','purchasetransaction/saveCharge','0.00099992752075195','2015-07-03 12:39:24'),(18619,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'97\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.015000820159912','2015-07-03 12:40:06'),(18620,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 121 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.017000913619995','2015-07-03 12:40:06'),(18621,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000121\' WHERE `ID` =  \'97\'','Aptransaction/invoicePosting','0.029001951217651','2015-07-03 12:40:06'),(18622,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\', \'AP20150300000121\', \'PI2015[00000079]\', \'Purchase Invoice Confirm [ PI2015[00000079] ]\', \'3\', \'2015-06-22\', \'2015\', \'3\', 8700, 8700, \'2\')','Aptransaction/invoicePosting','0.039001941680908','2015-07-03 12:40:06'),(18623,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\', \'AP20150300000121\', 1, \'LEVY x 6 Orang\', \'36\', \'MY EG SDN. BHD.\', 8700, \'1\', \'1\', \'8700\', \'3\', \'2015\', \'1\', \'PI2015[00000079]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0090000629425049','2015-07-03 12:40:06'),(18624,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, \'AP20150300000121\', \'LEVY x 6 Orang\', \'66\', \'MY EG SDN. BHD.\', 8700, \'1\', \'1\', \'8700\', \'3\', \'2015\', \'1\', \'PI2015[00000079]\', NULL, \'2\')','Aptransaction/invoicePosting','0.012001037597656','2015-07-03 12:40:06'),(18625,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 8700, `total_amount_cr` = 8700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000121\'','Aptransaction/invoicePosting','0.0260009765625','2015-07-03 12:40:06'),(18626,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'98\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0019998550415039','2015-07-03 12:40:07'),(18627,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 122 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.002000093460083','2015-07-03 12:40:07'),(18628,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000122\' WHERE `ID` =  \'98\'','Aptransaction/invoicePosting','0.019001007080078','2015-07-03 12:40:07'),(18629,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\', \'AP20150300000122\', \'PI2015[00000080]\', \'Purchase Invoice Confirm [ PI2015[00000080] ]\', \'3\', \'2015-06-22\', \'2015\', \'3\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.0020010471343994','2015-07-03 12:40:07'),(18630,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\', \'AP20150300000122\', 1, \'LEVY x 1 Orang\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000080]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-03 12:40:07'),(18631,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, \'AP20150300000122\', \'LEVY x 1 Orang\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000080]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0010001659393311','2015-07-03 12:40:07'),(18632,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000122\'','Aptransaction/invoicePosting','0.010999917984009','2015-07-03 12:40:07'),(18633,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\', \'69\', \'PP20150703\', \'3\', \'1\', \'1.00000\', \'2015-06-18\', \'\', 0, \'\', \'\', \'0.00\', \'10150.00\', \'10150.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.17800998687744','2015-07-03 12:42:55'),(18634,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 74,1,ID,totalAmount, totalPayable  ,0.00,8700,2 from comp_supplier_invoice where ID=97','aptransaction/saveSupplierPayment','0.041001796722412','2015-07-03 12:42:55'),(18635,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 8700, totalPayable = totalAmount - amountPaid  where ID = 97','aptransaction/saveSupplierPayment','0.024002075195312','2015-07-03 12:42:55'),(18636,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 74,2,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=98','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-03 12:42:55'),(18637,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 98','aptransaction/saveSupplierPayment','0.0010001659393311','2015-07-03 12:42:55'),(18638,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'74\'','aptransaction/paymentPosting','0.013000965118408','2015-07-03 12:44:04'),(18639,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 123 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-03 12:44:04'),(18640,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000123\' WHERE `ID` =  \'74\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-03 12:44:04'),(18641,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\', \'AP20150300000123\', \'PP20150703[00000069]\', \'Payment [ PP20150703[00000069] ]\', \'3\', \'2015-06-18\', \'2015\', \'3\', 10150, 10150, \'2\')','aptransaction/paymentPosting','0.041002035140991','2015-07-03 12:44:04'),(18642,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\', \'AP20150300000123\', 1, \'PI2015[00000079]\', \'130\', \'MY EG SDN. BHD.\', 8700, \'1\', \'1\', \'8700\', \'3\', \'2015\', \'1\', \'PP20150703[00000074]\', \'2\')','aptransaction/paymentPosting','0.019001007080078','2015-07-03 12:44:04'),(18643,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, \'AP20150300000123\', \'PI2015[00000079]\', \'36\', \'MY EG SDN. BHD.\', 8700, \'1\', \'1\', \'8700\', \'3\', \'2015\', \'PP20150703[00000074]\', \'1\', \'2\')','aptransaction/paymentPosting','0.0010001659393311','2015-07-03 12:44:04'),(18644,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\', \'AP20150300000123\', 3, \'PI2015[00000080]\', \'130\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'2\', \'PP20150703[00000074]\', \'2\')','aptransaction/paymentPosting','0.002000093460083','2015-07-03 12:44:04'),(18645,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, \'AP20150300000123\', \'PI2015[00000080]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'PP20150703[00000074]\', \'2\', \'2\')','aptransaction/paymentPosting','0.012001037597656','2015-07-03 12:44:04'),(18646,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 10150, `total_amount_cr` = 10150, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000123\'','aptransaction/paymentPosting','0.013000011444092','2015-07-03 12:44:04'),(18647,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'743\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-03 12:44:48'),(18648,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000121\'','Gltransaction/journalPosting','0.030002117156982','2015-07-03 12:44:48'),(18649,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.058002948760986','2015-07-03 12:44:48'),(18650,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.043002843856812','2015-07-03 12:44:48'),(18651,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'744\'','Gltransaction/journalPosting','0.0060000419616699','2015-07-03 12:44:48'),(18652,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000122\'','Gltransaction/journalPosting','0.002000093460083','2015-07-03 12:44:48'),(18653,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.011001110076904','2015-07-03 12:44:48'),(18654,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-07-03 12:44:48'),(18655,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'745\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-03 12:44:49'),(18656,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000123\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-03 12:44:49'),(18657,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-03 12:44:49'),(18658,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-03 12:44:49'),(18659,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0','2015-07-03 12:44:49'),(18660,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-03 12:44:49'),(18661,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-22\', \'IMM/FW/TX1434939164146\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.18000984191895','2015-07-06 10:29:18'),(18662,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (99, \'2\', \'66\', \'1\', \'LEVY x 3 Orang\', \'4344\', \'0\', \'23\', \'0\', \'4344\')','purchasetransaction/saveCharge','0.076004028320312','2015-07-06 10:29:18'),(18663,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'4344\' WHERE `ID` =  99','purchasetransaction/saveCharge','0.019001007080078','2015-07-06 10:29:18'),(18664,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =99','purchasetransaction/saveCharge','0.0080010890960693','2015-07-06 10:29:18'),(18665,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-19\', \'IMM/FW/TX1434677707941\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.013000965118408','2015-07-06 10:31:36'),(18666,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (100, \'2\', \'66\', \'1\', \'LEVI x 2 Orang\', \'2900\', \'0\', \'23\', \'0\', \'2900\')','purchasetransaction/saveCharge','0.052003145217896','2015-07-06 10:31:36'),(18667,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'2900\' WHERE `ID` =  100','purchasetransaction/saveCharge','0.02000093460083','2015-07-06 10:31:36'),(18668,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =100','purchasetransaction/saveCharge','0.002000093460083','2015-07-06 10:31:36'),(18669,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-19\', \'IMM/FW/TX1434677942208\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.015001058578491','2015-07-06 10:33:47'),(18670,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (101, \'2\', \'66\', \'1\', \'LEVI x 1 Orang\', \'1450\', \'0\', \'23\', \'0\', \'1450\')','purchasetransaction/saveCharge','0.00099992752075195','2015-07-06 10:33:47'),(18671,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  101','purchasetransaction/saveCharge','0.021001815795898','2015-07-06 10:33:47'),(18672,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =101','purchasetransaction/saveCharge','0.023001194000244','2015-07-06 10:33:47'),(18673,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'99\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.021001100540161','2015-07-06 10:34:24'),(18674,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 124 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.01400089263916','2015-07-06 10:34:24'),(18675,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000124\' WHERE `ID` =  \'99\'','Aptransaction/invoicePosting','0.005000114440918','2015-07-06 10:34:24'),(18676,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\', \'AP20150300000124\', \'PI2015[00000081]\', \'Purchase Invoice Confirm [ PI2015[00000081] ]\', \'3\', \'2015-06-22\', \'2015\', \'3\', 4344, 4344, \'2\')','Aptransaction/invoicePosting','0.076004028320312','2015-07-06 10:34:24'),(18677,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\', \'AP20150300000124\', 1, \'LEVY x 3 Orang\', \'36\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PI2015[00000081]\', NULL, \'2\')','Aptransaction/invoicePosting','0.093004941940308','2015-07-06 10:34:24'),(18678,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, \'AP20150300000124\', \'LEVY x 3 Orang\', \'66\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PI2015[00000081]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0010001659393311','2015-07-06 10:34:24'),(18679,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4344, `total_amount_cr` = 4344, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000124\'','Aptransaction/invoicePosting','0.063004016876221','2015-07-06 10:34:24'),(18680,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'100\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.013000011444092','2015-07-06 10:34:24'),(18681,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 125 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.013000965118408','2015-07-06 10:34:24'),(18682,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000125\' WHERE `ID` =  \'100\'','Aptransaction/invoicePosting','0','2015-07-06 10:34:24'),(18683,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\', \'AP20150300000125\', \'PI2015[00000082]\', \'Purchase Invoice Confirm [ PI2015[00000082] ]\', \'3\', \'2015-06-19\', \'2015\', \'3\', 2900, 2900, \'2\')','Aptransaction/invoicePosting','0.0079998970031738','2015-07-06 10:34:24'),(18684,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\', \'AP20150300000125\', 1, \'LEVI x 2 Orang\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'3\', \'2015\', \'1\', \'PI2015[00000082]\', NULL, \'2\')','Aptransaction/invoicePosting','0.094005823135376','2015-07-06 10:34:24'),(18685,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, \'AP20150300000125\', \'LEVI x 2 Orang\', \'66\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'3\', \'2015\', \'1\', \'PI2015[00000082]\', NULL, \'2\')','Aptransaction/invoicePosting','0.02000093460083','2015-07-06 10:34:25'),(18686,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2900, `total_amount_cr` = 2900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000125\'','Aptransaction/invoicePosting','0.041002035140991','2015-07-06 10:34:25'),(18687,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'101\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 10:34:25'),(18688,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 126 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 10:34:25'),(18689,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000126\' WHERE `ID` =  \'101\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 10:34:25'),(18690,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\', \'AP20150300000126\', \'PI2015[00000083]\', \'Purchase Invoice Confirm [ PI2015[00000083] ]\', \'3\', \'2015-06-19\', \'2015\', \'3\', 1450, 1450, \'2\')','Aptransaction/invoicePosting','0.01400089263916','2015-07-06 10:34:25'),(18691,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\', \'AP20150300000126\', 1, \'LEVI x 1 Orang\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000083]\', NULL, \'2\')','Aptransaction/invoicePosting','0.025002002716064','2015-07-06 10:34:25'),(18692,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, \'AP20150300000126\', \'LEVI x 1 Orang\', \'66\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'1\', \'PI2015[00000083]\', NULL, \'2\')','Aptransaction/invoicePosting','0.041001796722412','2015-07-06 10:34:25'),(18693,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000126\'','Aptransaction/invoicePosting','0.0019998550415039','2015-07-06 10:34:25'),(18694,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\', \'8694\', \'69\', \'PP20150706\', \'3\', \'1\', \'1.00000\', \'2015-06-18\', \'RHB 000520\', 0, \'\', \'\', \'0.00\', \'8694.00\', \'8694.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.14000797271729','2015-07-06 10:36:50'),(18695,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 75,1,ID,totalAmount, totalPayable  ,0.00,4344,2 from comp_supplier_invoice where ID=99','aptransaction/saveSupplierPayment','0.042003154754639','2015-07-06 10:36:50'),(18696,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4344, totalPayable = totalAmount - amountPaid  where ID = 99','aptransaction/saveSupplierPayment','0.013000011444092','2015-07-06 10:36:50'),(18697,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 75,2,ID,totalAmount, totalPayable  ,0.00,2900,2 from comp_supplier_invoice where ID=100','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-06 10:36:50'),(18698,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 2900, totalPayable = totalAmount - amountPaid  where ID = 100','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-06 10:36:50'),(18699,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 75,3,ID,totalAmount, totalPayable  ,0.00,1450,2 from comp_supplier_invoice where ID=101','aptransaction/saveSupplierPayment','0.0010011196136475','2015-07-06 10:36:50'),(18700,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1450, totalPayable = totalAmount - amountPaid  where ID = 101','aptransaction/saveSupplierPayment','0.013999938964844','2015-07-06 10:36:50'),(18701,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'75\'','aptransaction/paymentPosting','0.01400089263916','2015-07-06 10:37:04'),(18702,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 127 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.025002002716064','2015-07-06 10:37:04'),(18703,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000127\' WHERE `ID` =  \'75\'','aptransaction/paymentPosting','0.0010001659393311','2015-07-06 10:37:04'),(18704,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\', \'AP20150300000127\', \'PP20150706[00000070]\', \'Payment [ PP20150706[00000070] ]\', \'3\', \'2015-06-18\', \'2015\', \'3\', 8694, 8694, \'2\')','aptransaction/paymentPosting','0.049003124237061','2015-07-06 10:37:04'),(18705,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\', \'AP20150300000127\', 1, \'PI2015[00000081]\', \'130\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'1\', \'PP20150706[00000075]\', \'2\')','aptransaction/paymentPosting','0.028002023696899','2015-07-06 10:37:04'),(18706,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, \'AP20150300000127\', \'PI2015[00000081]\', \'36\', \'MY EG SDN. BHD.\', 4344, \'1\', \'1\', \'4344\', \'3\', \'2015\', \'PP20150706[00000075]\', \'1\', \'2\')','aptransaction/paymentPosting','0.00099992752075195','2015-07-06 10:37:04'),(18707,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\', \'AP20150300000127\', 3, \'PI2015[00000082]\', \'130\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'3\', \'2015\', \'2\', \'PP20150706[00000075]\', \'2\')','aptransaction/paymentPosting','0.0019998550415039','2015-07-06 10:37:04'),(18708,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, \'AP20150300000127\', \'PI2015[00000082]\', \'36\', \'MY EG SDN. BHD.\', 2900, \'1\', \'1\', \'2900\', \'3\', \'2015\', \'PP20150706[00000075]\', \'2\', \'2\')','aptransaction/paymentPosting','0.0010001659393311','2015-07-06 10:37:04'),(18709,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\', \'AP20150300000127\', 5, \'PI2015[00000083]\', \'130\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'3\', \'PP20150706[00000075]\', \'2\')','aptransaction/paymentPosting','0.00099992752075195','2015-07-06 10:37:04'),(18710,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, \'AP20150300000127\', \'PI2015[00000083]\', \'36\', \'MY EG SDN. BHD.\', 1450, \'1\', \'1\', \'1450\', \'3\', \'2015\', \'PP20150706[00000075]\', \'3\', \'2\')','aptransaction/paymentPosting','0.002000093460083','2015-07-06 10:37:04'),(18711,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 8694, `total_amount_cr` = 8694, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000127\'','aptransaction/paymentPosting','0.012001037597656','2015-07-06 10:37:04'),(18712,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'746\'','Gltransaction/journalPosting','0.017001152038574','2015-07-06 10:37:41'),(18713,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000124\'','Gltransaction/journalPosting','0.057002782821655','2015-07-06 10:37:41'),(18714,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.034002065658569','2015-07-06 10:37:41'),(18715,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.038001775741577','2015-07-06 10:37:41'),(18716,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'747\'','Gltransaction/journalPosting','0.0099999904632568','2015-07-06 10:37:41'),(18717,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000125\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 10:37:41'),(18718,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.032001972198486','2015-07-06 10:37:41'),(18719,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-06 10:37:41'),(18720,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'748\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 10:37:41'),(18721,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000126\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-06 10:37:41'),(18722,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-06 10:37:41'),(18723,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-07-06 10:37:41'),(18724,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'749\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 10:37:41'),(18725,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000127\'','Gltransaction/journalPosting','0.015001058578491','2015-07-06 10:37:41'),(18726,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.016000986099243','2015-07-06 10:37:41'),(18727,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-06 10:37:41'),(18728,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010011196136475','2015-07-06 10:37:41'),(18729,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-06 10:37:41'),(18730,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-06 10:37:41'),(18731,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 10:37:41'),(18732,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-26\', \'IMM/FW/TX1435553209403\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.036002159118652','2015-07-06 10:59:57'),(18733,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (102, \'2\', \'66\', \'1\', \'LEVI x 8 Orang\', \'11600\', \'0\', \'23\', \'0\', \'11600\')','purchasetransaction/saveCharge','0.030001878738403','2015-07-06 10:59:57'),(18734,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'11600\' WHERE `ID` =  102','purchasetransaction/saveCharge','0.011000871658325','2015-07-06 10:59:57'),(18735,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =102','purchasetransaction/saveCharge','0.0010001659393311','2015-07-06 10:59:57'),(18736,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-29\', \'IMM/FW/TX1435553517340\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.015001058578491','2015-07-06 11:02:05'),(18737,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (103, \'2\', \'66\', \'1\', \'LEVI x 13 Orang\', \'18855\', \'0\', \'23\', \'0\', \'18855\')','purchasetransaction/saveCharge','0.00099992752075195','2015-07-06 11:02:05'),(18738,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'18855\' WHERE `ID` =  103','purchasetransaction/saveCharge','0.002000093460083','2015-07-06 11:02:05'),(18739,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =103','purchasetransaction/saveCharge','0.00099992752075195','2015-07-06 11:02:05'),(18740,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'102\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0020010471343994','2015-07-06 11:04:15'),(18741,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 128 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.016000986099243','2015-07-06 11:04:15'),(18742,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000128\' WHERE `ID` =  \'102\'','Aptransaction/invoicePosting','0.0010008811950684','2015-07-06 11:04:15'),(18743,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\', \'AP20150300000128\', \'PI2015[00000084]\', \'Purchase Invoice Confirm [ PI2015[00000084] ]\', \'3\', \'2015-06-26\', \'2015\', \'3\', 11600, 11600, \'2\')','Aptransaction/invoicePosting','0.041002035140991','2015-07-06 11:04:15'),(18744,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\', \'AP20150300000128\', 1, \'LEVI x 8 Orang\', \'36\', \'MY EG SDN. BHD.\', 11600, \'1\', \'1\', \'11600\', \'3\', \'2015\', \'1\', \'PI2015[00000084]\', NULL, \'2\')','Aptransaction/invoicePosting','0.075003862380981','2015-07-06 11:04:15'),(18745,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, \'AP20150300000128\', \'LEVI x 8 Orang\', \'66\', \'MY EG SDN. BHD.\', 11600, \'1\', \'1\', \'11600\', \'3\', \'2015\', \'1\', \'PI2015[00000084]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 11:04:15'),(18746,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 11600, `total_amount_cr` = 11600, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000128\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 11:04:15'),(18747,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'103\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.012000799179077','2015-07-06 11:04:15'),(18748,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 129 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.0090000629425049','2015-07-06 11:04:15'),(18749,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000129\' WHERE `ID` =  \'103\'','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 11:04:15'),(18750,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\', \'AP20150300000129\', \'PI2015[00000085]\', \'Purchase Invoice Confirm [ PI2015[00000085] ]\', \'3\', \'2015-06-29\', \'2015\', \'3\', 18855, 18855, \'2\')','Aptransaction/invoicePosting','0.014001131057739','2015-07-06 11:04:15'),(18751,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\', \'AP20150300000129\', 1, \'LEVI x 13 Orang\', \'36\', \'MY EG SDN. BHD.\', 18855, \'1\', \'1\', \'18855\', \'3\', \'2015\', \'1\', \'PI2015[00000085]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 11:04:15'),(18752,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, \'AP20150300000129\', \'LEVI x 13 Orang\', \'66\', \'MY EG SDN. BHD.\', 18855, \'1\', \'1\', \'18855\', \'3\', \'2015\', \'1\', \'PI2015[00000085]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-06 11:04:15'),(18753,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 18855, `total_amount_cr` = 18855, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000129\'','Aptransaction/invoicePosting','0.0010001659393311','2015-07-06 11:04:15'),(18754,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\', \'69\', \'PP20150706\', \'3\', \'1\', \'1.00000\', \'2015-06-26\', \'RHB 000522\', 0, \'\', \'\', \'0.00\', \'11600.00\', \'11600.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.03600287437439','2015-07-06 11:08:27'),(18755,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 76,1,ID,totalAmount, totalPayable  ,0.00,11600,2 from comp_supplier_invoice where ID=102','aptransaction/saveSupplierPayment','0.027001142501831','2015-07-06 11:08:27'),(18756,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 11600, totalPayable = totalAmount - amountPaid  where ID = 102','aptransaction/saveSupplierPayment','0.0080008506774902','2015-07-06 11:08:27'),(18757,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\', \'18855\', \'69\', \'PP20150706\', \'3\', \'1\', \'1.00000\', \'2015-06-26\', \'RHB 000524\', 0, \'\', \'\', \'0.00\', \'18855.00\', \'18855.00\', \'0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.0090010166168213','2015-07-06 11:09:40'),(18758,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 77,1,ID,totalAmount, totalPayable  ,0.00,18855,2 from comp_supplier_invoice where ID=103','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-06 11:09:40'),(18759,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 18855, totalPayable = totalAmount - amountPaid  where ID = 103','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-06 11:09:40'),(18760,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'76\'','aptransaction/paymentPosting','0.021001100540161','2015-07-06 11:10:00'),(18761,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 130 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.016000986099243','2015-07-06 11:10:00'),(18762,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000130\' WHERE `ID` =  \'76\'','aptransaction/paymentPosting','0.0010001659393311','2015-07-06 11:10:00'),(18763,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\', \'AP20150300000130\', \'PP20150706[00000071]\', \'Payment [ PP20150706[00000071] ]\', \'3\', \'2015-06-26\', \'2015\', \'3\', 11600, 11600, \'2\')','aptransaction/paymentPosting','0.043002843856812','2015-07-06 11:10:00'),(18764,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\', \'AP20150300000130\', 1, \'PI2015[00000084]\', \'130\', \'MY EG SDN. BHD.\', 11600, \'1\', \'1\', \'11600\', \'3\', \'2015\', \'1\', \'PP20150706[00000076]\', \'2\')','aptransaction/paymentPosting','0.071003913879395','2015-07-06 11:10:00'),(18765,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, \'AP20150300000130\', \'PI2015[00000084]\', \'36\', \'MY EG SDN. BHD.\', 11600, \'1\', \'1\', \'11600\', \'3\', \'2015\', \'PP20150706[00000076]\', \'1\', \'2\')','aptransaction/paymentPosting','0.002000093460083','2015-07-06 11:10:00'),(18766,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 11600, `total_amount_cr` = 11600, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000130\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-06 11:10:00'),(18767,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'77\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-06 11:10:01'),(18768,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 131 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.0060009956359863','2015-07-06 11:10:01'),(18769,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000131\' WHERE `ID` =  \'77\'','aptransaction/paymentPosting','0.0060000419616699','2015-07-06 11:10:01'),(18770,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\', \'AP20150300000131\', \'PP20150706[00000072]\', \'Payment [ PP20150706[00000072] ]\', \'3\', \'2015-06-26\', \'2015\', \'3\', 18855, 18855, \'2\')','aptransaction/paymentPosting','0.02000093460083','2015-07-06 11:10:01'),(18771,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\', \'AP20150300000131\', 1, \'PI2015[00000085]\', \'130\', \'MY EG SDN. BHD.\', 18855, \'1\', \'1\', \'18855\', \'3\', \'2015\', \'1\', \'PP20150706[00000077]\', \'2\')','aptransaction/paymentPosting','0.0010001659393311','2015-07-06 11:10:01'),(18772,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, \'AP20150300000131\', \'PI2015[00000085]\', \'36\', \'MY EG SDN. BHD.\', 18855, \'1\', \'1\', \'18855\', \'3\', \'2015\', \'PP20150706[00000077]\', \'1\', \'2\')','aptransaction/paymentPosting','0.00099992752075195','2015-07-06 11:10:01'),(18773,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 18855, `total_amount_cr` = 18855, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000131\'','aptransaction/paymentPosting','0.0010008811950684','2015-07-06 11:10:01'),(18774,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'750\'','Gltransaction/journalPosting','0.0099999904632568','2015-07-06 11:10:27'),(18775,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000128\'','Gltransaction/journalPosting','0.073004007339478','2015-07-06 11:10:27'),(18776,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.047002077102661','2015-07-06 11:10:27'),(18777,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.024002075195312','2015-07-06 11:10:27'),(18778,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'751\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-06 11:10:27'),(18779,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000129\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 11:10:27'),(18780,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-06 11:10:27'),(18781,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-06 11:10:28'),(18782,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'752\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 11:10:28'),(18783,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000130\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-06 11:10:28'),(18784,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-07-06 11:10:28'),(18785,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-06 11:10:28'),(18786,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'753\'','Gltransaction/journalPosting','0.016000986099243','2015-07-06 11:10:28'),(18787,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000131\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-06 11:10:28'),(18788,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.022001028060913','2015-07-06 11:10:28'),(18789,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-06 11:10:28'),(18790,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0.0010001659393311','2015-07-08 10:11:16'),(18791,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0','2015-07-08 10:11:17'),(18792,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0','2015-07-08 10:14:08'),(18793,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0','2015-07-08 10:14:08'),(18794,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0.00099992752075195','2015-07-08 10:15:58'),(18795,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `updateAble` = 0 WHERE `ID` =  0','arReports/salesinvlist_print','0.002000093460083','2015-07-08 10:19:38'),(18796,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-05\', \'Insurance\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.1880099773407','2015-07-08 10:48:19'),(18797,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (104, \'2\', \'125\', \'1\', \'Insurance\', \'1168.48\', \'0\', \'23\', \'0\', \'1168.48\')','purchasetransaction/saveCharge','0.081004858016968','2015-07-08 10:48:19'),(18798,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1168.48\' WHERE `ID` =  104','purchasetransaction/saveCharge','0.00099992752075195','2015-07-08 10:48:19'),(18799,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =104','purchasetransaction/saveCharge','0.00099992752075195','2015-07-08 10:48:19'),(18800,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'104\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.002000093460083','2015-07-08 10:48:31'),(18801,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 132 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0.0019998550415039','2015-07-08 10:48:31'),(18802,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000132\' WHERE `ID` =  \'104\'','Aptransaction/invoicePosting','0.0090010166168213','2015-07-08 10:48:31'),(18803,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\', \'AP20150300000132\', \'PI2015[00000086]\', \'Purchase Invoice Confirm [ PI2015[00000086] ]\', \'3\', \'2015-06-05\', \'2015\', \'3\', 1168.48, 1168.48, \'2\')','Aptransaction/invoicePosting','0.044003009796143','2015-07-08 10:48:31'),(18804,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\', \'AP20150300000132\', 1, \'Insurance\', \'36\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'1\', \'PI2015[00000086]\', NULL, \'2\')','Aptransaction/invoicePosting','0.0350022315979','2015-07-08 10:48:31'),(18805,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, \'AP20150300000132\', \'Insurance\', \'125\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'1\', \'PI2015[00000086]\', NULL, \'2\')','Aptransaction/invoicePosting','0.025001049041748','2015-07-08 10:48:31'),(18806,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1168.48, `total_amount_cr` = 1168.48, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000132\'','Aptransaction/invoicePosting','0.013000965118408','2015-07-08 10:48:31'),(18807,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'754\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 10:54:31'),(18808,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000132\'','Gltransaction/journalPosting','0','2015-07-08 10:54:31'),(18809,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.064002990722656','2015-07-08 10:54:31'),(18810,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'125\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 10:54:31'),(18811,2,2,'::1','insert','INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (\'2\', \'2\', \'3\', \'PDN20150708\', \'\', \'2015-06-05\', \'104\', \'\', \'1\', \'1.00000\', \'1168.48\', \'0\', \'1168.48\')','aptransaction/saveNewParchaseChargeDebit','0.059004068374634','2015-07-08 11:01:48'),(18812,2,2,'::1','insert','INSERT INTO `comp_supplier_debitnote_charges` (`debitNoteID`, `createdBy`, `accountNoID`, `lineNo`, `itemdescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (1, \'2\', \'125\', \'1\', \'Insurance\', \'1168.48\', \'23\', \'0\', \'0\', \'1168.48\')','aptransaction/saveNewParchaseChargeDebit','0.078004121780396','2015-07-08 11:01:48'),(18813,2,2,'::1','update','UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1168.48\' WHERE `ID` =  1','aptransaction/saveNewParchaseChargeDebit','0','2015-07-08 11:01:48'),(18814,2,2,'::1','update','UPDATE `comp_supplier_debitnote` SET `updateAble` = \'0\' WHERE `ID` =  \'1\'','Aptransaction/debitNotePosting','0.00099992752075195','2015-07-08 11:02:14'),(18815,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 133 WHERE `ID` =  \'7\'','Aptransaction/debitNotePosting','0','2015-07-08 11:02:14'),(18816,2,2,'::1','update','UPDATE `comp_supplier_debitnote` SET `journalNo` = \'AP20150300000133\' WHERE `ID` =  \'1\'','Aptransaction/debitNotePosting','0','2015-07-08 11:02:14'),(18817,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\', \'AP20150300000133\', \'PDN20150708[00000001]\', \'Posting Debit Note Confirm [ PDN20150708[00000001] ]\', \'3\', \'2015-06-05\', \'2015\', \'3\', 1168.48, 1168.48, \'2\')','Aptransaction/debitNotePosting','0.034002065658569','2015-07-08 11:02:14'),(18818,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'2\', \'AP20150300000133\', 1, \'Insurance\', \'36\', \'MY EG SDN. BHD.\', 1168.48, 1, \'1\', \'1168.48\', \'3\', \'2015\', \'1\', \'PDN20150708[00000001][00000001]\', \'0\', \'2\')','Aptransaction/debitNotePosting','0.032001972198486','2015-07-08 11:02:14'),(18819,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (\'2\', 2, \'AP20150300000133\', \'Insurance\', \'125\', \'MY EG SDN. BHD.\', 1168.48, 1, \'1\', \'1168.48\', \'3\', \'2015\', \'PDN20150708[00000001][00000001]\', \'1\', \'0\', \'2\')','Aptransaction/debitNotePosting','0.0019998550415039','2015-07-08 11:02:14'),(18820,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1168.48, `total_amount_cr` = 1168.48, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000133\'','Aptransaction/debitNotePosting','0.0260009765625','2015-07-08 11:02:14'),(18821,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'755\'','Gltransaction/journalPosting','0.019001007080078','2015-07-08 11:02:30'),(18822,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000133\'','Gltransaction/journalPosting','0.034002065658569','2015-07-08 11:02:30'),(18823,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.046002864837646','2015-07-08 11:02:30'),(18824,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'125\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 11:02:31'),(18825,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (\'2\', \'2\', \'1\', 2, \'3\', \'2\', \'PI2015\', \'\', \'2015-06-05\', \'Levy\', \'\', \'9\', \'1.00000\', \'\', \'\', \'\')','purchasetransaction/saveCharge','0.019001007080078','2015-07-08 11:03:58'),(18826,2,2,'::1','insert','INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (105, \'2\', \'66\', \'1\', \'LEVY\', \'1168.48\', \'0\', \'23\', \'0\', \'1168.48\')','purchasetransaction/saveCharge','0.033001899719238','2015-07-08 11:03:58'),(18827,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1168.48\' WHERE `ID` =  105','purchasetransaction/saveCharge','0.013000965118408','2015-07-08 11:03:58'),(18828,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =105','purchasetransaction/saveCharge','0.016001224517822','2015-07-08 11:03:58'),(18829,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `projectID` = \'\', `termsID` = \'9\', `invoiceDate` = \'2015-06-05\', `memo` = \'\', `supplierInvoiceNo` = \'Levy\', `formNo` = \'PI2015\' WHERE `ID` =  \'105\'','purchasetransaction/update_purchaseInvoice_header','0','2015-07-08 11:05:33'),(18830,2,2,'::1','update','UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'66\', `chargeDescription` = \'LEVY (Resit Tiada)\', `amountExcludedTax` = \'1168.48\', `taxID` = \'23\', `taxRate` = \'0\', `taxAmount` = \'0\', `amountIncludedTax` = \'1168.48\' WHERE `ID` =  \'172\'','purchasetransaction/updateCharge','0.077004909515381','2015-07-08 11:16:55'),(18831,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1168.48\' WHERE `ID` =  \'105\'','purchasetransaction/updateCharge','0','2015-07-08 11:16:55'),(18832,2,2,'::1','update','Update comp_supplier_invoice set totalPayable = totalAmount  where id =105','purchasetransaction/updateCharge','0','2015-07-08 11:16:55'),(18833,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updatedBy` = \'2\', `totalTaxAmount` = 0, `totalPayable` = \'1168.48\' WHERE `ID` =  \'105\'','purchasetransaction/updateInvoice','0.017000913619995','2015-07-08 11:16:55'),(18834,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `updateAble` = \'0\' WHERE `ID` =  \'105\' AND `updateAble` =  1','Aptransaction/invoicePosting','0.0010001659393311','2015-07-08 11:17:22'),(18835,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 134 WHERE `ID` =  \'7\'','Aptransaction/invoicePosting','0','2015-07-08 11:17:22'),(18836,2,2,'::1','update','UPDATE `comp_supplier_invoice` SET `journalNo` = \'AP20150300000134\' WHERE `ID` =  \'105\'','Aptransaction/invoicePosting','0','2015-07-08 11:17:22'),(18837,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\', \'AP20150300000134\', \'PI2015[00000087]\', \'Purchase Invoice Confirm [ PI2015[00000087] ]\', \'3\', \'2015-06-05\', \'2015\', \'3\', 1168.48, 1168.48, \'2\')','Aptransaction/invoicePosting','0.051002979278564','2015-07-08 11:17:22'),(18838,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\', \'AP20150300000134\', 1, \'LEVY (Resit Tiada)\', \'36\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'1\', \'PI2015[00000087]\', NULL, \'2\')','Aptransaction/invoicePosting','0.042001962661743','2015-07-08 11:17:22'),(18839,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, \'AP20150300000134\', \'LEVY (Resit Tiada)\', \'66\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'1\', \'PI2015[00000087]\', NULL, \'2\')','Aptransaction/invoicePosting','0.00099992752075195','2015-07-08 11:17:22'),(18840,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1168.48, `total_amount_cr` = 1168.48, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000134\'','Aptransaction/invoicePosting','0.01200008392334','2015-07-08 11:17:22'),(18841,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\', \'60800\', \'69\', \'PP20150708\', \'3\', \'1\', \'1.00000\', \'2015-06-05\', \'RHB 000337\', 0, \'\', \'\', \'0.00\', \'60800.00\', \'60800.00\', \'-0.00\', \'\', \'2\')','aptransaction/saveSupplierPayment','0.1470091342926','2015-07-08 11:27:30'),(18842,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 78,1,ID,totalAmount, totalPayable  ,0.00,4350.00,2 from comp_supplier_invoice where ID=93','aptransaction/saveSupplierPayment','0.024000883102417','2015-07-08 11:27:30'),(18843,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 4350.00, totalPayable = totalAmount - amountPaid  where ID = 93','aptransaction/saveSupplierPayment','0.014001131057739','2015-07-08 11:27:30'),(18844,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 78,2,ID,totalAmount, totalPayable  ,0.00,14796.52,2 from comp_supplier_invoice where ID=94','aptransaction/saveSupplierPayment','0.016000986099243','2015-07-08 11:27:30'),(18845,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 14796.52, totalPayable = totalAmount - amountPaid  where ID = 94','aptransaction/saveSupplierPayment','0','2015-07-08 11:27:30'),(18846,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 78,3,ID,totalAmount, totalPayable  ,0.00,26135.00,2 from comp_supplier_invoice where ID=95','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-08 11:27:30'),(18847,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 26135.00, totalPayable = totalAmount - amountPaid  where ID = 95','aptransaction/saveSupplierPayment','0.00099992752075195','2015-07-08 11:27:30'),(18848,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 78,4,ID,totalAmount, totalPayable  ,0.00,14350.00	,2 from comp_supplier_invoice where ID=96','aptransaction/saveSupplierPayment','0.002000093460083','2015-07-08 11:27:30'),(18849,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 14350.00	, totalPayable = totalAmount - amountPaid  where ID = 96','aptransaction/saveSupplierPayment','0','2015-07-08 11:27:30'),(18850,2,2,'::1','insert','insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 78,5,ID,totalAmount, totalPayable  ,0.00,1168.48	,2 from comp_supplier_invoice where ID=105','aptransaction/saveSupplierPayment','0.0010001659393311','2015-07-08 11:27:30'),(18851,2,2,'::1','update','update comp_supplier_invoice set amountPaid = amountPaid + 1168.48	, totalPayable = totalAmount - amountPaid  where ID = 105','aptransaction/saveSupplierPayment','0.022001981735229','2015-07-08 11:27:30'),(18852,2,2,'::1','update','UPDATE `comp_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'78\'','aptransaction/paymentPosting','0.0019998550415039','2015-07-08 11:28:38'),(18853,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 135 WHERE `ID` =  \'7\'','aptransaction/paymentPosting','0.00099992752075195','2015-07-08 11:28:38'),(18854,2,2,'::1','update','UPDATE `comp_payment` SET `journalNo` = \'AP20150300000135\' WHERE `ID` =  \'78\'','aptransaction/paymentPosting','0.084005117416382','2015-07-08 11:28:38'),(18855,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\', \'AP20150300000135\', \'PP20150708[00000073]\', \'Payment [ PP20150708[00000073] ]\', \'3\', \'2015-06-05\', \'2015\', \'3\', 60800, 60800, \'2\')','aptransaction/paymentPosting','0.066004037857056','2015-07-08 11:28:38'),(18856,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\', \'AP20150300000135\', 1, \'PI2015[00000077]\', \'130\', \'MY EG SDN. BHD.\', 26135, \'1\', \'1\', \'26135\', \'3\', \'2015\', \'3\', \'PP20150708[00000078]\', \'2\')','aptransaction/paymentPosting','0.15000796318054','2015-07-08 11:28:38'),(18857,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, \'AP20150300000135\', \'PI2015[00000077]\', \'36\', \'MY EG SDN. BHD.\', 26135, \'1\', \'1\', \'26135\', \'3\', \'2015\', \'PP20150708[00000078]\', \'3\', \'2\')','aptransaction/paymentPosting','0.024002075195312','2015-07-08 11:28:38'),(18858,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\', \'AP20150300000135\', 3, \'PI2015[00000078]\', \'130\', \'MY EG SDN. BHD.\', 14350, \'1\', \'1\', \'14350\', \'3\', \'2015\', \'4\', \'PP20150708[00000078]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-07-08 11:28:38'),(18859,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, \'AP20150300000135\', \'PI2015[00000078]\', \'36\', \'MY EG SDN. BHD.\', 14350, \'1\', \'1\', \'14350\', \'3\', \'2015\', \'PP20150708[00000078]\', \'4\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-07-08 11:28:38'),(18860,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\', \'AP20150300000135\', 5, \'PI2015[00000087]\', \'130\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'5\', \'PP20150708[00000078]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-07-08 11:28:38'),(18861,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, \'AP20150300000135\', \'PI2015[00000087]\', \'36\', \'MY EG SDN. BHD.\', 1168.48, \'1\', \'1\', \'1168.48\', \'3\', \'2015\', \'PP20150708[00000078]\', \'5\', \'2\')','aptransaction/paymentPosting','0.017000913619995','2015-07-08 11:28:38'),(18862,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\', \'AP20150300000135\', 7, \'PI2015[00000075]\', \'130\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'1\', \'PP20150708[00000078]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-07-08 11:28:38'),(18863,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\', 8, \'AP20150300000135\', \'PI2015[00000075]\', \'36\', \'MY EG SDN. BHD.\', 4350, \'1\', \'1\', \'4350\', \'3\', \'2015\', \'PP20150708[00000078]\', \'1\', \'2\')','aptransaction/paymentPosting','0.016001224517822','2015-07-08 11:28:38'),(18864,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\', \'AP20150300000135\', 9, \'PI2015[00000076]\', \'130\', \'MY EG SDN. BHD.\', 14796.52, \'1\', \'1\', \'14796.52\', \'3\', \'2015\', \'2\', \'PP20150708[00000078]\', \'2\')','aptransaction/paymentPosting','0.016000986099243','2015-07-08 11:28:38'),(18865,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\', 10, \'AP20150300000135\', \'PI2015[00000076]\', \'36\', \'MY EG SDN. BHD.\', 14796.52, \'1\', \'1\', \'14796.52\', \'3\', \'2015\', \'PP20150708[00000078]\', \'2\', \'2\')','aptransaction/paymentPosting','0.017000913619995','2015-07-08 11:28:38'),(18866,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 60800, `total_amount_cr` = 60800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000135\'','aptransaction/paymentPosting','0.014000177383423','2015-07-08 11:28:38'),(18867,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'739\'','Gltransaction/journalPosting','0.051002979278564','2015-07-08 11:28:52'),(18868,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000117\'','Gltransaction/journalPosting','0.17001008987427','2015-07-08 11:28:52'),(18869,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.29601693153381','2015-07-08 11:28:52'),(18870,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.056002855300903','2015-07-08 11:28:52'),(18871,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'740\'','Gltransaction/journalPosting','0.01400089263916','2015-07-08 11:28:53'),(18872,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000118\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:53'),(18873,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-08 11:28:53'),(18874,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 11:28:53'),(18875,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:53'),(18876,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'8\', \'65\', \'2015\', \'3\', \'63\', \'0\', 63, \'2\', \'2015-07-08: 05:07:52\')','Gltransaction/journalPosting','0.022002220153809','2015-07-08 11:28:53'),(18877,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-07-08 11:28:53'),(18878,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'8\', \'124\', \'2015\', \'3\', \'86.32\', \'0\', 86.32, \'2\', \'2015-07-08: 05:07:52\')','Gltransaction/journalPosting','0.012001037597656','2015-07-08 11:28:53'),(18879,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-07-08 11:28:53'),(18880,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'8\', \'126\', \'2015\', \'3\', \'137.2\', \'0\', 137.2, \'2\', \'2015-07-08: 05:07:53\')','Gltransaction/journalPosting','0.019001007080078','2015-07-08 11:28:53'),(18881,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'741\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:53'),(18882,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000119\'','Gltransaction/journalPosting','0.029000997543335','2015-07-08 11:28:53');
INSERT INTO `logg_bak` VALUES (18883,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.03200101852417','2015-07-08 11:28:53'),(18884,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.050002813339233','2015-07-08 11:28:53'),(18885,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'742\'','Gltransaction/journalPosting','0.036002159118652','2015-07-08 11:28:53'),(18886,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000120\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:53'),(18887,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 11:28:53'),(18888,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 11:28:53'),(18889,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'756\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:54'),(18890,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000134\'','Gltransaction/journalPosting','0.033000946044922','2015-07-08 11:28:54'),(18891,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.032000780105591','2015-07-08 11:28:54'),(18892,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'66\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.041002988815308','2015-07-08 11:28:54'),(18893,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'757\'','Gltransaction/journalPosting','0.057003974914551','2015-07-08 11:28:54'),(18894,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000135\'','Gltransaction/journalPosting','0.088005065917969','2015-07-08 11:28:54'),(18895,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-08 11:28:54'),(18896,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 11:28:54'),(18897,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:54'),(18898,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 11:28:54'),(18899,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 11:28:54'),(18900,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-08 11:28:54'),(18901,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-08 11:28:54'),(18902,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-07-08 11:28:54'),(18903,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 11:28:54'),(18904,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0059998035430908','2015-07-08 11:28:54'),(18905,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'*from daily collection\', \'2\', \'2\', \'68\', \'1770\', \'ORI20150708\', \'2015-04-10\', \'cash collection\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.25601506233215','2015-07-08 12:09:08'),(18906,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (1, \'2\', \'Petty Cash\', \'1\', \'25\', \'1650\', \'1650\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.091005086898804','2015-07-08 12:09:08'),(18907,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'1\', \'2\', \'2\', \'Petty Cash\', \'25\', \'120\', \'120\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.07100510597229','2015-07-08 12:10:46'),(18908,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'1\'','gltransaction/otherreceiveposting','0.0090010166168213','2015-07-08 13:27:59'),(18909,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 139 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0090010166168213','2015-07-08 13:27:59'),(18910,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000139\' WHERE `ID` =  \'1\'','gltransaction/otherreceiveposting','0.046003103256226','2015-07-08 13:27:59'),(18911,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\', \'AR20150100000139\', \'ORI20150708[00000001]\', \' [ ORI20150708[00000001] ]\', \'2\', \'2015-04-10\', \'2015\', \'1\', \'1770\', \'1770\', \'2\')','gltransaction/otherreceiveposting','0.082005023956299','2015-07-08 13:27:59'),(18912,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\', \'AR20150100000139\', 1, \'Petty Cash\', \'25\', \'PETTY CASH\', 1650, 1, 1, \'1650\', \'1\', \'2015\', NULL, \'ORI20150708[00000001]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.1120069026947','2015-07-08 13:27:59'),(18913,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, \'AR20150100000139\', \'Petty Cash\', \'130\', \'PETTY CASH\', 1650, 1, 1, \'1650\', \'1\', \'2015\', \'ORI20150708[00000001]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.019001007080078','2015-07-08 13:27:59'),(18914,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\', \'AR20150100000139\', 3, \'Petty Cash\', \'25\', \'PETTY CASH\', 120, 1, 1, \'120\', \'1\', \'2015\', NULL, \'ORI20150708[00000001]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.030002117156982','2015-07-08 13:27:59'),(18915,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\', 4, \'AR20150100000139\', \'Petty Cash\', \'130\', \'PETTY CASH\', 120, 1, 1, \'120\', \'1\', \'2015\', \'ORI20150708[00000001]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 13:27:59'),(18916,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1770, `total_amount_cr` = 1770, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000139\'','gltransaction/otherreceiveposting','0.010999917984009','2015-07-08 13:27:59'),(18917,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'758\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-08 13:28:18'),(18918,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000139\'','Gltransaction/journalPosting','0.08300518989563','2015-07-08 13:28:18'),(18919,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.053003072738647','2015-07-08 13:28:18'),(18920,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.021000862121582','2015-07-08 13:28:18'),(18921,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 13:28:18'),(18922,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 13:28:18'),(18923,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'*from daily petty cash\', \'2\', \'2\', \'68\', \'19150\', \'ORI20150708\', \'2015-05-06\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.75904393196106','2015-07-08 14:56:36'),(18924,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (2, \'2\', \'From Daily Petty Cash\', \'1\', \'25\', \'19150\', \'19150\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.096004962921143','2015-07-08 14:56:36'),(18925,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash\', \'2\', \'2\', \'68\', \'15900\', \'ORI20150708\', \'2015-05-07\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.020001173019409','2015-07-08 15:01:57'),(18926,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (3, \'2\', \'From Daily Petty Cash\', \'1\', \'25\', \'15900\', \'15900\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-08 15:01:57'),(18927,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash\', \'2\', \'2\', \'68\', \'7950\', \'ORI20150708\', \'2015-05-08\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.0090010166168213','2015-07-08 15:06:17'),(18928,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (4, \'2\', \'From Daily Petty Cash\', \'1\', \'25\', \'7950\', \'7950\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.021001100540161','2015-07-08 15:06:17'),(18929,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\', \'7950\', \'ORI20150708\', \'2015-05-11\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.035001993179321','2015-07-08 15:08:44'),(18930,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (5, \'2\', \'From daily petty cash\', \'1\', \'25\', \'7950\', \'7950\', \'\', \'\', \'0\')','gltransaction/savenewotherreveive','0.01200008392334','2015-07-08 15:08:44'),(18931,2,2,'::1','update','UPDATE `comp_receive_payment_others_detail` SET `updatedBy` = \'2\', `description` = \'From daily petty cash\', `accountNoID` = \'25\', `amountIncludedTax` = \'7950\', `amountExcludedTax` = \'7950\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'6\'','gltransaction/updOtherRecieveRow','0.055002927780151','2015-07-08 15:09:43'),(18932,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.017000913619995','2015-07-08 15:11:18'),(18933,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 175 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.015001058578491','2015-07-08 15:11:18'),(18934,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000175\' WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.012000799179077','2015-07-08 15:11:18'),(18935,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\', \'AR20150200000175\', \'ORI20150708[00000005]\', \' [ ORI20150708[00000005] ]\', \'2\', \'2015-05-11\', \'2015\', \'2\', \'7950\', \'7950\', \'2\')','gltransaction/otherreceiveposting','0.12000703811646','2015-07-08 15:11:18'),(18936,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\', \'AR20150200000175\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', NULL, \'ORI20150708[00000005]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.10000610351562','2015-07-08 15:11:18'),(18937,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, \'AR20150200000175\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', \'ORI20150708[00000005]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:11:18'),(18938,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7950, `total_amount_cr` = 7950, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000175\'','gltransaction/otherreceiveposting','0.028000831604004','2015-07-08 15:11:18'),(18939,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'4\'','gltransaction/otherreceiveposting','0.056002855300903','2015-07-08 15:11:19'),(18940,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 176 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:11:19'),(18941,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000176\' WHERE `ID` =  \'4\'','gltransaction/otherreceiveposting','0.027000904083252','2015-07-08 15:11:19'),(18942,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\', \'AR20150200000176\', \'ORI20150708[00000004]\', \' [ ORI20150708[00000004] ]\', \'2\', \'2015-05-08\', \'2015\', \'2\', \'7950\', \'7950\', \'2\')','gltransaction/otherreceiveposting','0.012001037597656','2015-07-08 15:11:19'),(18943,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\', \'AR20150200000176\', 1, \'From Daily Petty Cash\', \'25\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', NULL, \'ORI20150708[00000004]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.038002014160156','2015-07-08 15:11:19'),(18944,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, \'AR20150200000176\', \'From Daily Petty Cash\', \'130\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', \'ORI20150708[00000004]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.010000944137573','2015-07-08 15:11:19'),(18945,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7950, `total_amount_cr` = 7950, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000176\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:11:19'),(18946,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'3\'','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-08 15:11:19'),(18947,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 177 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0','2015-07-08 15:11:19'),(18948,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000177\' WHERE `ID` =  \'3\'','gltransaction/otherreceiveposting','0.012001037597656','2015-07-08 15:11:19'),(18949,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\', \'AR20150200000177\', \'ORI20150708[00000003]\', \' [ ORI20150708[00000003] ]\', \'2\', \'2015-05-07\', \'2015\', \'2\', \'15900\', \'15900\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:11:19'),(18950,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\', \'AR20150200000177\', 1, \'From Daily Petty Cash\', \'25\', \'PETTY CASH\', 15900, 1, 1, \'15900\', \'2\', \'2015\', NULL, \'ORI20150708[00000003]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:11:19'),(18951,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, \'AR20150200000177\', \'From Daily Petty Cash\', \'130\', \'PETTY CASH\', 15900, 1, 1, \'15900\', \'2\', \'2015\', \'ORI20150708[00000003]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.016000986099243','2015-07-08 15:11:19'),(18952,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 15900, `total_amount_cr` = 15900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000177\'','gltransaction/otherreceiveposting','0.012001037597656','2015-07-08 15:11:19'),(18953,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:11:19'),(18954,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 178 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0','2015-07-08 15:11:19'),(18955,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000178\' WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0099999904632568','2015-07-08 15:11:19'),(18956,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\', \'AR20150200000178\', \'ORI20150708[00000002]\', \' [ ORI20150708[00000002] ]\', \'2\', \'2015-05-06\', \'2015\', \'2\', \'19150\', \'19150\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-08 15:11:19'),(18957,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\', \'AR20150200000178\', 1, \'From Daily Petty Cash\', \'25\', \'PETTY CASH\', 19150, 1, 1, \'19150\', \'2\', \'2015\', NULL, \'ORI20150708[00000002]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:11:19'),(18958,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, \'AR20150200000178\', \'From Daily Petty Cash\', \'130\', \'PETTY CASH\', 19150, 1, 1, \'19150\', \'2\', \'2015\', \'ORI20150708[00000002]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0069999694824219','2015-07-08 15:11:19'),(18959,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 19150, `total_amount_cr` = 19150, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000178\'','gltransaction/otherreceiveposting','0.021001100540161','2015-07-08 15:11:19'),(18960,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'759\'','Gltransaction/journalPosting','0.0099999904632568','2015-07-08 15:11:49'),(18961,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000175\'','Gltransaction/journalPosting','0.11800694465637','2015-07-08 15:11:49'),(18962,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.062002897262573','2015-07-08 15:11:49'),(18963,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:49'),(18964,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'760\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 15:11:50'),(18965,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000176\'','Gltransaction/journalPosting','0.024001836776733','2015-07-08 15:11:50'),(18966,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.0079998970031738','2015-07-08 15:11:50'),(18967,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.022001981735229','2015-07-08 15:11:50'),(18968,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'761\'','Gltransaction/journalPosting','0.012001037597656','2015-07-08 15:11:50'),(18969,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000177\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-08 15:11:50'),(18970,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:50'),(18971,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:50'),(18972,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'762\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-08 15:11:50'),(18973,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000178\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:50'),(18974,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:50'),(18975,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:11:50'),(18976,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash (for 11/5)\', \'2\', \'2\', \'68\', \'1000\', \'ORI20150708\', \'2015-05-11\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.055002927780151','2015-07-08 15:45:52'),(18977,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (6, \'2\', \'From daily petty cash\', \'1\', \'25\', \'1000\', \'1000\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0260009765625','2015-07-08 15:45:52'),(18978,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash (for 11/5)\', \'2\', \'2\', \'68\', \'13380\', \'ORI20150708\', \'2015-05-12\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.056002855300903','2015-07-08 15:49:19'),(18979,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (7, \'2\', \'From daily petty cash\', \'1\', \'25\', \'13380\', \'13380\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.002000093460083','2015-07-08 15:49:19'),(18980,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 12/5/15\', \'2\', \'2\', \'68\', \'11650\', \'ORI20150708\', \'2015-05-13\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.047003030776978','2015-07-08 15:56:06'),(18981,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (8, \'2\', \'From daily petty cash\', \'1\', \'25\', \'11650\', \'11650\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.11400604248047','2015-07-08 15:56:06'),(18982,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 13/5/15\', \'2\', \'2\', \'68\', \'5300\', \'ORI20150708\', \'2015-05-14\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.0080010890960693','2015-07-08 15:58:10'),(18983,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (9, \'2\', \'From daily petty cash\', \'1\', \'25\', \'5300\', \'5300\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0','2015-07-08 15:58:10'),(18984,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'9\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:59:16'),(18985,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 179 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.02000093460083','2015-07-08 15:59:16'),(18986,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000179\' WHERE `ID` =  \'9\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:59:16'),(18987,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\', \'AR20150200000179\', \'ORI20150708[00000009]\', \' [ ORI20150708[00000009] ]\', \'2\', \'2015-05-14\', \'2015\', \'2\', \'5300\', \'5300\', \'2\')','gltransaction/otherreceiveposting','0.046003103256226','2015-07-08 15:59:16'),(18988,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\', \'AR20150200000179\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 5300, 1, 1, \'5300\', \'2\', \'2015\', NULL, \'ORI20150708[00000009]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.035001993179321','2015-07-08 15:59:16'),(18989,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, \'AR20150200000179\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 5300, 1, 1, \'5300\', \'2\', \'2015\', \'ORI20150708[00000009]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-08 15:59:16'),(18990,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5300, `total_amount_cr` = 5300, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000179\'','gltransaction/otherreceiveposting','0.034002065658569','2015-07-08 15:59:16'),(18991,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-08 15:59:16'),(18992,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 180 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:16'),(18993,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000180\' WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0','2015-07-08 15:59:16'),(18994,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\', \'AR20150200000180\', \'ORI20150708[00000008]\', \' [ ORI20150708[00000008] ]\', \'2\', \'2015-05-13\', \'2015\', \'2\', \'11650\', \'11650\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:16'),(18995,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\', \'AR20150200000180\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 11650, 1, 1, \'11650\', \'2\', \'2015\', NULL, \'ORI20150708[00000008]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-08 15:59:16'),(18996,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, \'AR20150200000180\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 11650, 1, 1, \'11650\', \'2\', \'2015\', \'ORI20150708[00000008]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-08 15:59:16'),(18997,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 11650, `total_amount_cr` = 11650, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000180\'','gltransaction/otherreceiveposting','0.0080001354217529','2015-07-08 15:59:16'),(18998,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'7\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-08 15:59:17'),(18999,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 181 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-08 15:59:17'),(19000,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000181\' WHERE `ID` =  \'7\'','gltransaction/otherreceiveposting','0','2015-07-08 15:59:17'),(19001,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\', \'AR20150200000181\', \'ORI20150708[00000007]\', \' [ ORI20150708[00000007] ]\', \'2\', \'2015-05-12\', \'2015\', \'2\', \'13380\', \'13380\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:59:17'),(19002,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\', \'AR20150200000181\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 13380, 1, 1, \'13380\', \'2\', \'2015\', NULL, \'ORI20150708[00000007]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:17'),(19003,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, \'AR20150200000181\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 13380, 1, 1, \'13380\', \'2\', \'2015\', \'ORI20150708[00000007]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-08 15:59:17'),(19004,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 13380, `total_amount_cr` = 13380, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000181\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:17'),(19005,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'6\'','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-08 15:59:17'),(19006,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 182 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0','2015-07-08 15:59:17'),(19007,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000182\' WHERE `ID` =  \'6\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:17'),(19008,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\', \'AR20150200000182\', \'ORI20150708[00000006]\', \' [ ORI20150708[00000006] ]\', \'2\', \'2015-05-11\', \'2015\', \'2\', \'1000\', \'1000\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-08 15:59:17'),(19009,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\', \'AR20150200000182\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 1000, 1, 1, \'1000\', \'2\', \'2015\', NULL, \'ORI20150708[00000006]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.022001028060913','2015-07-08 15:59:17'),(19010,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, \'AR20150200000182\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 1000, 1, 1, \'1000\', \'2\', \'2015\', \'ORI20150708[00000006]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-08 15:59:17'),(19011,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000182\'','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-08 15:59:17'),(19012,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'763\'','Gltransaction/journalPosting','0.021001100540161','2015-07-08 15:59:35'),(19013,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000179\'','Gltransaction/journalPosting','0.11900687217712','2015-07-08 15:59:35'),(19014,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.43802499771118','2015-07-08 15:59:35'),(19015,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 15:59:35'),(19016,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'764\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19017,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000180\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19018,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-08 15:59:35'),(19019,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19020,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'765\'','Gltransaction/journalPosting','0.023000955581665','2015-07-08 15:59:35'),(19021,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000181\'','Gltransaction/journalPosting','0.002000093460083','2015-07-08 15:59:35'),(19022,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-08 15:59:35'),(19023,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19024,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'766\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19025,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000182\'','Gltransaction/journalPosting','0.014001131057739','2015-07-08 15:59:35'),(19026,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.019001007080078','2015-07-08 15:59:35'),(19027,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-08 15:59:35'),(19028,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* for daily petty cash dated 18/5/15\', \'2\', \'2\', \'68\', \'1800\', \'ORI20150709\', \'2015-05-16\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.30401706695557','2015-07-09 12:03:03'),(19029,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (10, \'2\', \'Petty Cash\', \'1\', \'25\', \'1800\', \'1800\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.093005180358887','2015-07-09 12:03:03'),(19030,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 18/5/15\', \'2\', \'2\', \'68\', \'14000\', \'ORI20150709\', \'2015-05-19\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.014001131057739','2015-07-09 12:06:27'),(19031,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (11, \'2\', \'From daily petty cash\', \'1\', \'25\', \'14000\', \'14000\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.026001930236816','2015-07-09 12:06:27'),(19032,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'11\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-09 12:09:48'),(19033,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 183 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.016000986099243','2015-07-09 12:09:48'),(19034,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000183\' WHERE `ID` =  \'11\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-09 12:09:48'),(19035,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\', \'AR20150200000183\', \'ORI20150709[00000011]\', \' [ ORI20150709[00000011] ]\', \'2\', \'2015-05-19\', \'2015\', \'2\', \'14000\', \'14000\', \'2\')','gltransaction/otherreceiveposting','0.12400722503662','2015-07-09 12:09:48'),(19036,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\', \'AR20150200000183\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 14000, 1, 1, \'14000\', \'2\', \'2015\', NULL, \'ORI20150709[00000011]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.071003913879395','2015-07-09 12:09:48'),(19037,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, \'AR20150200000183\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 14000, 1, 1, \'14000\', \'2\', \'2015\', \'ORI20150709[00000011]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.013000011444092','2015-07-09 12:09:48'),(19038,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 14000, `total_amount_cr` = 14000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000183\'','gltransaction/otherreceiveposting','0.022001981735229','2015-07-09 12:09:48'),(19039,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'10\'','gltransaction/otherreceiveposting','0.02000093460083','2015-07-09 12:09:49'),(19040,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 184 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-09 12:09:49'),(19041,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000184\' WHERE `ID` =  \'10\'','gltransaction/otherreceiveposting','0.015001058578491','2015-07-09 12:09:49'),(19042,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\', \'AR20150200000184\', \'ORI20150709[00000010]\', \' [ ORI20150709[00000010] ]\', \'2\', \'2015-05-16\', \'2015\', \'2\', \'1800\', \'1800\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-09 12:09:49'),(19043,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\', \'AR20150200000184\', 1, \'Petty Cash\', \'25\', \'PETTY CASH\', 1800, 1, 1, \'1800\', \'2\', \'2015\', NULL, \'ORI20150709[00000010]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.02000093460083','2015-07-09 12:09:49'),(19044,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, \'AR20150200000184\', \'Petty Cash\', \'130\', \'PETTY CASH\', 1800, 1, 1, \'1800\', \'2\', \'2015\', \'ORI20150709[00000010]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 12:09:49'),(19045,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1800, `total_amount_cr` = 1800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000184\'','gltransaction/otherreceiveposting','0.011000871658325','2015-07-09 12:09:49'),(19046,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'767\'','Gltransaction/journalPosting','0.017000913619995','2015-07-09 12:10:12'),(19047,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000183\'','Gltransaction/journalPosting','0.092005014419556','2015-07-09 12:10:12'),(19048,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.086004972457886','2015-07-09 12:10:12'),(19049,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.028002023696899','2015-07-09 12:10:12'),(19050,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'768\'','Gltransaction/journalPosting','0.036001920700073','2015-07-09 12:10:13'),(19051,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000184\'','Gltransaction/journalPosting','0.023002147674561','2015-07-09 12:10:13'),(19052,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.043001890182495','2015-07-09 12:10:13'),(19053,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-09 12:10:13'),(19054,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 30/4/15\', \'2\', \'2\', \'68\', \'13330\', \'ORI20150709\', \'2015-05-05\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.046003103256226','2015-07-09 12:16:03'),(19055,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (12, \'2\', \'From daily petty cash \', \'1\', \'25\', \'13330\', \'13330\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.044003009796143','2015-07-09 12:16:03'),(19056,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.017001152038574','2015-07-09 12:17:11'),(19057,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 185 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 12:17:11'),(19058,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000185\' WHERE `ID` =  \'12\'','gltransaction/otherreceiveposting','0.010000944137573','2015-07-09 12:17:11'),(19059,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\', \'AR20150200000185\', \'ORI20150709[00000012]\', \' [ ORI20150709[00000012] ]\', \'2\', \'2015-05-05\', \'2015\', \'2\', \'13330\', \'13330\', \'2\')','gltransaction/otherreceiveposting','0.050003051757812','2015-07-09 12:17:11'),(19060,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\', \'AR20150200000185\', 1, \'From daily petty cash \', \'25\', \'PETTY CASH\', 13330, 1, 1, \'13330\', \'2\', \'2015\', NULL, \'ORI20150709[00000012]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.12900710105896','2015-07-09 12:17:11'),(19061,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, \'AR20150200000185\', \'From daily petty cash \', \'130\', \'PETTY CASH\', 13330, 1, 1, \'13330\', \'2\', \'2015\', \'ORI20150709[00000012]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0020010471343994','2015-07-09 12:17:11'),(19062,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 13330, `total_amount_cr` = 13330, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000185\'','gltransaction/otherreceiveposting','0.018000841140747','2015-07-09 12:17:11'),(19063,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'769\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-09 12:20:22'),(19064,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000185\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-09 12:20:22'),(19065,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.11900687217712','2015-07-09 12:20:22'),(19066,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-09 12:20:22'),(19067,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 (L)\', \'\', \'W167\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-07-09\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.22001194953918','2015-07-09 14:42:06'),(19068,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, \'190\', \'INV2015\', \'2015-05-19\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'500\', \'500\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.58803296089172','2015-07-09 14:55:22'),(19069,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (243, \'1\', \'2\', \'58\', \'BALANCE OF SERVICE FEE\', \'471.7\', \'2\', \'6\', \'28.3\', \'500\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.21201205253601','2015-07-09 14:55:22'),(19070,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'28.3\', `totalAmount` = \'500\' WHERE `ID` =  243','Artransaction/saveNewDirectSaleInvoiceCharges','0.0080001354217529','2015-07-09 14:55:22'),(19071,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 186 WHERE `ID` =  \'5\'','artransaction/directInvoicePosting','0.0099999904632568','2015-07-09 14:57:31'),(19072,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150200000186\', `updateAble` = \'0\' WHERE `ID` =  \'243\'','artransaction/directInvoicePosting','0.011001110076904','2015-07-09 14:57:31'),(19073,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\', \'AR20150200000186\', \'INV2015[00000172]\', \'Posting Direct Sales Invoices [ INV2015[00000172] ]\', \'2\', \'2015-05-19\', \'2015\', \'2\', 500, 500, \'2\')','artransaction/directInvoicePosting','0.096005916595459','2015-07-09 14:57:31'),(19074,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, \'AR20150200000186\', \'BALANCE OF SERVICE FEE\', \'20\', \'AHMAD (L)\', 471.7, \'1\', \'1\', \'471.7\', \'2\', \'2015\', \'1\', \'INV2015[00000172]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0610032081604','2015-07-09 14:57:31'),(19075,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\', \'AR20150200000186\', 2, \'BALANCE OF SERVICE FEE\', \'58\', \'AHMAD (L)\', 471.7, \'1\', \'1\', \'471.7\', \'2\', \'2015\', \'1\', \'INV2015[00000172]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-07-09 14:57:31'),(19076,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, \'AR20150200000186\', \'BALANCE OF SERVICE FEE\', \'20\', \'AHMAD (L)\', 28.3, \'1\', \'1\', \'28.3\', \'2\', \'2015\', \'1\', \'INV2015[00000172]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-07-09 14:57:31'),(19077,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, \'AR20150200000186\', \'BALANCE OF SERVICE FEE\', \'40\', \'AHMAD (L)\', 28.3, \'1\', \'1\', \'28.3\', \'2\', \'2015\', \'1\', \'INV2015[00000172]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-09 14:57:31'),(19078,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 500, `total_amount_cr` = 500, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000186\'','artransaction/directInvoicePosting','0.023001909255981','2015-07-09 14:57:32'),(19079,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\', \'190\', \'\', \'\', \'RP20150709\', \'2015-05-19\', \'3\', 0, \'500\', \'121\', \'bank statement\', \'0\', \'0\', \'0\', \'500\')','arTransaction/saveNewReceivePayment','0.084004878997803','2015-07-09 14:58:49'),(19080,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 225, \'243\', \'0\', \'500\')','arTransaction/saveNewReceivePayment','0.064002990722656','2015-07-09 14:58:49'),(19081,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'243\'','arTransaction/saveNewReceivePayment','0.021001815795898','2015-07-09 14:58:49'),(19082,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'225\' AND `updateAble` =  1','artransaction/paymentPosting','0.027001857757568','2015-07-09 14:59:43'),(19083,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 187 WHERE `ID` =  \'5\'','artransaction/paymentPosting','0.023000955581665','2015-07-09 14:59:43'),(19084,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150200000187\' WHERE `ID` =  \'225\'','artransaction/paymentPosting','0.013000965118408','2015-07-09 14:59:43'),(19085,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\', \'AR20150200000187\', \'RP20150709[00000156]\', \'Posting Received Payment [ RP20150709[00000156] ]\', \'2\', \'2015-05-19\', \'2015\', \'2\', 500, 500, \'2\')','artransaction/paymentPosting','0.018001079559326','2015-07-09 14:59:43'),(19086,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\', \'AR20150200000187\', 1, \'AHMAD (L)\', \'20\', 500, 1, \'1\', \'500\', \'2\', \'2015\', \'1\', \'RP20150709[00000156]\', \'2\')','artransaction/paymentPosting','0.0010001659393311','2015-07-09 14:59:43'),(19087,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, \'AR20150200000187\', \'AHMAD (L)\', \'130\', 500, 1, \'1\', \'500\', \'2\', \'2015\', \'1\', \'RP20150709[00000156]\', \'2\')','artransaction/paymentPosting','0.018001079559326','2015-07-09 14:59:43'),(19088,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'770\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-09 15:00:15'),(19089,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000186\'','Gltransaction/journalPosting','0.09700608253479','2015-07-09 15:00:15'),(19090,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.055002927780151','2015-07-09 15:00:15'),(19091,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.015001058578491','2015-07-09 15:00:15'),(19092,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.021001100540161','2015-07-09 15:00:15'),(19093,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'2\'','Gltransaction/journalPosting','0.0090000629425049','2015-07-09 15:00:15'),(19094,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'771\'','Gltransaction/journalPosting','0.017001152038574','2015-07-09 15:00:16'),(19095,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000187\'','Gltransaction/journalPosting','0.016000986099243','2015-07-09 15:00:16'),(19096,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.003000020980835','2015-07-09 15:00:16'),(19097,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.021002054214478','2015-07-09 15:00:16'),(19098,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 19/5/15\', \'2\', \'2\', \'68\', \'2450\', \'ORI20150709\', \'2015-05-20\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.82404685020447','2015-07-09 16:01:53'),(19099,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (13, \'2\', \'From daily petty cash \', \'1\', \'25\', \'2450\', \'2450\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.14100790023804','2015-07-09 16:01:53'),(19100,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'13\'','gltransaction/otherreceiveposting','0.065003871917725','2015-07-09 16:02:52'),(19101,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 188 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.020002126693726','2015-07-09 16:02:52'),(19102,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000188\' WHERE `ID` =  \'13\'','gltransaction/otherreceiveposting','0.041001796722412','2015-07-09 16:02:52'),(19103,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\', \'AR20150200000188\', \'ORI20150709[00000013]\', \' [ ORI20150709[00000013] ]\', \'2\', \'2015-05-20\', \'2015\', \'2\', \'2450\', \'2450\', \'2\')','gltransaction/otherreceiveposting','0.13500809669495','2015-07-09 16:02:52'),(19104,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\', \'AR20150200000188\', 1, \'From daily petty cash \', \'25\', \'PETTY CASH\', 2450, 1, 1, \'2450\', \'2\', \'2015\', NULL, \'ORI20150709[00000013]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.20101189613342','2015-07-09 16:02:52'),(19105,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, \'AR20150200000188\', \'From daily petty cash \', \'130\', \'PETTY CASH\', 2450, 1, 1, \'2450\', \'2\', \'2015\', \'ORI20150709[00000013]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:02:53'),(19106,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2450, `total_amount_cr` = 2450, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000188\'','gltransaction/otherreceiveposting','0.078004121780396','2015-07-09 16:02:53'),(19107,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'772\'','Gltransaction/journalPosting','0.018001079559326','2015-07-09 16:03:11'),(19108,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000188\'','Gltransaction/journalPosting','0.21801209449768','2015-07-09 16:03:11'),(19109,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.095005035400391','2015-07-09 16:03:11'),(19110,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.002000093460083','2015-07-09 16:03:11'),(19111,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 20/5/15\', \'2\', \'2\', \'68\', \'7950\', \'ORI20150709\', \'2015-05-21\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.04200291633606','2015-07-09 16:05:45'),(19112,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (14, \'2\', \'From daily petty cash\', \'1\', \'25\', \'7950\', \'7950\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.018001079559326','2015-07-09 16:05:45'),(19113,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'14\'','gltransaction/otherreceiveposting','0.023001909255981','2015-07-09 16:06:26'),(19114,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 189 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.013001203536987','2015-07-09 16:06:26'),(19115,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000189\' WHERE `ID` =  \'14\'','gltransaction/otherreceiveposting','0.010000944137573','2015-07-09 16:06:26'),(19116,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\', \'AR20150200000189\', \'ORI20150709[00000014]\', \' [ ORI20150709[00000014] ]\', \'2\', \'2015-05-21\', \'2015\', \'2\', \'7950\', \'7950\', \'2\')','gltransaction/otherreceiveposting','0.027001142501831','2015-07-09 16:06:26'),(19117,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\', \'AR20150200000189\', 1, \'From daily petty cash\', \'25\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', NULL, \'ORI20150709[00000014]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.013000011444092','2015-07-09 16:06:26'),(19118,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, \'AR20150200000189\', \'From daily petty cash\', \'130\', \'PETTY CASH\', 7950, 1, 1, \'7950\', \'2\', \'2015\', \'ORI20150709[00000014]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-09 16:06:26'),(19119,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7950, `total_amount_cr` = 7950, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000189\'','gltransaction/otherreceiveposting','0.026001930236816','2015-07-09 16:06:26'),(19120,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 21/5/15\', \'2\', \'2\', \'68\', \'2549.3\', \'ORI20150709\', \'2015-05-22\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.023000955581665','2015-07-09 16:09:12'),(19121,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (15, \'2\', \'from daily petty cash\', \'1\', \'25\', \'2549.3\', \'2549.3\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-09 16:09:12'),(19122,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'15\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-09 16:09:22'),(19123,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 190 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:09:22'),(19124,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000190\' WHERE `ID` =  \'15\'','gltransaction/otherreceiveposting','0.0080001354217529','2015-07-09 16:09:22'),(19125,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\', \'AR20150200000190\', \'ORI20150709[00000015]\', \' [ ORI20150709[00000015] ]\', \'2\', \'2015-05-22\', \'2015\', \'2\', \'2549.3\', \'2549.3\', \'2\')','gltransaction/otherreceiveposting','0.0050010681152344','2015-07-09 16:09:22'),(19126,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\', \'AR20150200000190\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 2549.3, 1, 1, \'2549.3\', \'2\', \'2015\', NULL, \'ORI20150709[00000015]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:09:22'),(19127,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, \'AR20150200000190\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 2549.3, 1, 1, \'2549.3\', \'2\', \'2015\', \'ORI20150709[00000015]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:09:22'),(19128,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2549.3, `total_amount_cr` = 2549.3, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000190\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:09:22'),(19129,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 9/7/15\', \'2\', \'2\', \'68\', \'3400\', \'ORI20150709\', \'2015-05-25\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.035001993179321','2015-07-09 16:13:30'),(19130,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (16, \'2\', \'from daily petty cash\', \'1\', \'25\', \'3400\', \'3400\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.022000789642334','2015-07-09 16:13:30'),(19131,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'16\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-09 16:14:24'),(19132,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 191 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-09 16:14:24'),(19133,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000191\' WHERE `ID` =  \'16\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-09 16:14:24'),(19134,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\', \'AR20150200000191\', \'ORI20150709[00000016]\', \' [ ORI20150709[00000016] ]\', \'2\', \'2015-05-25\', \'2015\', \'2\', \'3400\', \'3400\', \'2\')','gltransaction/otherreceiveposting','0.04200291633606','2015-07-09 16:14:24'),(19135,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\', \'AR20150200000191\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 3400, 1, 1, \'3400\', \'2\', \'2015\', NULL, \'ORI20150709[00000016]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.045001983642578','2015-07-09 16:14:24'),(19136,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, \'AR20150200000191\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 3400, 1, 1, \'3400\', \'2\', \'2015\', \'ORI20150709[00000016]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-09 16:14:24'),(19137,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 3400, `total_amount_cr` = 3400, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000191\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-09 16:14:24'),(19138,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'773\'','Gltransaction/journalPosting','0.18200993537903','2015-07-09 16:14:39'),(19139,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000189\'','Gltransaction/journalPosting','0.29101705551147','2015-07-09 16:14:39'),(19140,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.33301901817322','2015-07-09 16:14:39'),(19141,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.12800812721252','2015-07-09 16:14:39'),(19142,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'774\'','Gltransaction/journalPosting','0.044003009796143','2015-07-09 16:14:40'),(19143,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000190\'','Gltransaction/journalPosting','0.038002014160156','2015-07-09 16:14:40'),(19144,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.032001972198486','2015-07-09 16:14:40'),(19145,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.041002035140991','2015-07-09 16:14:40'),(19146,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'775\'','Gltransaction/journalPosting','0.083004951477051','2015-07-09 16:14:40'),(19147,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000191\'','Gltransaction/journalPosting','0.050002098083496','2015-07-09 16:14:40'),(19148,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.056004047393799','2015-07-09 16:14:40'),(19149,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.04000186920166','2015-07-09 16:14:40'),(19150,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 25/5/15\', \'2\', \'2\', \'68\', \'13050\', \'ORI20150710\', \'2015-05-26\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.33801889419556','2015-07-10 09:56:50'),(19151,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (17, \'2\', \'from daily petty cash \', \'1\', \'25\', \'13050\', \'13050\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.046003103256226','2015-07-10 09:56:50'),(19152,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 26/5/15\', \'2\', \'2\', \'68\', \'3200\', \'ORI20150710\', \'2015-05-27\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.01200008392334','2015-07-10 10:08:10'),(19153,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (18, \'2\', \'from daily petty cash \', \'1\', \'25\', \'3200\', \'3200\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0','2015-07-10 10:08:10'),(19154,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 27/5/15\', \'2\', \'2\', \'68\', \'15400\', \'ORI20150710\', \'2015-05-28\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.039001941680908','2015-07-10 10:39:31'),(19155,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (19, \'2\', \' from daily petty cash\', \'1\', \'25\', \'15400\', \'15400\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-10 10:39:31'),(19156,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\' *from daily petty cash dated 28/5/15\', \'2\', \'2\', \'68\', \'250\', \'ORI20150710\', \'2015-05-29\', \'bank statement\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.0090000629425049','2015-07-10 10:41:56'),(19157,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (20, \'2\', \' from daily petty cash\', \'1\', \'25\', \'250\', \'250\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0080010890960693','2015-07-10 10:41:56'),(19158,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'20\'','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 10:42:25'),(19159,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 192 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.025001049041748','2015-07-10 10:42:25'),(19160,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000192\' WHERE `ID` =  \'20\'','gltransaction/otherreceiveposting','0.024001121520996','2015-07-10 10:42:25'),(19161,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\', \'AR20150200000192\', \'ORI20150710[00000020]\', \' [ ORI20150710[00000020] ]\', \'2\', \'2015-05-29\', \'2015\', \'2\', \'250\', \'250\', \'2\')','gltransaction/otherreceiveposting','0.11000609397888','2015-07-10 10:42:25'),(19162,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\', \'AR20150200000192\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 250, 1, 1, \'250\', \'2\', \'2015\', NULL, \'ORI20150710[00000020]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.044002056121826','2015-07-10 10:42:25'),(19163,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, \'AR20150200000192\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 250, 1, 1, \'250\', \'2\', \'2015\', \'ORI20150710[00000020]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.021001815795898','2015-07-10 10:42:25'),(19164,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 250, `total_amount_cr` = 250, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000192\'','gltransaction/otherreceiveposting','0.01200008392334','2015-07-10 10:42:25'),(19165,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'19\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 10:42:25'),(19166,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 193 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.039003133773804','2015-07-10 10:42:25'),(19167,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000193\' WHERE `ID` =  \'19\'','gltransaction/otherreceiveposting','0.032001972198486','2015-07-10 10:42:25'),(19168,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\', \'AR20150200000193\', \'ORI20150710[00000019]\', \' [ ORI20150710[00000019] ]\', \'2\', \'2015-05-28\', \'2015\', \'2\', \'15400\', \'15400\', \'2\')','gltransaction/otherreceiveposting','0.003000020980835','2015-07-10 10:42:25'),(19169,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\', \'AR20150200000193\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 15400, 1, 1, \'15400\', \'2\', \'2015\', NULL, \'ORI20150710[00000019]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 10:42:25'),(19170,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, \'AR20150200000193\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 15400, 1, 1, \'15400\', \'2\', \'2015\', \'ORI20150710[00000019]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 10:42:25'),(19171,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 15400, `total_amount_cr` = 15400, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000193\'','gltransaction/otherreceiveposting','0.026002168655396','2015-07-10 10:42:25'),(19172,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'18\'','gltransaction/otherreceiveposting','0.0090007781982422','2015-07-10 10:42:26'),(19173,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 194 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.026001930236816','2015-07-10 10:42:26'),(19174,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000194\' WHERE `ID` =  \'18\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 10:42:26'),(19175,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\', \'AR20150200000194\', \'ORI20150710[00000018]\', \' [ ORI20150710[00000018] ]\', \'2\', \'2015-05-27\', \'2015\', \'2\', \'3200\', \'3200\', \'2\')','gltransaction/otherreceiveposting','0.041002035140991','2015-07-10 10:42:26'),(19176,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\', \'AR20150200000194\', 1, \'from daily petty cash \', \'25\', \'PETTY CASH\', 3200, 1, 1, \'3200\', \'2\', \'2015\', NULL, \'ORI20150710[00000018]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 10:42:26'),(19177,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, \'AR20150200000194\', \'from daily petty cash \', \'130\', \'PETTY CASH\', 3200, 1, 1, \'3200\', \'2\', \'2015\', \'ORI20150710[00000018]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-10 10:42:26'),(19178,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 3200, `total_amount_cr` = 3200, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000194\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 10:42:26'),(19179,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'17\'','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-10 10:42:26'),(19180,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 195 WHERE `ID` =  \'5\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 10:42:26'),(19181,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150200000195\' WHERE `ID` =  \'17\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 10:42:26'),(19182,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\', \'AR20150200000195\', \'ORI20150710[00000017]\', \' [ ORI20150710[00000017] ]\', \'2\', \'2015-05-26\', \'2015\', \'2\', \'13050\', \'13050\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 10:42:26'),(19183,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\', \'AR20150200000195\', 1, \'from daily petty cash \', \'25\', \'PETTY CASH\', 13050, 1, 1, \'13050\', \'2\', \'2015\', NULL, \'ORI20150710[00000017]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 10:42:26'),(19184,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, \'AR20150200000195\', \'from daily petty cash \', \'130\', \'PETTY CASH\', 13050, 1, 1, \'13050\', \'2\', \'2015\', \'ORI20150710[00000017]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 10:42:26'),(19185,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 13050, `total_amount_cr` = 13050, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000195\'','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-10 10:42:26'),(19186,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'776\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19187,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000192\'','Gltransaction/journalPosting','0.061004161834717','2015-07-10 10:43:01'),(19188,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.06200385093689','2015-07-10 10:43:01'),(19189,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 10:43:01'),(19190,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'777\'','Gltransaction/journalPosting','0.014000177383423','2015-07-10 10:43:01'),(19191,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000193\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19192,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19193,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 10:43:01'),(19194,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'778\'','Gltransaction/journalPosting','0.014001131057739','2015-07-10 10:43:01'),(19195,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000194\'','Gltransaction/journalPosting','0','2015-07-10 10:43:01'),(19196,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19197,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0','2015-07-10 10:43:01'),(19198,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'779\'','Gltransaction/journalPosting','0.015000820159912','2015-07-10 10:43:01'),(19199,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150200000195\'','Gltransaction/journalPosting','0.005000114440918','2015-07-10 10:43:01'),(19200,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19201,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'2\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 10:43:01'),(19202,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\' from daily petty cash dated 29/4/15\', \'2\', \'2\', \'68\', \'300\', \'ORI20150710\', \'2015-04-30\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.50602889060974','2015-07-10 11:59:41'),(19203,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (21, \'2\', \' from daily petty cash\', \'1\', \'25\', \'300\', \'300\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.049003124237061','2015-07-10 11:59:41'),(19204,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 28/4/15\', \'2\', \'2\', \'68\', \'5300\', \'ORI20150710\', \'2015-04-30\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.013000965118408','2015-07-10 12:03:22'),(19205,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (22, \'2\', \' from daily petty cash\', \'1\', \'25\', \'5200\', \'5200\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.002000093460083','2015-07-10 12:03:22'),(19206,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'22\', \'2\', \'2\', \' from daily petty cash\', \'25\', \'100\', \'100\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.049002885818481','2015-07-10 12:03:41'),(19207,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 27/4/15\', \'2\', \'2\', \'68\', \'4800\', \'ORI20150710\', \'2015-04-30\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.012001037597656','2015-07-10 12:06:38'),(19208,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (23, \'2\', \' from daily petty cash\', \'1\', \'25\', \'4800\', \'4800\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-10 12:06:38'),(19209,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 24/4/15\', \'2\', \'2\', \'68\', \'5300\', \'ORI20150710\', \'2015-04-27\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.030000925064087','2015-07-10 12:08:52'),(19210,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (24, \'2\', \' from daily petty cash\', \'1\', \'25\', \'5300\', \'5300\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.019001960754395','2015-07-10 12:08:52'),(19211,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\', \'MAKASYA FIRDA (M) SDN BHD\', \'\', \'M. FIRDA\', \'PUSAT USAHAWAN MARA NEGERI SEMBILAN, ARAS 3\', \'BANGUNAN SEREMBAN PLAZA JALAN DATO\\\' MUDA LINGGI \', \'SEREMBAN\', \'\', \'70100\', \'1925\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'000806993920\', \'\', 0, \'2015-07-10\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.13600778579712','2015-07-10 12:44:30'),(19212,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, \'191\', \'INV2015\', \'2015-04-24\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.17000913619995','2015-07-10 12:46:15'),(19213,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (244, \'1\', \'2\', \'59\', \'LEVY - 1 Indo\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.063004016876221','2015-07-10 12:46:15'),(19214,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  244','Artransaction/saveNewDirectSaleInvoiceCharges','0','2015-07-10 12:46:15'),(19215,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'244\', \'2\', \'2\', \'59\', \'LEVY - 4 Bangladesh\', \'5820\', \'8\', \'0\', \'0\', \'5820\')','Artransaction/saveNewSaleDetailOnlyCharges','0.018001079559326','2015-07-10 12:47:38'),(19216,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'7270\', `totalReceivable` = \'7270\' WHERE `ID` =  \'244\'','Artransaction/saveNewSaleDetailOnlyCharges','0.0080010890960693','2015-07-10 12:47:38'),(19217,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'244\', \'3\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'340\', \'8\', \'0\', \'0\', \'340\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001028060913','2015-07-10 12:48:14'),(19218,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'7610\', `totalReceivable` = \'7610\' WHERE `ID` =  \'244\'','Artransaction/saveNewSaleDetailOnlyCharges','0.027002096176147','2015-07-10 12:48:14'),(19219,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'244\', \'4\', \'2\', \'122\', \'FWCS (Foreign Worker Compensation Scheme)\', \'636\', \'8\', \'0\', \'0\', \'636\')','Artransaction/saveNewSaleDetailOnlyCharges','0.016000986099243','2015-07-10 12:50:10'),(19220,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'8246\', `totalReceivable` = \'8246\' WHERE `ID` =  \'244\'','Artransaction/saveNewSaleDetailOnlyCharges','0.029001951217651','2015-07-10 12:50:10'),(19221,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'244\', \'5\', \'2\', \'123\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'636\', \'8\', \'0\', \'0\', \'636\')','Artransaction/saveNewSaleDetailOnlyCharges','0.021001100540161','2015-07-10 12:51:08'),(19222,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'8882\', `totalReceivable` = \'8882\' WHERE `ID` =  \'244\'','Artransaction/saveNewSaleDetailOnlyCharges','0.018001079559326','2015-07-10 12:51:08'),(19223,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `customerPoNo` = \'\', `termsID` = \'9\', `projectID` = \'\', `salesInvoiceDate` = \'2015-04-24\', `memo` = \'\', `customerID` = \'191\', `shipToID` = \'0\', `formNo` = \'INV2015\' WHERE `ID` =  \'244\'','Artransaction/update_saleInvoice_header','0.0010011196136475','2015-07-10 12:53:23'),(19224,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'122\', `chargeDescription` = \'FWCS (Foreign Worker Compensation Scheme)\', `amountExcludedTax` = \'381.5\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\', `amountIncludedTax` = \'381.5\' WHERE `ID` =  \'951\'','Artransaction/updateCharge','0.031002044677734','2015-07-10 12:53:47'),(19225,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'8627.5\', `totalReceivable` = \'8627.5\' WHERE `ID` =  \'244\'','Artransaction/updateCharge','0.002000093460083','2015-07-10 12:53:47'),(19226,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'244\', \'6\', \'2\', \'58\', \'SERVICE FEE\', \'4130\', \'2\', \'6\', \'247.8\', \'4377.8\')','Artransaction/saveNewSaleDetailOnlyCharges','0.022001028060913','2015-07-10 12:56:07'),(19227,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'247.8\', `totalAmount` = \'13005.3\', `totalReceivable` = \'13005.3\' WHERE `ID` =  \'244\'','Artransaction/saveNewSaleDetailOnlyCharges','0.034002065658569','2015-07-10 12:56:07'),(19228,2,2,'::1','update','UPDATE `comp_sales_invoice_charges` SET `updatedBy` = \'2\', `accountNoID` = \'58\', `chargeDescription` = \'SERVICE FEE\', `amountExcludedTax` = \'4125\', `taxID` = \'2\', `taxRate` = \'6\', `taxAmount` = \'247.5\', `amountIncludedTax` = \'4372.5\' WHERE `ID` =  \'953\'','Artransaction/updateCharge','0.049001932144165','2015-07-10 12:56:24'),(19229,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'247.5\', `totalAmount` = \'13000\', `totalReceivable` = \'13000\' WHERE `ID` =  \'244\'','Artransaction/updateCharge','0.029001951217651','2015-07-10 12:56:24'),(19230,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 140 WHERE `ID` =  \'2\'','artransaction/directInvoicePosting','0.0090010166168213','2015-07-10 12:57:46'),(19231,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150100000140\', `updateAble` = \'0\' WHERE `ID` =  \'244\'','artransaction/directInvoicePosting','0.022002220153809','2015-07-10 12:57:46'),(19232,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\', \'AR20150100000140\', \'INV2015[00000173]\', \'Posting Direct Sales Invoices [ INV2015[00000173] ]\', \'2\', \'2015-04-24\', \'2015\', \'1\', 13000, 13000, \'2\')','artransaction/directInvoicePosting','0.087005138397217','2015-07-10 12:57:46'),(19233,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, \'AR20150100000140\', \'LEVY - 1 Indo\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 1450, \'1\', \'1\', \'1450\', \'1\', \'2015\', \'1\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.044002056121826','2015-07-10 12:57:46'),(19234,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\', \'AR20150100000140\', 2, \'LEVY - 1 Indo\', \'59\', \'MAKASYA FIRDA (M) SDN BHD\', 1450, \'1\', \'1\', \'1450\', \'1\', \'2015\', \'1\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.01400089263916','2015-07-10 12:57:46'),(19235,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, \'AR20150100000140\', \'LEVY - 4 Bangladesh\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 5820, \'1\', \'1\', \'5820\', \'1\', \'2015\', \'2\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.027002096176147','2015-07-10 12:57:46'),(19236,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\', \'AR20150100000140\', 4, \'LEVY - 4 Bangladesh\', \'59\', \'MAKASYA FIRDA (M) SDN BHD\', 5820, \'1\', \'1\', \'5820\', \'1\', \'2015\', \'2\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-10 12:57:46'),(19237,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, \'AR20150100000140\', \'IG (Insurance Guarantee)\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 340, \'1\', \'1\', \'340\', \'1\', \'2015\', \'3\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0039999485015869','2015-07-10 12:57:46'),(19238,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\', \'AR20150100000140\', 6, \'IG (Insurance Guarantee)\', \'121\', \'MAKASYA FIRDA (M) SDN BHD\', 340, \'1\', \'1\', \'340\', \'1\', \'2015\', \'3\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-07-10 12:57:46'),(19239,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, \'AR20150100000140\', \'FWCS (Foreign Worker Compensation Scheme)\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 381.5, \'1\', \'1\', \'381.5\', \'1\', \'2015\', \'4\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-07-10 12:57:46'),(19240,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\', \'AR20150100000140\', 8, \'FWCS (Foreign Worker Compensation Scheme)\', \'122\', \'MAKASYA FIRDA (M) SDN BHD\', 381.5, \'1\', \'1\', \'381.5\', \'1\', \'2015\', \'4\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-10 12:57:46'),(19241,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, \'AR20150100000140\', \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 636, \'1\', \'1\', \'636\', \'1\', \'2015\', \'5\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-07-10 12:57:47'),(19242,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\', \'AR20150100000140\', 10, \'FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)\', \'123\', \'MAKASYA FIRDA (M) SDN BHD\', 636, \'1\', \'1\', \'636\', \'1\', \'2015\', \'5\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-10 12:57:47'),(19243,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, \'AR20150100000140\', \'SERVICE FEE\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 4125, \'1\', \'1\', \'4125\', \'1\', \'2015\', \'6\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.017000913619995','2015-07-10 12:57:47'),(19244,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\', \'AR20150100000140\', 12, \'SERVICE FEE\', \'58\', \'MAKASYA FIRDA (M) SDN BHD\', 4125, \'1\', \'1\', \'4125\', \'1\', \'2015\', \'6\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-07-10 12:57:47'),(19245,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\', 13, \'AR20150100000140\', \'SERVICE FEE\', \'20\', \'MAKASYA FIRDA (M) SDN BHD\', 247.5, \'1\', \'1\', \'247.5\', \'1\', \'2015\', \'6\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.029000997543335','2015-07-10 12:57:47'),(19246,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\', 14, \'AR20150100000140\', \'SERVICE FEE\', \'40\', \'MAKASYA FIRDA (M) SDN BHD\', 247.5, \'1\', \'1\', \'247.5\', \'1\', \'2015\', \'6\', \'INV2015[00000173]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0020010471343994','2015-07-10 12:57:47'),(19247,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 13000, `total_amount_cr` = 13000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000140\'','artransaction/directInvoicePosting','0.014999866485596','2015-07-10 12:57:47'),(19248,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\', \'191\', \'\', \'\', \'RP20150710\', \'2015-04-24\', \'3\', 0, \'5000\', \'69\', \'bank-in slip\', \'0\', \'0\', \'0\', \'5000\')','arTransaction/saveNewReceivePayment','0.041002035140991','2015-07-10 13:00:11'),(19249,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 226, \'244\', \'0\', \'5000\')','arTransaction/saveNewReceivePayment','0.095005035400391','2015-07-10 13:00:11'),(19250,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 8000 WHERE `ID` =  \'244\'','arTransaction/saveNewReceivePayment','0.016000986099243','2015-07-10 13:00:11'),(19251,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\', \'191\', \'\', \'\', \'RP20150710\', \'2015-06-17\', \'3\', 0, \'8000\', \'69\', \'PBB 068053\', \'0\', \'0\', \'0\', \'8000\')','arTransaction/saveNewReceivePayment','0.019001007080078','2015-07-10 13:06:58'),(19252,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 227, \'244\', \'0\', \'8000\')','arTransaction/saveNewReceivePayment','0.0010001659393311','2015-07-10 13:06:58'),(19253,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'244\'','arTransaction/saveNewReceivePayment','0.013000965118408','2015-07-10 13:06:58'),(19254,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'780\'','Gltransaction/journalPosting','0.023000955581665','2015-07-10 13:07:13'),(19255,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000140\'','Gltransaction/journalPosting','0.067003965377808','2015-07-10 13:07:13'),(19256,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.093005895614624','2015-07-10 13:07:13'),(19257,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 13:07:13'),(19258,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0260009765625','2015-07-10 13:07:13'),(19259,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.013000965118408','2015-07-10 13:07:13'),(19260,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0060009956359863','2015-07-10 13:07:13'),(19261,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 13:07:13'),(19262,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 13:07:13'),(19263,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 13:07:13'),(19264,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 13:07:13'),(19265,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0030009746551514','2015-07-10 13:07:13'),(19266,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 13:07:13'),(19267,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.012001037597656','2015-07-10 13:07:13'),(19268,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 13:07:13'),(19269,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'1\'','Gltransaction/journalPosting','0.02000093460083','2015-07-10 13:07:13'),(19270,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'226\' AND `updateAble` =  1','artransaction/paymentPosting','0.00099992752075195','2015-07-10 13:07:52'),(19271,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 141 WHERE `ID` =  \'2\'','artransaction/paymentPosting','0.00099992752075195','2015-07-10 13:07:52'),(19272,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150100000141\' WHERE `ID` =  \'226\'','artransaction/paymentPosting','0.00099992752075195','2015-07-10 13:07:52'),(19273,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\', \'AR20150100000141\', \'RP20150710[00000157]\', \'Posting Received Payment [ RP20150710[00000157] ]\', \'2\', \'2015-04-24\', \'2015\', \'1\', 5000, 5000, \'2\')','artransaction/paymentPosting','0.04000186920166','2015-07-10 13:07:52'),(19274,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\', \'AR20150100000141\', 1, \'MAKASYA FIRDA (M) SDN BHD\', \'20\', 5000, 1, \'1\', \'5000\', \'1\', \'2015\', \'1\', \'RP20150710[00000157]\', \'2\')','artransaction/paymentPosting','0.034002065658569','2015-07-10 13:07:52'),(19275,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, \'AR20150100000141\', \'MAKASYA FIRDA (M) SDN BHD\', \'130\', 5000, 1, \'1\', \'5000\', \'1\', \'2015\', \'1\', \'RP20150710[00000157]\', \'2\')','artransaction/paymentPosting','0.002000093460083','2015-07-10 13:07:52'),(19276,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'227\' AND `updateAble` =  1','artransaction/paymentPosting','0.011000871658325','2015-07-10 13:07:59'),(19277,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 152 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.0040009021759033','2015-07-10 13:07:59'),(19278,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000152\' WHERE `ID` =  \'227\'','artransaction/paymentPosting','0.0060000419616699','2015-07-10 13:07:59'),(19279,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\', \'AR20150300000152\', \'RP20150710[00000158]\', \'Posting Received Payment [ RP20150710[00000158] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', 8000, 8000, \'2\')','artransaction/paymentPosting','0.0039999485015869','2015-07-10 13:07:59'),(19280,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\', \'AR20150300000152\', 1, \'MAKASYA FIRDA (M) SDN BHD\', \'20\', 8000, 1, \'1\', \'8000\', \'3\', \'2015\', \'1\', \'RP20150710[00000158]\', \'2\')','artransaction/paymentPosting','0.00099992752075195','2015-07-10 13:07:59'),(19281,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, \'AR20150300000152\', \'MAKASYA FIRDA (M) SDN BHD\', \'130\', 8000, 1, \'1\', \'8000\', \'3\', \'2015\', \'1\', \'RP20150710[00000158]\', \'2\')','artransaction/paymentPosting','0.0020010471343994','2015-07-10 13:07:59'),(19282,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'782\'','Gltransaction/journalPosting','0.019001007080078','2015-07-10 13:08:13'),(19283,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000152\'','Gltransaction/journalPosting','0.047003030776978','2015-07-10 13:08:13'),(19284,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.077003955841064','2015-07-10 13:08:13'),(19285,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.014999866485596','2015-07-10 13:08:13'),(19286,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'781\'','Gltransaction/journalPosting','0.0079998970031738','2015-07-10 13:08:19'),(19287,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000141\'','Gltransaction/journalPosting','0.013000965118408','2015-07-10 13:08:19'),(19288,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.024000883102417','2015-07-10 13:08:19'),(19289,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 13:08:19'),(19290,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 23/4/15\', \'2\', \'2\', \'68\', \'7050\', \'ORI20150710\', \'2015-04-24\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.14600896835327','2015-07-10 13:21:12'),(19291,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (25, \'2\', \'from daily petty cash\', \'1\', \'25\', \'7050\', \'7050\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.024000883102417','2015-07-10 13:21:12'),(19292,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 22/4/15\', \'2\', \'2\', \'68\', \'5850\', \'ORI20150710\', \'2015-04-23\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.059002876281738','2015-07-10 13:55:53'),(19293,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (26, \'2\', \'from daily petty cash\', \'1\', \'25\', \'5850\', \'5850\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.059003829956055','2015-07-10 13:55:53'),(19294,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 21/4/15\', \'2\', \'2\', \'68\', \'10073\', \'ORI20150710\', \'2015-04-22\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.013001203536987','2015-07-10 13:58:14'),(19295,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (27, \'2\', \'from daily petty cash\', \'1\', \'25\', \'10073\', \'10073\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-10 13:58:14'),(19296,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 20/4/15\', \'2\', \'2\', \'68\', \'15900\', \'ORI20150710\', \'2015-04-21\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.011000156402588','2015-07-10 13:59:59'),(19297,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (28, \'2\', \'from daily petty cash\', \'1\', \'25\', \'15900\', \'15900\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-10 13:59:59'),(19298,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 17/4/15\', \'2\', \'2\', \'68\', \'5700\', \'ORI20150710\', \'2015-04-20\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.011999845504761','2015-07-10 14:03:32'),(19299,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (29, \'2\', \'from daily petty cash\', \'1\', \'25\', \'5700\', \'5700\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0080010890960693','2015-07-10 14:03:32'),(19300,2,2,'::1','update','UPDATE `comp_receive_payment_others_detail` SET `updatedBy` = \'2\', `description` = \'from daily petty cash\', `accountNoID` = \'25\', `amountIncludedTax` = \'5700\', `amountExcludedTax` = \'5700\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'31\'','gltransaction/updOtherRecieveRow','0.038002014160156','2015-07-10 14:04:29'),(19301,2,2,'::1','update','UPDATE `comp_receive_payment_others_detail` SET `updatedBy` = \'2\', `description` = \'from daily petty cash\', `accountNoID` = \'25\', `amountIncludedTax` = \'1600\', `amountExcludedTax` = \'1600\', `taxID` = \'0\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'31\'','gltransaction/updOtherRecieveRow','0.027002096176147','2015-07-10 14:04:38'),(19302,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'29\', \'2\', \'2\', \'from daily petty cash\', \'25\', \'1450\', \'1450\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.013000011444092','2015-07-10 14:05:00'),(19303,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'29\', \'2\', \'3\', \'from daily petty cash\', \'25\', \'2650\', \'2650\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.029000997543335','2015-07-10 14:05:21'),(19304,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 16/4/15\', \'2\', \'2\', \'68\', \'1748.5\', \'ORI20150710\', \'2015-04-17\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.046002149581909','2015-07-10 14:07:45'),(19305,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (30, \'2\', \'from daily petty cash\', \'1\', \'25\', \'1748.5\', \'1748.5\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-10 14:07:45'),(19306,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others` (`memo`, `companyID`, `createdBy`, `paymentMethodID`, `totalReceived`, `formNo`, `receivePaymentDate`, `referenceNo`, `receiveFrom`, `bankId`, `projectID`) VALUES (\'* from daily petty cash dated 15/4/15\', \'2\', \'2\', \'68\', \'4900\', \'ORI20150710\', \'2015-04-17\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.027002096176147','2015-07-10 14:10:58'),(19307,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (31, \'2\', \'from daily petty cash\', \'1\', \'25\', \'4900\', \'4900\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0019998550415039','2015-07-10 14:10:58'),(19308,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'31\'','gltransaction/otherreceiveposting','0.013001203536987','2015-07-10 14:11:37'),(19309,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 142 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.021002054214478','2015-07-10 14:11:37'),(19310,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000142\' WHERE `ID` =  \'31\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 14:11:37'),(19311,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\', \'AR20150100000142\', \'ORI20150710[00000031]\', \' [ ORI20150710[00000031] ]\', \'2\', \'2015-04-17\', \'2015\', \'1\', \'4900\', \'4900\', \'2\')','gltransaction/otherreceiveposting','0.11100578308105','2015-07-10 14:11:37'),(19312,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\', \'AR20150100000142\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 4900, 1, 1, \'4900\', \'1\', \'2015\', NULL, \'ORI20150710[00000031]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.081005096435547','2015-07-10 14:11:37'),(19313,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, \'AR20150100000142\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 4900, 1, 1, \'4900\', \'1\', \'2015\', \'ORI20150710[00000031]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19314,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4900, `total_amount_cr` = 4900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000142\'','gltransaction/otherreceiveposting','0.019001007080078','2015-07-10 14:11:37'),(19315,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'30\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19316,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 143 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19317,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000143\' WHERE `ID` =  \'30\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19318,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\', \'AR20150100000143\', \'ORI20150710[00000030]\', \' [ ORI20150710[00000030] ]\', \'2\', \'2015-04-17\', \'2015\', \'1\', \'1748.5\', \'1748.5\', \'2\')','gltransaction/otherreceiveposting','0.022001028060913','2015-07-10 14:11:37'),(19319,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\', \'AR20150100000143\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 1748.5, 1, 1, \'1748.5\', \'1\', \'2015\', NULL, \'ORI20150710[00000030]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.003000020980835','2015-07-10 14:11:37'),(19320,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, \'AR20150100000143\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 1748.5, 1, 1, \'1748.5\', \'1\', \'2015\', \'ORI20150710[00000030]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 14:11:37'),(19321,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1748.5, `total_amount_cr` = 1748.5, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000143\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19322,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'29\'','gltransaction/otherreceiveposting','0.016001224517822','2015-07-10 14:11:37'),(19323,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 144 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.027000904083252','2015-07-10 14:11:37'),(19324,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000144\' WHERE `ID` =  \'29\'','gltransaction/otherreceiveposting','0.022001981735229','2015-07-10 14:11:37'),(19325,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\', \'AR20150100000144\', \'ORI20150710[00000029]\', \' [ ORI20150710[00000029] ]\', \'2\', \'2015-04-20\', \'2015\', \'1\', \'5700\', \'5700\', \'2\')','gltransaction/otherreceiveposting','0.005000114440918','2015-07-10 14:11:37'),(19326,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\', \'AR20150100000144\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 1600, 1, 1, \'1600\', \'1\', \'2015\', NULL, \'ORI20150710[00000029]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19327,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, \'AR20150100000144\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 1600, 1, 1, \'1600\', \'1\', \'2015\', \'ORI20150710[00000029]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 14:11:37'),(19328,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\', \'AR20150100000144\', 3, \'from daily petty cash\', \'25\', \'PETTY CASH\', 1450, 1, 1, \'1450\', \'1\', \'2015\', NULL, \'ORI20150710[00000029]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19329,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\', 4, \'AR20150100000144\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 1450, 1, 1, \'1450\', \'1\', \'2015\', \'ORI20150710[00000029]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:37'),(19330,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\', \'AR20150100000144\', 5, \'from daily petty cash\', \'25\', \'PETTY CASH\', 2650, 1, 1, \'2650\', \'1\', \'2015\', NULL, \'ORI20150710[00000029]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 14:11:37'),(19331,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\', 6, \'AR20150100000144\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 2650, 1, 1, \'2650\', \'1\', \'2015\', \'ORI20150710[00000029]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-10 14:11:37'),(19332,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5700, `total_amount_cr` = 5700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000144\'','gltransaction/otherreceiveposting','0.0039999485015869','2015-07-10 14:11:37'),(19333,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'28\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 14:11:37'),(19334,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 145 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0050010681152344','2015-07-10 14:11:37'),(19335,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000145\' WHERE `ID` =  \'28\'','gltransaction/otherreceiveposting','0.022001028060913','2015-07-10 14:11:37'),(19336,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\', \'AR20150100000145\', \'ORI20150710[00000028]\', \' [ ORI20150710[00000028] ]\', \'2\', \'2015-04-21\', \'2015\', \'1\', \'15900\', \'15900\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19337,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\', \'AR20150100000145\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 15900, 1, 1, \'15900\', \'1\', \'2015\', NULL, \'ORI20150710[00000028]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:37'),(19338,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, \'AR20150100000145\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 15900, 1, 1, \'15900\', \'1\', \'2015\', \'ORI20150710[00000028]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:37'),(19339,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 15900, `total_amount_cr` = 15900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000145\'','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 14:11:37'),(19340,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'27\'','gltransaction/otherreceiveposting','0.013000011444092','2015-07-10 14:11:38'),(19341,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 146 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0090000629425049','2015-07-10 14:11:38'),(19342,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000146\' WHERE `ID` =  \'27\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:38'),(19343,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\', \'AR20150100000146\', \'ORI20150710[00000027]\', \' [ ORI20150710[00000027] ]\', \'2\', \'2015-04-22\', \'2015\', \'1\', \'10073\', \'10073\', \'2\')','gltransaction/otherreceiveposting','0.030001163482666','2015-07-10 14:11:38'),(19344,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\', \'AR20150100000146\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 10073, 1, 1, \'10073\', \'1\', \'2015\', NULL, \'ORI20150710[00000027]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:38'),(19345,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, \'AR20150100000146\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 10073, 1, 1, \'10073\', \'1\', \'2015\', \'ORI20150710[00000027]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:38'),(19346,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 10073, `total_amount_cr` = 10073, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000146\'','gltransaction/otherreceiveposting','0.0030009746551514','2015-07-10 14:11:38'),(19347,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'26\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:38'),(19348,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 147 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-10 14:11:38'),(19349,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000147\' WHERE `ID` =  \'26\'','gltransaction/otherreceiveposting','0.030000925064087','2015-07-10 14:11:38'),(19350,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\', \'AR20150100000147\', \'ORI20150710[00000026]\', \' [ ORI20150710[00000026] ]\', \'2\', \'2015-04-23\', \'2015\', \'1\', \'5850\', \'5850\', \'2\')','gltransaction/otherreceiveposting','0.0070011615753174','2015-07-10 14:11:38'),(19351,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\', \'AR20150100000147\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 5850, 1, 1, \'5850\', \'1\', \'2015\', NULL, \'ORI20150710[00000026]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.016000986099243','2015-07-10 14:11:38'),(19352,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, \'AR20150100000147\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 5850, 1, 1, \'5850\', \'1\', \'2015\', \'ORI20150710[00000026]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:38'),(19353,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5850, `total_amount_cr` = 5850, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000147\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:38'),(19354,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'25\'','gltransaction/otherreceiveposting','0.013001203536987','2015-07-10 14:11:38'),(19355,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 148 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.052002906799316','2015-07-10 14:11:38'),(19356,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000148\' WHERE `ID` =  \'25\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-10 14:11:38'),(19357,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\', \'AR20150100000148\', \'ORI20150710[00000025]\', \' [ ORI20150710[00000025] ]\', \'2\', \'2015-04-24\', \'2015\', \'1\', \'7050\', \'7050\', \'2\')','gltransaction/otherreceiveposting','0.010000944137573','2015-07-10 14:11:38'),(19358,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\', \'AR20150100000148\', 1, \'from daily petty cash\', \'25\', \'PETTY CASH\', 7050, 1, 1, \'7050\', \'1\', \'2015\', NULL, \'ORI20150710[00000025]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:38'),(19359,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, \'AR20150100000148\', \'from daily petty cash\', \'130\', \'PETTY CASH\', 7050, 1, 1, \'7050\', \'1\', \'2015\', \'ORI20150710[00000025]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 14:11:38'),(19360,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7050, `total_amount_cr` = 7050, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000148\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:38'),(19361,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'24\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19362,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 149 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19363,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000149\' WHERE `ID` =  \'24\'','gltransaction/otherreceiveposting','0.043003082275391','2015-07-10 14:11:39'),(19364,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\', \'AR20150100000149\', \'ORI20150710[00000024]\', \' [ ORI20150710[00000024] ]\', \'2\', \'2015-04-27\', \'2015\', \'1\', \'5300\', \'5300\', \'2\')','gltransaction/otherreceiveposting','0.032001972198486','2015-07-10 14:11:39'),(19365,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\', \'AR20150100000149\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 5300, 1, 1, \'5300\', \'1\', \'2015\', NULL, \'ORI20150710[00000024]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.024000883102417','2015-07-10 14:11:39'),(19366,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, \'AR20150100000149\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 5300, 1, 1, \'5300\', \'1\', \'2015\', \'ORI20150710[00000024]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.013000965118408','2015-07-10 14:11:39'),(19367,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5300, `total_amount_cr` = 5300, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000149\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:39'),(19368,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'23\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19369,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 150 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:39'),(19370,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000150\' WHERE `ID` =  \'23\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19371,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\', \'AR20150100000150\', \'ORI20150710[00000023]\', \' [ ORI20150710[00000023] ]\', \'2\', \'2015-04-30\', \'2015\', \'1\', \'4800\', \'4800\', \'2\')','gltransaction/otherreceiveposting','0.019001007080078','2015-07-10 14:11:39'),(19372,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\', \'AR20150100000150\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 4800, 1, 1, \'4800\', \'1\', \'2015\', NULL, \'ORI20150710[00000023]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.034002065658569','2015-07-10 14:11:39'),(19373,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, \'AR20150100000150\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 4800, 1, 1, \'4800\', \'1\', \'2015\', \'ORI20150710[00000023]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.026002168655396','2015-07-10 14:11:39'),(19374,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 4800, `total_amount_cr` = 4800, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000150\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19375,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'22\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19376,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 151 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0','2015-07-10 14:11:39'),(19377,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000151\' WHERE `ID` =  \'22\'','gltransaction/otherreceiveposting','0','2015-07-10 14:11:39'),(19378,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\', \'AR20150100000151\', \'ORI20150710[00000022]\', \' [ ORI20150710[00000022] ]\', \'2\', \'2015-04-30\', \'2015\', \'1\', \'5300\', \'5300\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 14:11:39'),(19379,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\', \'AR20150100000151\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 5200, 1, 1, \'5200\', \'1\', \'2015\', NULL, \'ORI20150710[00000022]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-10 14:11:39'),(19380,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, \'AR20150100000151\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 5200, 1, 1, \'5200\', \'1\', \'2015\', \'ORI20150710[00000022]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-10 14:11:39'),(19381,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\', \'AR20150100000151\', 3, \' from daily petty cash\', \'25\', \'PETTY CASH\', 100, 1, 1, \'100\', \'1\', \'2015\', NULL, \'ORI20150710[00000022]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-10 14:11:39'),(19382,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\', 4, \'AR20150100000151\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 100, 1, 1, \'100\', \'1\', \'2015\', \'ORI20150710[00000022]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:39'),(19383,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5300, `total_amount_cr` = 5300, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000151\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:39'),(19384,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'21\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:40'),(19385,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 152 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 14:11:40'),(19386,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000152\' WHERE `ID` =  \'21\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 14:11:40'),(19387,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\', \'AR20150100000152\', \'ORI20150710[00000021]\', \' [ ORI20150710[00000021] ]\', \'2\', \'2015-04-30\', \'2015\', \'1\', \'300\', \'300\', \'2\')','gltransaction/otherreceiveposting','0.048002958297729','2015-07-10 14:11:40'),(19388,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\', \'AR20150100000152\', 1, \' from daily petty cash\', \'25\', \'PETTY CASH\', 300, 1, 1, \'300\', \'1\', \'2015\', NULL, \'ORI20150710[00000021]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.083004951477051','2015-07-10 14:11:40'),(19389,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, \'AR20150100000152\', \' from daily petty cash\', \'130\', \'PETTY CASH\', 300, 1, 1, \'300\', \'1\', \'2015\', \'ORI20150710[00000021]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.011000156402588','2015-07-10 14:11:40'),(19390,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 300, `total_amount_cr` = 300, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000152\'','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 14:11:40'),(19391,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'793\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 14:12:02'),(19392,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000152\'','Gltransaction/journalPosting','0.13200807571411','2015-07-10 14:12:02'),(19393,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.071003913879395','2015-07-10 14:12:02'),(19394,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.022001028060913','2015-07-10 14:12:02'),(19395,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'783\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19396,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000142\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19397,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 14:12:02'),(19398,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 14:12:02'),(19399,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'784\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 14:12:02'),(19400,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000143\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:02'),(19401,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:02'),(19402,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0','2015-07-10 14:12:02'),(19403,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'785\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:02'),(19404,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000144\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19405,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19406,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19407,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:02'),(19408,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:02'),(19409,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 14:12:02'),(19410,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010011196136475','2015-07-10 14:12:02'),(19411,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'786\'','Gltransaction/journalPosting','0.013000011444092','2015-07-10 14:12:03'),(19412,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000145\'','Gltransaction/journalPosting','0.010000944137573','2015-07-10 14:12:03'),(19413,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0090010166168213','2015-07-10 14:12:03'),(19414,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0060000419616699','2015-07-10 14:12:03'),(19415,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'787\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:03'),(19416,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000146\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19417,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.013000011444092','2015-07-10 14:12:03'),(19418,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-10 14:12:03'),(19419,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'788\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 14:12:03'),(19420,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000147\'','Gltransaction/journalPosting','0.024002075195312','2015-07-10 14:12:03'),(19421,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 14:12:03'),(19422,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0','2015-07-10 14:12:03'),(19423,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'789\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19424,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000148\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:03'),(19425,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19426,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-10 14:12:03'),(19427,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'790\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19428,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000149\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19429,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:03'),(19430,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 14:12:03'),(19431,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'791\'','Gltransaction/journalPosting','0.068004131317139','2015-07-10 14:12:04'),(19432,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000150\'','Gltransaction/journalPosting','0.036001920700073','2015-07-10 14:12:04'),(19433,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.038002014160156','2015-07-10 14:12:04'),(19434,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.037001848220825','2015-07-10 14:12:04'),(19435,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'792\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 14:12:04'),(19436,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000151\'','Gltransaction/journalPosting','0.025002002716064','2015-07-10 14:12:04'),(19437,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.02000093460083','2015-07-10 14:12:04'),(19438,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0080008506774902','2015-07-10 14:12:04'),(19439,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 14:12:04'),(19440,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 14:12:04'),(19441,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\', \'14080\', \'ORI20150710\', \'2015-04-15\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.72704076766968','2015-07-10 15:15:15'),(19442,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (32, \'2\', \'from daily petty cash 14/4/15\', \'1\', \'25\', \'5550\', \'5550\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.10200500488281','2015-07-10 15:15:15'),(19443,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'32\', \'2\', \'2\', \'from daily petty cash dated 14/4/15\', \'25\', \'8530\', \'8530\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.022001028060913','2015-07-10 15:16:01'),(19444,2,2,'::1','update','UPDATE `comp_receive_payment_others_detail` SET `updatedBy` = \'2\', `description` = \'from daily petty cash dated 14/4/15\', `accountNoID` = \'25\', `amountIncludedTax` = \'5550\', `amountExcludedTax` = \'5550\', `taxID` = \'8\', `taxRate` = \'0\', `taxAmount` = \'0\' WHERE `ID` =  \'36\'','gltransaction/updOtherRecieveRow','0.0010001659393311','2015-07-10 15:16:34'),(19445,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'32\'','gltransaction/otherreceiveposting','0.005000114440918','2015-07-10 15:17:05'),(19446,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 153 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:17:05'),(19447,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000153\' WHERE `ID` =  \'32\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-10 15:17:05'),(19448,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\', \'AR20150100000153\', \'ORI20150710[00000032]\', \' [ ORI20150710[00000032] ]\', \'2\', \'2015-04-15\', \'2015\', \'1\', \'14080\', \'14080\', \'2\')','gltransaction/otherreceiveposting','0.092005968093872','2015-07-10 15:17:05'),(19449,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\', \'AR20150100000153\', 1, \'from daily petty cash dated 14/4/15\', \'25\', \'PETTY CASH\', 5550, 1, 1, \'5550\', \'1\', \'2015\', NULL, \'ORI20150710[00000032]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.053002834320068','2015-07-10 15:17:05'),(19450,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, \'AR20150100000153\', \'from daily petty cash dated 14/4/15\', \'130\', \'PETTY CASH\', 5550, 1, 1, \'5550\', \'1\', \'2015\', \'ORI20150710[00000032]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.022001028060913','2015-07-10 15:17:05'),(19451,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\', \'AR20150100000153\', 3, \'from daily petty cash dated 14/4/15\', \'25\', \'PETTY CASH\', 8530, 1, 1, \'8530\', \'1\', \'2015\', NULL, \'ORI20150710[00000032]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 15:17:05'),(19452,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\', 4, \'AR20150100000153\', \'from daily petty cash dated 14/4/15\', \'130\', \'PETTY CASH\', 8530, 1, 1, \'8530\', \'1\', \'2015\', \'ORI20150710[00000032]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:17:05'),(19453,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 14080, `total_amount_cr` = 14080, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000153\'','gltransaction/otherreceiveposting','0.0059998035430908','2015-07-10 15:17:05'),(19454,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'794\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 15:17:24'),(19455,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000153\'','Gltransaction/journalPosting','0.054003000259399','2015-07-10 15:17:24'),(19456,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.06800389289856','2015-07-10 15:17:24'),(19457,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.043001890182495','2015-07-10 15:17:24'),(19458,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-10 15:17:24'),(19459,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0010011196136475','2015-07-10 15:17:24'),(19460,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\', \'8680\', \'ORI20150710\', \'2015-04-14\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.021002054214478','2015-07-10 15:19:51'),(19461,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (33, \'2\', \'from daily petty cash dated 13/4/15\', \'1\', \'25\', \'3330\', \'3330\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-10 15:19:51'),(19462,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'33\', \'2\', \'2\', \'from daily petty cash dated 13/4/15\', \'25\', \'5350\', \'5350\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.029001951217651','2015-07-10 15:20:20'),(19463,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\', \'8920\', \'ORI20150710\', \'2015-04-13\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.039002180099487','2015-07-10 15:21:51'),(19464,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (34, \'2\', \'from daily petty cash dated 10/4/15\', \'1\', \'25\', \'350\', \'350\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0019998550415039','2015-07-10 15:21:51'),(19465,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'34\', \'2\', \'2\', \'from daily petty cash dated 10/4/15\', \'25\', \'8570\', \'8570\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.016000986099243','2015-07-10 15:22:40'),(19466,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\', \'1770\', \'ORI20150710\', \'2015-04-10\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.023001909255981','2015-07-10 15:24:46'),(19467,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (35, \'2\', \'from daily petty cash dated 9/4/15\', \'1\', \'25\', \'1650\', \'1650\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.010999917984009','2015-07-10 15:24:46'),(19468,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `lineNo`, `description`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'35\', \'2\', \'2\', \'from daily petty cash dated 9/4/15\', \'25\', \'120\', \'120\', \'8\', \'0\', \'0\')','gltransaction/saveotherReceiveDetailOnly','0.0069999694824219','2015-07-10 15:25:18'),(19469,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'35\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 15:25:49'),(19470,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 154 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:49'),(19471,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000154\' WHERE `ID` =  \'35\'','gltransaction/otherreceiveposting','0.019001007080078','2015-07-10 15:25:49'),(19472,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\', \'AR20150100000154\', \'ORI20150710[00000035]\', \' [ ORI20150710[00000035] ]\', \'2\', \'2015-04-10\', \'2015\', \'1\', \'1770\', \'1770\', \'2\')','gltransaction/otherreceiveposting','0.059002876281738','2015-07-10 15:25:49'),(19473,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\', \'AR20150100000154\', 1, \'from daily petty cash dated 9/4/15\', \'25\', \'PETTY CASH\', 1650, 1, 1, \'1650\', \'1\', \'2015\', NULL, \'ORI20150710[00000035]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.058003902435303','2015-07-10 15:25:49'),(19474,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, \'AR20150100000154\', \'from daily petty cash dated 9/4/15\', \'130\', \'PETTY CASH\', 1650, 1, 1, \'1650\', \'1\', \'2015\', \'ORI20150710[00000035]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 15:25:49'),(19475,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\', \'AR20150100000154\', 3, \'from daily petty cash dated 9/4/15\', \'25\', \'PETTY CASH\', 120, 1, 1, \'120\', \'1\', \'2015\', NULL, \'ORI20150710[00000035]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 15:25:49'),(19476,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\', 4, \'AR20150100000154\', \'from daily petty cash dated 9/4/15\', \'130\', \'PETTY CASH\', 120, 1, 1, \'120\', \'1\', \'2015\', \'ORI20150710[00000035]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-10 15:25:49'),(19477,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1770, `total_amount_cr` = 1770, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000154\'','gltransaction/otherreceiveposting','0.010000944137573','2015-07-10 15:25:49'),(19478,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'34\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:25:49'),(19479,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 155 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:25:49'),(19480,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000155\' WHERE `ID` =  \'34\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:49'),(19481,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\', \'AR20150100000155\', \'ORI20150710[00000034]\', \' [ ORI20150710[00000034] ]\', \'2\', \'2015-04-13\', \'2015\', \'1\', \'8920\', \'8920\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 15:25:49'),(19482,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\', \'AR20150100000155\', 1, \'from daily petty cash dated 10/4/15\', \'25\', \'PETTY CASH\', 350, 1, 1, \'350\', \'1\', \'2015\', NULL, \'ORI20150710[00000034]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:49'),(19483,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, \'AR20150100000155\', \'from daily petty cash dated 10/4/15\', \'130\', \'PETTY CASH\', 350, 1, 1, \'350\', \'1\', \'2015\', \'ORI20150710[00000034]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:49'),(19484,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\', \'AR20150100000155\', 3, \'from daily petty cash dated 10/4/15\', \'25\', \'PETTY CASH\', 8570, 1, 1, \'8570\', \'1\', \'2015\', NULL, \'ORI20150710[00000034]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:49'),(19485,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\', 4, \'AR20150100000155\', \'from daily petty cash dated 10/4/15\', \'130\', \'PETTY CASH\', 8570, 1, 1, \'8570\', \'1\', \'2015\', \'ORI20150710[00000034]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-10 15:25:49'),(19486,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 8920, `total_amount_cr` = 8920, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000155\'','gltransaction/otherreceiveposting','0.02000093460083','2015-07-10 15:25:49'),(19487,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'33\'','gltransaction/otherreceiveposting','0.0090000629425049','2015-07-10 15:25:50'),(19488,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 156 WHERE `ID` =  \'2\'','gltransaction/otherreceiveposting','0.013999938964844','2015-07-10 15:25:50'),(19489,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150100000156\' WHERE `ID` =  \'33\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:25:50'),(19490,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\', \'AR20150100000156\', \'ORI20150710[00000033]\', \' [ ORI20150710[00000033] ]\', \'2\', \'2015-04-14\', \'2015\', \'1\', \'8680\', \'8680\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:50'),(19491,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\', \'AR20150100000156\', 1, \'from daily petty cash dated 13/4/15\', \'25\', \'PETTY CASH\', 3330, 1, 1, \'3330\', \'1\', \'2015\', NULL, \'ORI20150710[00000033]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:25:50'),(19492,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, \'AR20150100000156\', \'from daily petty cash dated 13/4/15\', \'130\', \'PETTY CASH\', 3330, 1, 1, \'3330\', \'1\', \'2015\', \'ORI20150710[00000033]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:50'),(19493,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\', \'AR20150100000156\', 3, \'from daily petty cash dated 13/4/15\', \'25\', \'PETTY CASH\', 5350, 1, 1, \'5350\', \'1\', \'2015\', NULL, \'ORI20150710[00000033]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:50'),(19494,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\', 4, \'AR20150100000156\', \'from daily petty cash dated 13/4/15\', \'130\', \'PETTY CASH\', 5350, 1, 1, \'5350\', \'1\', \'2015\', \'ORI20150710[00000033]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-10 15:25:50'),(19495,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 8680, `total_amount_cr` = 8680, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000156\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-10 15:25:50'),(19496,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'795\'','Gltransaction/journalPosting','0.019001007080078','2015-07-10 15:26:03'),(19497,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000154\'','Gltransaction/journalPosting','0.077004194259644','2015-07-10 15:26:03'),(19498,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.064003944396973','2015-07-10 15:26:03'),(19499,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.027001142501831','2015-07-10 15:26:03'),(19500,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.023000955581665','2015-07-10 15:26:03'),(19501,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.007000207901001','2015-07-10 15:26:03'),(19502,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'796\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 15:26:03'),(19503,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000155\'','Gltransaction/journalPosting','0.037001848220825','2015-07-10 15:26:03'),(19504,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 15:26:03'),(19505,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.034002065658569','2015-07-10 15:26:03'),(19506,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0070009231567383','2015-07-10 15:26:03'),(19507,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 15:26:03'),(19508,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'797\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 15:26:04'),(19509,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150100000156\'','Gltransaction/journalPosting','0.036001920700073','2015-07-10 15:26:04'),(19510,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 15:26:04'),(19511,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 15:26:04'),(19512,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 15:26:04'),(19513,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.003000020980835','2015-07-10 15:26:04'),(19514,2,2,'::1','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES (\'* perolehan petty cash pd 9/4/15 terkeyin 2 kali dalam system\\n* untuk kontra payment advise : ORI20150708 [00000001]\', \'2\', \'2\', 1, \'68\', \'1770\', \'OPN2015\', \'2015-04-10\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewpaywithOutItem','0.37002110481262','2015-07-10 16:45:59'),(19515,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (110, \'2\', \'from daily petty cash 9/4/15\', \'1\', \'25\', \'1650\', \'1650\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.0099999904632568','2015-07-10 16:45:59'),(19516,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `lineNo`, `itemdescription`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (\'110\', \'2\', \'2\', \'daily petty cash\', \'25\', \'120\', \'120\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithoutItemDetailOnly','0.027002096176147','2015-07-10 16:49:07'),(19517,2,2,'::1','update','UPDATE `comp_payment_others` SET `updatedBy` = \'2\', `amountPaid` = \'1770\', `referenceNo` = \'bank-in slip\', `memo` = \'* perolehan petty cash pd 9/4/15 tersalah keyin 2 kali dalam akaun kedua syarikat (Acc-2 - FW)\\n\\n* untuk kontra payment advise : ORI20150708 [00000001]\', `paymentDate` = \'2015-04-10\', `payTo` = \'PETTY CASH\', `projectID` = \'\', `formNo` = \'OPN2015\' WHERE `ID` =  \'110\'','OthersPayment/updatepayitemwithoutitemMaster','0.030001878738403','2015-07-10 16:52:37'),(19518,2,2,'::1','update','UPDATE `comp_payment_others` SET `updatedBy` = \'2\', `amountPaid` = \'1770\', `referenceNo` = \'bank-in slip\', `memo` = \'* perolehan petty cash pd 9/4/15 tersalah keyin 2 kali dalam akaun kedua syarikat (Acc-2 - FW)\\n\\n* kontra payment advise : ORI20150708 [00000001]\', `paymentDate` = \'2015-04-10\', `payTo` = \'PETTY CASH\', `projectID` = \'\', `formNo` = \'OPN2015\' WHERE `ID` =  \'110\'','OthersPayment/updatepayitemwithoutitemMaster','0.00099992752075195','2015-07-10 16:52:56'),(19519,2,2,'::1','update','UPDATE `comp_payment_others` SET `updatedBy` = \'2\', `amountPaid` = \'1770\', `referenceNo` = \'bank-in slip\', `memo` = \'* perolehan petty cash pada 9/4/15 ter salah keyin 2 kali dalam akaun kedua syarikat (Acc-2 - FW)\\n\\n* kontra payment advise : ORI20150708 [00000001]\', `paymentDate` = \'2015-04-10\', `payTo` = \'PETTY CASH\', `projectID` = \'\', `formNo` = \'OPN2015\' WHERE `ID` =  \'110\'','OthersPayment/updatepayitemwithoutitemMaster','0.0060000419616699','2015-07-10 16:54:14'),(19520,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'110\'','gltransaction/otherpaymentposting','0.002000093460083','2015-07-10 16:54:38'),(19521,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  \'4\'','gltransaction/otherpaymentposting','0.0080001354217529','2015-07-10 16:54:38'),(19522,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150100000063\' WHERE `ID` =  \'110\'','gltransaction/otherpaymentposting','0.0010001659393311','2015-07-10 16:54:38'),(19523,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\', \'AP20150100000063\', \'Other Payment [OPN2015[00000089]]]\', \'Other Payment [OPN2015[00000089]]]\', \'3\', \'2015-04-10\', \'2015\', \'1\', 1770, 1770, \'2\')','gltransaction/otherpaymentposting','0.08300518989563','2015-07-10 16:54:38'),(19524,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\', \'AP20150100000063\', 1, \'from daily petty cash 9/4/15\', \'130\', 1650, 1, 1, \'1650\', \'1\', \'2015\', \'1\', \'OPN2015[00000089]\', \'2\')','gltransaction/otherpaymentposting','0.020001173019409','2015-07-10 16:54:38'),(19525,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20150100000063\', 2, \'from daily petty cash 9/4/15\', \'25\', 1650, 1, 1, \'1650\', \'1\', \'2015\', \'1\', \'OPN2015[00000089]\', \'2\')','gltransaction/otherpaymentposting','0.019001007080078','2015-07-10 16:54:38'),(19526,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\', \'AP20150100000063\', 3, \'daily petty cash\', \'130\', 120, 1, 1, \'120\', \'1\', \'2015\', \'2\', \'OPN2015[00000089]\', \'2\')','gltransaction/otherpaymentposting','0.002000093460083','2015-07-10 16:54:38'),(19527,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20150100000063\', 4, \'daily petty cash\', \'25\', 120, 1, 1, \'120\', \'1\', \'2015\', \'2\', \'OPN2015[00000089]\', \'2\')','gltransaction/otherpaymentposting','0.00099992752075195','2015-07-10 16:54:38'),(19528,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1770, `total_amount_cr` = 1770, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150100000063\'','gltransaction/otherpaymentposting','0.030002117156982','2015-07-10 16:54:38'),(19529,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'798\'','Gltransaction/journalPosting','0.002000093460083','2015-07-10 17:01:44'),(19530,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150100000063\'','Gltransaction/journalPosting','0.04600191116333','2015-07-10 17:01:44'),(19531,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 17:01:44'),(19532,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 17:01:44'),(19533,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-10 17:01:44'),(19534,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'1\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-10 17:01:44'),(19535,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\', \'5050\', \'ORI20150713\', \'2015-07-01\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.3820219039917','2015-07-13 13:36:44'),(19536,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (36, \'2\', \'from daily petty cash dated 30/6/15\', \'1\', \'25\', \'5050\', \'5050\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.075004100799561','2015-07-13 13:36:45'),(19537,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\', \'6025\', \'ORI20150713\', \'2015-06-30\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.015001058578491','2015-07-13 13:40:13'),(19538,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (37, \'2\', \'from daily petty cash dated 29/6/15\', \'1\', \'25\', \'6025\', \'6025\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 13:40:13'),(19539,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\', \'6150\', \'ORI20150713\', \'2015-06-29\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.096005201339722','2015-07-13 13:42:06'),(19540,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (38, \'2\', \'from daily petty cash dated 26/6/15\', \'1\', \'25\', \'6150\', \'6150\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.027001857757568','2015-07-13 13:42:06'),(19541,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\', \'2655\', \'ORI20150713\', \'2015-06-26\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.077004909515381','2015-07-13 13:43:33'),(19542,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (39, \'2\', \'from daily petty cash dated 25/6/15\', \'1\', \'25\', \'2655\', \'2655\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 13:43:33'),(19543,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\', \'1375\', \'ORI20150713\', \'2015-06-25\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.024000883102417','2015-07-13 13:46:41'),(19544,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (40, \'2\', \'from daily petty cash dated 24/6/15\', \'1\', \'25\', \'1375\', \'1375\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0','2015-07-13 13:46:41'),(19545,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\', \'10000\', \'ORI20150713\', \'2015-06-24\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.019001007080078','2015-07-13 13:47:58'),(19546,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (41, \'2\', \'from daily petty cash dated 24/6/15\', \'1\', \'25\', \'10000\', \'10000\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-13 13:47:58'),(19547,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\', \'7296.5\', \'ORI20150713\', \'2015-06-22\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.016001224517822','2015-07-13 13:49:40'),(19548,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (42, \'2\', \'from daily petty cash dated 22/6/15\', \'1\', \'25\', \'7296.5\', \'7296.5\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.011999845504761','2015-07-13 13:49:40'),(19549,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'36\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-13 13:51:56'),(19550,2,2,'::1','insert','INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (\'2\', \'2\', \'2015\', \'4\', \'AR\', 1)','gltransaction/otherreceiveposting','0.025001049041748','2015-07-13 13:51:56'),(19551,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150400000001\' WHERE `ID` =  \'36\'','gltransaction/otherreceiveposting','0.007000207901001','2015-07-13 13:51:56'),(19552,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\', \'AR20150400000001\', \'ORI20150713[00000036]\', \' [ ORI20150713[00000036] ]\', \'2\', \'2015-07-01\', \'2015\', \'4\', \'5050\', \'5050\', \'2\')','gltransaction/otherreceiveposting','0.078005075454712','2015-07-13 13:51:56'),(19553,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\', \'AR20150400000001\', 1, \'from daily petty cash dated 30/6/15\', \'25\', \'PETTY CASH\', 5050, 1, 1, \'5050\', \'4\', \'2015\', NULL, \'ORI20150713[00000036]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.018001079559326','2015-07-13 13:51:56'),(19554,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, \'AR20150400000001\', \'from daily petty cash dated 30/6/15\', \'130\', \'PETTY CASH\', 5050, 1, 1, \'5050\', \'4\', \'2015\', \'ORI20150713[00000036]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-13 13:51:56'),(19555,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5050, `total_amount_cr` = 5050, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150400000001\'','gltransaction/otherreceiveposting','0.023002147674561','2015-07-13 13:51:56'),(19556,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'42\'','gltransaction/otherreceiveposting','0.0039999485015869','2015-07-13 13:53:52'),(19557,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 153 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:52'),(19558,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000153\' WHERE `ID` =  \'42\'','gltransaction/otherreceiveposting','0','2015-07-13 13:53:52'),(19559,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\', \'AR20150300000153\', \'ORI20150713[00000042]\', \' [ ORI20150713[00000042] ]\', \'2\', \'2015-06-22\', \'2015\', \'3\', \'7296.5\', \'7296.5\', \'2\')','gltransaction/otherreceiveposting','0.011000871658325','2015-07-13 13:53:52'),(19560,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\', \'AR20150300000153\', 1, \'from daily petty cash dated 22/6/15\', \'25\', \'PETTY CASH\', 7296.5, 1, 1, \'7296.5\', \'3\', \'2015\', NULL, \'ORI20150713[00000042]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.075003862380981','2015-07-13 13:53:52'),(19561,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, \'AR20150300000153\', \'from daily petty cash dated 22/6/15\', \'130\', \'PETTY CASH\', 7296.5, 1, 1, \'7296.5\', \'3\', \'2015\', \'ORI20150713[00000042]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:52'),(19562,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7296.5, `total_amount_cr` = 7296.5, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000153\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:52'),(19563,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'41\'','gltransaction/otherreceiveposting','0.002000093460083','2015-07-13 13:53:52'),(19564,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 154 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:52'),(19565,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000154\' WHERE `ID` =  \'41\'','gltransaction/otherreceiveposting','0.018001079559326','2015-07-13 13:53:52'),(19566,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\', \'AR20150300000154\', \'ORI20150713[00000041]\', \' [ ORI20150713[00000041] ]\', \'2\', \'2015-06-24\', \'2015\', \'3\', \'10000\', \'10000\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:52'),(19567,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\', \'AR20150300000154\', 1, \'from daily petty cash dated 24/6/15\', \'25\', \'PETTY CASH\', 10000, 1, 1, \'10000\', \'3\', \'2015\', NULL, \'ORI20150713[00000041]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:52'),(19568,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, \'AR20150300000154\', \'from daily petty cash dated 24/6/15\', \'130\', \'PETTY CASH\', 10000, 1, 1, \'10000\', \'3\', \'2015\', \'ORI20150713[00000041]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.010000228881836','2015-07-13 13:53:52'),(19569,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000154\'','gltransaction/otherreceiveposting','0.017000913619995','2015-07-13 13:53:52'),(19570,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'40\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19571,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 155 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19572,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000155\' WHERE `ID` =  \'40\'','gltransaction/otherreceiveposting','0.0039999485015869','2015-07-13 13:53:53'),(19573,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\', \'AR20150300000155\', \'ORI20150713[00000040]\', \' [ ORI20150713[00000040] ]\', \'2\', \'2015-06-25\', \'2015\', \'3\', \'1375\', \'1375\', \'2\')','gltransaction/otherreceiveposting','0.013000965118408','2015-07-13 13:53:53'),(19574,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\', \'AR20150300000155\', 1, \'from daily petty cash dated 24/6/15\', \'25\', \'PETTY CASH\', 1375, 1, 1, \'1375\', \'3\', \'2015\', NULL, \'ORI20150713[00000040]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19575,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, \'AR20150300000155\', \'from daily petty cash dated 24/6/15\', \'130\', \'PETTY CASH\', 1375, 1, 1, \'1375\', \'3\', \'2015\', \'ORI20150713[00000040]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19576,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1375, `total_amount_cr` = 1375, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000155\'','gltransaction/otherreceiveposting','0.0069999694824219','2015-07-13 13:53:53'),(19577,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'39\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19578,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 156 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.010001182556152','2015-07-13 13:53:53'),(19579,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000156\' WHERE `ID` =  \'39\'','gltransaction/otherreceiveposting','0.0069999694824219','2015-07-13 13:53:53'),(19580,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\', \'AR20150300000156\', \'ORI20150713[00000039]\', \' [ ORI20150713[00000039] ]\', \'2\', \'2015-06-26\', \'2015\', \'3\', \'2655\', \'2655\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19581,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\', \'AR20150300000156\', 1, \'from daily petty cash dated 25/6/15\', \'25\', \'PETTY CASH\', 2655, 1, 1, \'2655\', \'3\', \'2015\', NULL, \'ORI20150713[00000039]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19582,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, \'AR20150300000156\', \'from daily petty cash dated 25/6/15\', \'130\', \'PETTY CASH\', 2655, 1, 1, \'2655\', \'3\', \'2015\', \'ORI20150713[00000039]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19583,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2655, `total_amount_cr` = 2655, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000156\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19584,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'38\'','gltransaction/otherreceiveposting','0.0099999904632568','2015-07-13 13:53:53'),(19585,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 157 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19586,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000157\' WHERE `ID` =  \'38\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19587,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\', \'AR20150300000157\', \'ORI20150713[00000038]\', \' [ ORI20150713[00000038] ]\', \'2\', \'2015-06-29\', \'2015\', \'3\', \'6150\', \'6150\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19588,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\', \'AR20150300000157\', 1, \'from daily petty cash dated 26/6/15\', \'25\', \'PETTY CASH\', 6150, 1, 1, \'6150\', \'3\', \'2015\', NULL, \'ORI20150713[00000038]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.012001037597656','2015-07-13 13:53:53'),(19589,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, \'AR20150300000157\', \'from daily petty cash dated 26/6/15\', \'130\', \'PETTY CASH\', 6150, 1, 1, \'6150\', \'3\', \'2015\', \'ORI20150713[00000038]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0260009765625','2015-07-13 13:53:53'),(19590,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 6150, `total_amount_cr` = 6150, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000157\'','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-13 13:53:53'),(19591,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'37\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19592,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 158 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.0070009231567383','2015-07-13 13:53:53'),(19593,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000158\' WHERE `ID` =  \'37\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19594,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\', \'AR20150300000158\', \'ORI20150713[00000037]\', \' [ ORI20150713[00000037] ]\', \'2\', \'2015-06-30\', \'2015\', \'3\', \'6025\', \'6025\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-13 13:53:53'),(19595,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\', \'AR20150300000158\', 1, \'from daily petty cash dated 29/6/15\', \'25\', \'PETTY CASH\', 6025, 1, 1, \'6025\', \'3\', \'2015\', NULL, \'ORI20150713[00000037]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19596,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, \'AR20150300000158\', \'from daily petty cash dated 29/6/15\', \'130\', \'PETTY CASH\', 6025, 1, 1, \'6025\', \'3\', \'2015\', \'ORI20150713[00000037]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 13:53:53'),(19597,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 6025, `total_amount_cr` = 6025, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000158\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 13:53:53'),(19598,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'799\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:26'),(19599,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150400000001\'','Gltransaction/journalPosting','0.15800905227661','2015-07-13 13:55:26'),(19600,2,2,'::1','insert','INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (\'2\', \'3\', \'25\', \'2015\', \'4\', \'0\', \'5050\', -5050, \'2\', \'2015-07-13: 07:07:26\')','Gltransaction/journalPosting','0.02000093460083','2015-07-13 13:55:26'),(19601,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'4\'','Gltransaction/journalPosting','0.021001100540161','2015-07-13 13:55:26'),(19602,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'800\'','Gltransaction/journalPosting','0.02900218963623','2015-07-13 13:55:54'),(19603,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000153\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19604,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.092005014419556','2015-07-13 13:55:54'),(19605,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.015000104904175','2015-07-13 13:55:54'),(19606,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'801\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19607,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000154\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19608,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0030009746551514','2015-07-13 13:55:54'),(19609,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 13:55:54'),(19610,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'802\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19611,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000155\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19612,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.010000944137573','2015-07-13 13:55:54'),(19613,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0','2015-07-13 13:55:54'),(19614,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'803\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 13:55:54'),(19615,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000156\'','Gltransaction/journalPosting','0.011999845504761','2015-07-13 13:55:54'),(19616,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.005000114440918','2015-07-13 13:55:54'),(19617,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19618,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'804\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-13 13:55:54'),(19619,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000157\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 13:55:54'),(19620,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19621,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0079998970031738','2015-07-13 13:55:54'),(19622,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'805\'','Gltransaction/journalPosting','0','2015-07-13 13:55:54'),(19623,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000158\'','Gltransaction/journalPosting','0','2015-07-13 13:55:54'),(19624,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19625,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 13:55:54'),(19626,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\', \'21150\', \'ORI20150713\', \'2015-06-22\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.049002885818481','2015-07-13 13:59:04'),(19627,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (43, \'2\', \'from daily petty cash dated 19/6/15\', \'1\', \'25\', \'21150\', \'21150\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.025001049041748','2015-07-13 13:59:04'),(19628,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\', \'2196\', \'ORI20150713\', \'2015-06-19\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.016000986099243','2015-07-13 14:00:46'),(19629,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (44, \'2\', \'from daily petty cash dated 18/6/15\', \'1\', \'25\', \'2196\', \'2196\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 14:00:46'),(19630,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\', \'6950\', \'ORI20150713\', \'2015-06-18\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.0080001354217529','2015-07-13 14:01:56'),(19631,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (45, \'2\', \'from daily petty cash dated 17/6/15\', \'1\', \'25\', \'6950\', \'6950\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-13 14:01:56'),(19632,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\', \'3856\', \'ORI20150713\', \'2015-06-17\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.01400089263916','2015-07-13 14:03:54'),(19633,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (46, \'2\', \'from daily petty cash dated 16/6/15\', \'1\', \'25\', \'3856\', \'3856\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 14:03:54'),(19634,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\', \'2537\', \'ORI20150713\', \'2015-06-16\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.015000820159912','2015-07-13 14:05:18'),(19635,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (47, \'2\', \'from daily petty cash dated 15/6/15\', \'1\', \'25\', \'2537\', \'2537\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.002000093460083','2015-07-13 14:05:18'),(19636,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'47\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:12:10'),(19637,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 159 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19638,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000159\' WHERE `ID` =  \'47\'','gltransaction/otherreceiveposting','0.025002002716064','2015-07-13 14:12:10'),(19639,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\', \'AR20150300000159\', \'ORI20150713[00000047]\', \' [ ORI20150713[00000047] ]\', \'2\', \'2015-06-16\', \'2015\', \'3\', \'2537\', \'2537\', \'2\')','gltransaction/otherreceiveposting','0.038002014160156','2015-07-13 14:12:10'),(19640,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\', \'AR20150300000159\', 1, \'from daily petty cash dated 15/6/15\', \'25\', \'PETTY CASH\', 2537, 1, 1, \'2537\', \'3\', \'2015\', NULL, \'ORI20150713[00000047]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.028002023696899','2015-07-13 14:12:10'),(19641,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, \'AR20150300000159\', \'from daily petty cash dated 15/6/15\', \'130\', \'PETTY CASH\', 2537, 1, 1, \'2537\', \'3\', \'2015\', \'ORI20150713[00000047]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19642,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2537, `total_amount_cr` = 2537, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000159\'','gltransaction/otherreceiveposting','0.022001028060913','2015-07-13 14:12:10'),(19643,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'46\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19644,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 160 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.014001131057739','2015-07-13 14:12:10'),(19645,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000160\' WHERE `ID` =  \'46\'','gltransaction/otherreceiveposting','0.0060000419616699','2015-07-13 14:12:10'),(19646,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\', \'AR20150300000160\', \'ORI20150713[00000046]\', \' [ ORI20150713[00000046] ]\', \'2\', \'2015-06-17\', \'2015\', \'3\', \'3856\', \'3856\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-13 14:12:10'),(19647,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\', \'AR20150300000160\', 1, \'from daily petty cash dated 16/6/15\', \'25\', \'PETTY CASH\', 3856, 1, 1, \'3856\', \'3\', \'2015\', NULL, \'ORI20150713[00000046]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.011001110076904','2015-07-13 14:12:10'),(19648,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, \'AR20150300000160\', \'from daily petty cash dated 16/6/15\', \'130\', \'PETTY CASH\', 3856, 1, 1, \'3856\', \'3\', \'2015\', \'ORI20150713[00000046]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:12:10'),(19649,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 3856, `total_amount_cr` = 3856, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000160\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19650,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'45\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19651,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 161 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.02000093460083','2015-07-13 14:12:10'),(19652,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000161\' WHERE `ID` =  \'45\'','gltransaction/otherreceiveposting','0','2015-07-13 14:12:10'),(19653,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\', \'AR20150300000161\', \'ORI20150713[00000045]\', \' [ ORI20150713[00000045] ]\', \'2\', \'2015-06-18\', \'2015\', \'3\', \'6950\', \'6950\', \'2\')','gltransaction/otherreceiveposting','0.0019998550415039','2015-07-13 14:12:10'),(19654,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\', \'AR20150300000161\', 1, \'from daily petty cash dated 17/6/15\', \'25\', \'PETTY CASH\', 6950, 1, 1, \'6950\', \'3\', \'2015\', NULL, \'ORI20150713[00000045]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-13 14:12:10'),(19655,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, \'AR20150300000161\', \'from daily petty cash dated 17/6/15\', \'130\', \'PETTY CASH\', 6950, 1, 1, \'6950\', \'3\', \'2015\', \'ORI20150713[00000045]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:10'),(19656,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 6950, `total_amount_cr` = 6950, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000161\'','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-13 14:12:10'),(19657,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'44\'','gltransaction/otherreceiveposting','0.0020010471343994','2015-07-13 14:12:11'),(19658,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 162 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.018001079559326','2015-07-13 14:12:11'),(19659,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000162\' WHERE `ID` =  \'44\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:11'),(19660,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\', \'AR20150300000162\', \'ORI20150713[00000044]\', \' [ ORI20150713[00000044] ]\', \'2\', \'2015-06-19\', \'2015\', \'3\', \'2196\', \'2196\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:12:11'),(19661,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\', \'AR20150300000162\', 1, \'from daily petty cash dated 18/6/15\', \'25\', \'PETTY CASH\', 2196, 1, 1, \'2196\', \'3\', \'2015\', NULL, \'ORI20150713[00000044]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:11'),(19662,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, \'AR20150300000162\', \'from daily petty cash dated 18/6/15\', \'130\', \'PETTY CASH\', 2196, 1, 1, \'2196\', \'3\', \'2015\', \'ORI20150713[00000044]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:11'),(19663,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2196, `total_amount_cr` = 2196, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000162\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:12:11'),(19664,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'43\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:12:11'),(19665,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 163 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.0090010166168213','2015-07-13 14:12:11'),(19666,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000163\' WHERE `ID` =  \'43\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-13 14:12:11'),(19667,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\', \'AR20150300000163\', \'ORI20150713[00000043]\', \' [ ORI20150713[00000043] ]\', \'2\', \'2015-06-22\', \'2015\', \'3\', \'21150\', \'21150\', \'2\')','gltransaction/otherreceiveposting','0.0090000629425049','2015-07-13 14:12:11'),(19668,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\', \'AR20150300000163\', 1, \'from daily petty cash dated 19/6/15\', \'25\', \'PETTY CASH\', 21150, 1, 1, \'21150\', \'3\', \'2015\', NULL, \'ORI20150713[00000043]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-13 14:12:11'),(19669,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, \'AR20150300000163\', \'from daily petty cash dated 19/6/15\', \'130\', \'PETTY CASH\', 21150, 1, 1, \'21150\', \'3\', \'2015\', \'ORI20150713[00000043]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.060003042221069','2015-07-13 14:12:11'),(19670,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 21150, `total_amount_cr` = 21150, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000163\'','gltransaction/otherreceiveposting','0.022001028060913','2015-07-13 14:12:11'),(19671,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'806\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:12:41'),(19672,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000159\'','Gltransaction/journalPosting','0.069004058837891','2015-07-13 14:12:41'),(19673,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.056003093719482','2015-07-13 14:12:41'),(19674,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.019001007080078','2015-07-13 14:12:41'),(19675,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'807\'','Gltransaction/journalPosting','0.003000020980835','2015-07-13 14:12:41'),(19676,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000160\'','Gltransaction/journalPosting','0.011001110076904','2015-07-13 14:12:41'),(19677,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-07-13 14:12:41'),(19678,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0069999694824219','2015-07-13 14:12:42'),(19679,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'808\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 14:12:42'),(19680,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000161\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:12:42'),(19681,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 14:12:42'),(19682,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:12:42'),(19683,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'809\'','Gltransaction/journalPosting','0.016000986099243','2015-07-13 14:12:42'),(19684,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000162\'','Gltransaction/journalPosting','0.015000820159912','2015-07-13 14:12:42'),(19685,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-13 14:12:42'),(19686,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0020008087158203','2015-07-13 14:12:42'),(19687,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'810\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 14:12:42'),(19688,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000163\'','Gltransaction/journalPosting','0.016000986099243','2015-07-13 14:12:42'),(19689,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0080010890960693','2015-07-13 14:12:42'),(19690,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 14:12:42'),(19691,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\', \'2290\', \'ORI20150713\', \'2015-06-10\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.035001993179321','2015-07-13 14:15:09'),(19692,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (48, \'2\', \'from daily petty cash dated 9/6/15\', \'1\', \'25\', \'2290\', \'2290\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.021001100540161','2015-07-13 14:15:09'),(19693,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'48\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:26:41'),(19694,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 164 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:26:41'),(19695,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000164\' WHERE `ID` =  \'48\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:26:41'),(19696,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\', \'AR20150300000164\', \'ORI20150713[00000048]\', \' [ ORI20150713[00000048] ]\', \'2\', \'2015-06-10\', \'2015\', \'3\', \'2290\', \'2290\', \'2\')','gltransaction/otherreceiveposting','0.049002885818481','2015-07-13 14:26:41'),(19697,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\', \'AR20150300000164\', 1, \'from daily petty cash dated 9/6/15\', \'25\', \'PETTY CASH\', 2290, 1, 1, \'2290\', \'3\', \'2015\', NULL, \'ORI20150713[00000048]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.027001857757568','2015-07-13 14:26:41'),(19698,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, \'AR20150300000164\', \'from daily petty cash dated 9/6/15\', \'130\', \'PETTY CASH\', 2290, 1, 1, \'2290\', \'3\', \'2015\', \'ORI20150713[00000048]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:26:41'),(19699,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 2290, `total_amount_cr` = 2290, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000164\'','gltransaction/otherreceiveposting','0.013000011444092','2015-07-13 14:26:41'),(19700,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'811\'','Gltransaction/journalPosting','0.018001079559326','2015-07-13 14:26:49'),(19701,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000164\'','Gltransaction/journalPosting','0.033001899719238','2015-07-13 14:26:49'),(19702,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.066004037857056','2015-07-13 14:26:49'),(19703,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.024001836776733','2015-07-13 14:26:49'),(19704,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\', \'5688\', \'ORI20150713\', \'2015-06-08\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.017000913619995','2015-07-13 14:28:30'),(19705,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (49, \'2\', \'from daily petty cash dated 5/6/15\', \'1\', \'25\', \'5688\', \'5688\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.019001007080078','2015-07-13 14:28:30'),(19706,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\', \'1000\', \'ORI20150713\', \'2015-06-05\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.013000965118408','2015-07-13 14:30:55'),(19707,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (50, \'2\', \'from daily petty cash dated 4/6/15\', \'1\', \'25\', \'1000\', \'1000\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 14:30:55'),(19708,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\', \'5.9\', \'ORI20150713\', \'2015-06-04\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.018000841140747','2015-07-13 14:32:41'),(19709,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (51, \'2\', \'from daily petty cash dated 3/6/15\', \'1\', \'25\', \'5.9\', \'5.9\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.0010001659393311','2015-07-13 14:32:41'),(19710,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\', \'1900\', \'ORI20150713\', \'2015-06-03\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.015001058578491','2015-07-13 14:34:01'),(19711,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (52, \'2\', \'from daily petty cash dated 2/6/15\', \'1\', \'25\', \'1900\', \'1900\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-13 14:34:01'),(19712,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\', \'7060\', \'ORI20150713\', \'2015-06-02\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.016001224517822','2015-07-13 14:35:22'),(19713,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (53, \'2\', \'from daily petty cash dated 1/6/15\', \'1\', \'25\', \'7060\', \'7060\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-13 14:35:22'),(19714,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'53\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19715,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 165 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19716,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000165\' WHERE `ID` =  \'53\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19717,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\', \'AR20150300000165\', \'ORI20150713[00000053]\', \' [ ORI20150713[00000053] ]\', \'2\', \'2015-06-02\', \'2015\', \'3\', \'7060\', \'7060\', \'2\')','gltransaction/otherreceiveposting','0.041002988815308','2015-07-13 14:35:36'),(19718,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\', \'AR20150300000165\', 1, \'from daily petty cash dated 1/6/15\', \'25\', \'PETTY CASH\', 7060, 1, 1, \'7060\', \'3\', \'2015\', NULL, \'ORI20150713[00000053]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.027000904083252','2015-07-13 14:35:36'),(19719,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, \'AR20150300000165\', \'from daily petty cash dated 1/6/15\', \'130\', \'PETTY CASH\', 7060, 1, 1, \'7060\', \'3\', \'2015\', \'ORI20150713[00000053]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19720,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 7060, `total_amount_cr` = 7060, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000165\'','gltransaction/otherreceiveposting','0.013000965118408','2015-07-13 14:35:36'),(19721,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'52\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19722,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 166 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19723,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000166\' WHERE `ID` =  \'52\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19724,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\', \'AR20150300000166\', \'ORI20150713[00000052]\', \' [ ORI20150713[00000052] ]\', \'2\', \'2015-06-03\', \'2015\', \'3\', \'1900\', \'1900\', \'2\')','gltransaction/otherreceiveposting','0.002000093460083','2015-07-13 14:35:36'),(19725,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\', \'AR20150300000166\', 1, \'from daily petty cash dated 2/6/15\', \'25\', \'PETTY CASH\', 1900, 1, 1, \'1900\', \'3\', \'2015\', NULL, \'ORI20150713[00000052]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.019001007080078','2015-07-13 14:35:36'),(19726,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, \'AR20150300000166\', \'from daily petty cash dated 2/6/15\', \'130\', \'PETTY CASH\', 1900, 1, 1, \'1900\', \'3\', \'2015\', \'ORI20150713[00000052]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19727,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1900, `total_amount_cr` = 1900, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000166\'','gltransaction/otherreceiveposting','0','2015-07-13 14:35:36'),(19728,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'51\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19729,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 167 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19730,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000167\' WHERE `ID` =  \'51\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19731,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\', \'AR20150300000167\', \'ORI20150713[00000051]\', \' [ ORI20150713[00000051] ]\', \'2\', \'2015-06-04\', \'2015\', \'3\', \'5.9\', \'5.9\', \'2\')','gltransaction/otherreceiveposting','0','2015-07-13 14:35:36'),(19732,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\', \'AR20150300000167\', 1, \'from daily petty cash dated 3/6/15\', \'25\', \'PETTY CASH\', 5.9, 1, 1, \'5.9\', \'3\', \'2015\', NULL, \'ORI20150713[00000051]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.003000020980835','2015-07-13 14:35:36'),(19733,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, \'AR20150300000167\', \'from daily petty cash dated 3/6/15\', \'130\', \'PETTY CASH\', 5.9, 1, 1, \'5.9\', \'3\', \'2015\', \'ORI20150713[00000051]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19734,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5.9, `total_amount_cr` = 5.9, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000167\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19735,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'50\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19736,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 168 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.0039999485015869','2015-07-13 14:35:36'),(19737,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000168\' WHERE `ID` =  \'50\'','gltransaction/otherreceiveposting','0','2015-07-13 14:35:36'),(19738,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\', \'AR20150300000168\', \'ORI20150713[00000050]\', \' [ ORI20150713[00000050] ]\', \'2\', \'2015-06-05\', \'2015\', \'3\', \'1000\', \'1000\', \'2\')','gltransaction/otherreceiveposting','0.023000955581665','2015-07-13 14:35:36'),(19739,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\', \'AR20150300000168\', 1, \'from daily petty cash dated 4/6/15\', \'25\', \'PETTY CASH\', 1000, 1, 1, \'1000\', \'3\', \'2015\', NULL, \'ORI20150713[00000050]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010008811950684','2015-07-13 14:35:36'),(19740,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, \'AR20150300000168\', \'from daily petty cash dated 4/6/15\', \'130\', \'PETTY CASH\', 1000, 1, 1, \'1000\', \'3\', \'2015\', \'ORI20150713[00000050]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19741,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1000, `total_amount_cr` = 1000, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000168\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19742,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'49\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19743,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 169 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.0010001659393311','2015-07-13 14:35:36'),(19744,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000169\' WHERE `ID` =  \'49\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19745,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\', \'AR20150300000169\', \'ORI20150713[00000049]\', \' [ ORI20150713[00000049] ]\', \'2\', \'2015-06-08\', \'2015\', \'3\', \'5688\', \'5688\', \'2\')','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 14:35:36'),(19746,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\', \'AR20150300000169\', 1, \'from daily petty cash dated 5/6/15\', \'25\', \'PETTY CASH\', 5688, 1, 1, \'5688\', \'3\', \'2015\', NULL, \'ORI20150713[00000049]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.024002075195312','2015-07-13 14:35:36'),(19747,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, \'AR20150300000169\', \'from daily petty cash dated 5/6/15\', \'130\', \'PETTY CASH\', 5688, 1, 1, \'5688\', \'3\', \'2015\', \'ORI20150713[00000049]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.018001079559326','2015-07-13 14:35:37'),(19748,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 5688, `total_amount_cr` = 5688, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000169\'','gltransaction/otherreceiveposting','0.016000986099243','2015-07-13 14:35:37'),(19749,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'812\'','Gltransaction/journalPosting','0.013000011444092','2015-07-13 14:35:50'),(19750,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000165\'','Gltransaction/journalPosting','0.044003009796143','2015-07-13 14:35:50'),(19751,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.064003944396973','2015-07-13 14:35:50'),(19752,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0260009765625','2015-07-13 14:35:50'),(19753,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'813\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:35:50'),(19754,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000166\'','Gltransaction/journalPosting','0.011000871658325','2015-07-13 14:35:50'),(19755,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.01200008392334','2015-07-13 14:35:50'),(19756,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:35:50'),(19757,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'814\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 14:35:50'),(19758,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000167\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:35:50'),(19759,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 14:35:50'),(19760,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0019998550415039','2015-07-13 14:35:50'),(19761,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'815\'','Gltransaction/journalPosting','0.069004058837891','2015-07-13 14:35:50'),(19762,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000168\'','Gltransaction/journalPosting','0.094005107879639','2015-07-13 14:35:50'),(19763,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.022001028060913','2015-07-13 14:35:50'),(19764,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 14:35:50'),(19765,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'816\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 14:35:51'),(19766,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000169\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:35:51'),(19767,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.003000020980835','2015-07-13 14:35:51'),(19768,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:35:51'),(19769,2,2,'::1','insert','INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES (\'\', \'2\', \'2\', 1, \'68\', \'1200\', \'OPN2015\', \'2015-06-08\', \'personal\', \'PN. SHIMA\', \'5\', \'\')','gltransaction/savenewpaywithOutItem','0.21701192855835','2015-07-13 14:39:04'),(19770,2,2,'::1','insert','INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (111, \'2\', \'PERSONAL\', \'1\', \'24\', \'1200\', \'1200\', \'23\', \'0\', \'0\')','gltransaction/savenewpaywithOutItem','0.047003030776978','2015-07-13 14:39:04'),(19771,2,2,'::1','update','UPDATE `comp_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'111\'','gltransaction/otherpaymentposting','0.00099992752075195','2015-07-13 14:39:24'),(19772,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 136 WHERE `ID` =  \'7\'','gltransaction/otherpaymentposting','0.020001173019409','2015-07-13 14:39:24'),(19773,2,2,'::1','update','UPDATE `comp_payment_others` SET `journalNo` = \'AP20150300000136\' WHERE `ID` =  \'111\'','gltransaction/otherpaymentposting','0.0039999485015869','2015-07-13 14:39:24'),(19774,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\', \'AP20150300000136\', \'Other Payment [OPN2015[00000090]]]\', \'Other Payment [OPN2015[00000090]]]\', \'3\', \'2015-06-08\', \'2015\', \'3\', 1200, 1200, \'2\')','gltransaction/otherpaymentposting','0.029001951217651','2015-07-13 14:39:24'),(19775,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\', \'AP20150300000136\', 1, \'PERSONAL\', \'25\', 1200, 1, 1, \'1200\', \'3\', \'2015\', \'1\', \'OPN2015[00000090]\', \'2\')','gltransaction/otherpaymentposting','0.017000913619995','2015-07-13 14:39:24'),(19776,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `createdBy`) VALUES (\'2\', \'AP20150300000136\', 2, \'PERSONAL\', \'24\', 1200, 1, 1, \'1200\', \'3\', \'2015\', \'1\', \'OPN2015[00000090]\', \'2\')','gltransaction/otherpaymentposting','0.022001028060913','2015-07-13 14:39:24'),(19777,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200, `total_amount_cr` = 1200, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000136\'','gltransaction/otherpaymentposting','0.0080010890960693','2015-07-13 14:39:24'),(19778,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'817\'','Gltransaction/journalPosting','0.022001028060913','2015-07-13 14:39:33'),(19779,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AP20150300000136\'','Gltransaction/journalPosting','0.0060000419616699','2015-07-13 14:39:33'),(19780,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 14:39:33'),(19781,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'24\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0020010471343994','2015-07-13 14:39:33'),(19782,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\', \'ABU BAKAR (L)\', \'\', \'W168\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-07-13\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.0039999485015869','2015-07-13 14:41:23'),(19783,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, \'192\', \'INV2015\', \'2015-06-08\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1200\', \'1200\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.13100695610046','2015-07-13 14:44:25'),(19784,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (245, \'1\', \'2\', \'58\', \'BALANCE OF SERVICE FEE\', \'1132.08\', \'2\', \'6\', \'67.92\', \'1200\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.040003061294556','2015-07-13 14:44:25'),(19785,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'67.92\', `totalAmount` = \'1200\' WHERE `ID` =  245','Artransaction/saveNewDirectSaleInvoiceCharges','0.00099992752075195','2015-07-13 14:44:25'),(19786,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 170 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.003000020980835','2015-07-13 14:45:01'),(19787,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000170\', `updateAble` = \'0\' WHERE `ID` =  \'245\'','artransaction/directInvoicePosting','0.00099992752075195','2015-07-13 14:45:01'),(19788,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\', \'AR20150300000170\', \'INV2015[00000174]\', \'Posting Direct Sales Invoices [ INV2015[00000174] ]\', \'2\', \'2015-06-08\', \'2015\', \'3\', 1200, 1200, \'2\')','artransaction/directInvoicePosting','0.039002180099487','2015-07-13 14:45:01'),(19789,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, \'AR20150300000170\', \'BALANCE OF SERVICE FEE\', \'20\', \'ABU BAKAR (L)\', 1132.08, \'1\', \'1\', \'1132.08\', \'3\', \'2015\', \'1\', \'INV2015[00000174]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.027000904083252','2015-07-13 14:45:01'),(19790,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\', \'AR20150300000170\', 2, \'BALANCE OF SERVICE FEE\', \'58\', \'ABU BAKAR (L)\', 1132.08, \'1\', \'1\', \'1132.08\', \'3\', \'2015\', \'1\', \'INV2015[00000174]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0020010471343994','2015-07-13 14:45:01'),(19791,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, \'AR20150300000170\', \'BALANCE OF SERVICE FEE\', \'20\', \'ABU BAKAR (L)\', 67.92, \'1\', \'1\', \'67.92\', \'3\', \'2015\', \'1\', \'INV2015[00000174]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-07-13 14:45:01'),(19792,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, \'AR20150300000170\', \'BALANCE OF SERVICE FEE\', \'40\', \'ABU BAKAR (L)\', 67.92, \'1\', \'1\', \'67.92\', \'3\', \'2015\', \'1\', \'INV2015[00000174]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-13 14:45:01'),(19793,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 1200, `total_amount_cr` = 1200, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000170\'','artransaction/directInvoicePosting','0.0090000629425049','2015-07-13 14:45:01'),(19794,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\', \'192\', \'\', \'\', \'RP20150713\', \'2015-06-10\', \'3\', 0, \'1200\', \'69\', \'bank-in slip\', \'0\', \'0\', \'0\', \'1200\')','arTransaction/saveNewReceivePayment','0.044003009796143','2015-07-13 14:46:02'),(19795,2,2,'::1','insert','INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 228, \'245\', \'0\', \'1200\')','arTransaction/saveNewReceivePayment','0.047003030776978','2015-07-13 14:46:02'),(19796,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  \'245\'','arTransaction/saveNewReceivePayment','0.023001194000244','2015-07-13 14:46:02'),(19797,2,2,'::1','update','UPDATE `comp_receive_payment` SET `updateAble` = \'0\' WHERE `ID` =  \'228\' AND `updateAble` =  1','artransaction/paymentPosting','0.035001993179321','2015-07-13 14:46:15'),(19798,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 171 WHERE `ID` =  \'8\'','artransaction/paymentPosting','0.018000841140747','2015-07-13 14:46:15'),(19799,2,2,'::1','update','UPDATE `comp_receive_payment` SET `journalNo` = \'AR20150300000171\' WHERE `ID` =  \'228\'','artransaction/paymentPosting','0.0090010166168213','2015-07-13 14:46:15'),(19800,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\', \'AR20150300000171\', \'RP20150713[00000159]\', \'Posting Received Payment [ RP20150713[00000159] ]\', \'2\', \'2015-06-10\', \'2015\', \'3\', 1200, 1200, \'2\')','artransaction/paymentPosting','0.0069999694824219','2015-07-13 14:46:15'),(19801,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\', \'AR20150300000171\', 1, \'ABU BAKAR (L)\', \'20\', 1200, 1, \'1\', \'1200\', \'3\', \'2015\', \'1\', \'RP20150713[00000159]\', \'2\')','artransaction/paymentPosting','0.0020008087158203','2015-07-13 14:46:15'),(19802,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, \'AR20150300000171\', \'ABU BAKAR (L)\', \'130\', 1200, 1, \'1\', \'1200\', \'3\', \'2015\', \'1\', \'RP20150713[00000159]\', \'2\')','artransaction/paymentPosting','0.0099999904632568','2015-07-13 14:46:15'),(19803,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'818\'','Gltransaction/journalPosting','0.016000986099243','2015-07-13 14:46:46'),(19804,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000170\'','Gltransaction/journalPosting','0.06000280380249','2015-07-13 14:46:46'),(19805,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.076004028320312','2015-07-13 14:46:46'),(19806,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.010001182556152','2015-07-13 14:46:46'),(19807,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.012001037597656','2015-07-13 14:46:46'),(19808,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.016000986099243','2015-07-13 14:46:46'),(19809,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'819\'','Gltransaction/journalPosting','0.024001121520996','2015-07-13 14:46:46'),(19810,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000171\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 14:46:46'),(19811,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0049998760223389','2015-07-13 14:46:46'),(19812,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0029997825622559','2015-07-13 14:46:46'),(19813,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\', \'6430\', \'ORI20150713\', \'2015-06-10\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.78304505348206','2015-07-13 14:59:43'),(19814,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (54, \'2\', \'from daily petty cash dated 8/6/15\', \'1\', \'25\', \'6430\', \'6430\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.00099992752075195','2015-07-13 14:59:43'),(19815,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'54\'','gltransaction/otherreceiveposting','0.022001028060913','2015-07-13 14:59:53'),(19816,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 172 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.015001058578491','2015-07-13 14:59:53'),(19817,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000172\' WHERE `ID` =  \'54\'','gltransaction/otherreceiveposting','0.0060009956359863','2015-07-13 14:59:53'),(19818,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\', \'AR20150300000172\', \'ORI20150713[00000054]\', \' [ ORI20150713[00000054] ]\', \'2\', \'2015-06-10\', \'2015\', \'3\', \'6430\', \'6430\', \'2\')','gltransaction/otherreceiveposting','0.037001848220825','2015-07-13 14:59:53'),(19819,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\', \'AR20150300000172\', 1, \'from daily petty cash dated 8/6/15\', \'25\', \'PETTY CASH\', 6430, 1, 1, \'6430\', \'3\', \'2015\', NULL, \'ORI20150713[00000054]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.025000810623169','2015-07-13 14:59:53'),(19820,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, \'AR20150300000172\', \'from daily petty cash dated 8/6/15\', \'130\', \'PETTY CASH\', 6430, 1, 1, \'6430\', \'3\', \'2015\', \'ORI20150713[00000054]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0010011196136475','2015-07-13 14:59:53'),(19821,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 6430, `total_amount_cr` = 6430, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000172\'','gltransaction/otherreceiveposting','0.013999938964844','2015-07-13 14:59:53'),(19822,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'820\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 15:00:02'),(19823,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000172\'','Gltransaction/journalPosting','0.033002138137817','2015-07-13 15:00:02'),(19824,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.055003881454468','2015-07-13 15:00:02'),(19825,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.0099999904632568','2015-07-13 15:00:02'),(19826,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\', \'MARJO\', \'\', \'W169\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-07-13\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.013000965118408','2015-07-13 15:04:39'),(19827,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, \'193\', \'INV2015\', \'2015-06-11\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'200\', \'200\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.023000955581665','2015-07-13 15:07:10'),(19828,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (246, \'1\', \'2\', \'59\', \'Pindah Endorsment\', \'200\', \'8\', \'0\', \'0\', \'200\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.027002096176147','2015-07-13 15:07:10'),(19829,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'200\' WHERE `ID` =  246','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010001659393311','2015-07-13 15:07:10'),(19830,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'246\', \'2\', \'2\', \'58\', \'SERVICE FEE\', \'153.77\', \'2\', \'6\', \'9.23\', \'163\')','Artransaction/saveNewSaleDetailOnlyCharges','0.010000944137573','2015-07-13 15:09:35'),(19831,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'9.23\', `totalAmount` = \'363\', `totalReceivable` = \'363\' WHERE `ID` =  \'246\'','Artransaction/saveNewSaleDetailOnlyCharges','0.017001152038574','2015-07-13 15:09:35'),(19832,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 173 WHERE `ID` =  \'8\'','artransaction/directInvoicePosting','0.022001028060913','2015-07-13 15:10:00'),(19833,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `journalNo` = \'AR20150300000173\', `updateAble` = \'0\' WHERE `ID` =  \'246\'','artransaction/directInvoicePosting','0.0049998760223389','2015-07-13 15:10:00'),(19834,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\', \'AR20150300000173\', \'INV2015[00000175]\', \'Posting Direct Sales Invoices [ INV2015[00000175] ]\', \'2\', \'2015-06-11\', \'2015\', \'3\', 363, 363, \'2\')','artransaction/directInvoicePosting','0.044002056121826','2015-07-13 15:10:00'),(19835,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, \'AR20150300000173\', \'Pindah Endorsment\', \'20\', \'MARJO\', 200, \'1\', \'1\', \'200\', \'3\', \'2015\', \'1\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.027002096176147','2015-07-13 15:10:00'),(19836,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\', \'AR20150300000173\', 2, \'Pindah Endorsment\', \'59\', \'MARJO\', 200, \'1\', \'1\', \'200\', \'3\', \'2015\', \'1\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0010001659393311','2015-07-13 15:10:00'),(19837,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, \'AR20150300000173\', \'SERVICE FEE\', \'20\', \'MARJO\', 153.77, \'1\', \'1\', \'153.77\', \'3\', \'2015\', \'2\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.00099992752075195','2015-07-13 15:10:00'),(19838,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\', \'AR20150300000173\', 4, \'SERVICE FEE\', \'58\', \'MARJO\', 153.77, \'1\', \'1\', \'153.77\', \'3\', \'2015\', \'2\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.011001110076904','2015-07-13 15:10:00'),(19839,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, \'AR20150300000173\', \'SERVICE FEE\', \'20\', \'MARJO\', 9.23, \'1\', \'1\', \'9.23\', \'3\', \'2015\', \'2\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.002000093460083','2015-07-13 15:10:00'),(19840,2,2,'::1','insert','INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (\'2\', 6, \'AR20150300000173\', \'SERVICE FEE\', \'40\', \'MARJO\', 9.23, \'1\', \'1\', \'9.23\', \'3\', \'2015\', \'2\', \'INV2015[00000175]\', \'0\', \'2\')','artransaction/directInvoicePosting','0.0019998550415039','2015-07-13 15:10:00'),(19841,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 363, `total_amount_cr` = 363, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000173\'','artransaction/directInvoicePosting','0.025001049041748','2015-07-13 15:10:00'),(19842,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'821\'','Gltransaction/journalPosting','0.00099992752075195','2015-07-13 15:10:19'),(19843,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000173\'','Gltransaction/journalPosting','0.096006155014038','2015-07-13 15:10:19'),(19844,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.067003965377808','2015-07-13 15:10:19'),(19845,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'59\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0010001659393311','2015-07-13 15:10:19'),(19846,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.005000114440918','2015-07-13 15:10:19'),(19847,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'58\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 15:10:19'),(19848,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'20\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.004000186920166','2015-07-13 15:10:19'),(19849,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'40\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.031002044677734','2015-07-13 15:10:19'),(19850,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\', \'700\', \'ORI20150713\', \'2015-06-12\', \'bank-in slip\', \'PETTY CASH\', \'3\', \'\')','gltransaction/savenewotherreveive','0.019001007080078','2015-07-13 15:12:45'),(19851,2,2,'::1','insert','INSERT INTO `comp_receive_payment_others_detail` (`receivePaymentOthersID`, `createdBy`, `description`, `lineNo`, `accountNoID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (55, \'2\', \'from daily petty cash dated 11/6/15\', \'1\', \'25\', \'700\', \'700\', \'8\', \'0\', \'0\')','gltransaction/savenewotherreveive','0.021002054214478','2015-07-13 15:12:45'),(19852,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `updateAble` = \'0\' WHERE `ID` =  \'55\'','gltransaction/otherreceiveposting','0.013999938964844','2015-07-13 15:13:01'),(19853,2,2,'::1','update','UPDATE `comp_jl_seq` SET `seqNo` = 174 WHERE `ID` =  \'8\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 15:13:01'),(19854,2,2,'::1','update','UPDATE `comp_receive_payment_others` SET `journalNo` = \'AR20150300000174\' WHERE `ID` =  \'55\'','gltransaction/otherreceiveposting','0.00099992752075195','2015-07-13 15:13:01'),(19855,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\', \'AR20150300000174\', \'ORI20150713[00000055]\', \' [ ORI20150713[00000055] ]\', \'2\', \'2015-06-12\', \'2015\', \'3\', \'700\', \'700\', \'2\')','gltransaction/otherreceiveposting','0.034002065658569','2015-07-13 15:13:01'),(19856,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\', \'AR20150300000174\', 1, \'from daily petty cash dated 11/6/15\', \'25\', \'PETTY CASH\', 700, 1, 1, \'700\', \'3\', \'2015\', NULL, \'ORI20150713[00000055]\', \'0\', \'2\')','gltransaction/otherreceiveposting','0.0099999904632568','2015-07-13 15:13:01'),(19857,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, \'AR20150300000174\', \'from daily petty cash dated 11/6/15\', \'130\', \'PETTY CASH\', 700, 1, 1, \'700\', \'3\', \'2015\', \'ORI20150713[00000055]\', NULL, \'0\', \'2\')','gltransaction/otherreceiveposting','0.0020010471343994','2015-07-13 15:13:01'),(19858,2,2,'::1','update','UPDATE `comp_journal` SET `total_amount_dr` = 700, `total_amount_cr` = 700, `total_amount` = 0 WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000174\'','gltransaction/otherreceiveposting','0.036001920700073','2015-07-13 15:13:01'),(19859,2,2,'::1','update','UPDATE `comp_journal` SET `status` = \'1\' WHERE `ID` =  \'822\'','Gltransaction/journalPosting','0.028002023696899','2015-07-13 15:13:11'),(19860,2,2,'::1','update','UPDATE `comp_journal_detail` SET `status` = \'1\' WHERE `companyID` =  \'2\' AND `journalID` =  \'AR20150300000174\'','Gltransaction/journalPosting','0.002000093460083','2015-07-13 15:13:11'),(19861,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = \'2\' WHERE `a`.`companyID` =  \'2\' AND `a`.`acctID` =  \'25\' AND `a`.`year` =  \'2015\' AND `a`.`period` =  \'3\'','Gltransaction/journalPosting','0.0039999485015869','2015-07-13 15:13:11'),(19862,2,2,'::1','update','UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  \'3\'','Gltransaction/journalPosting','0.017001152038574','2015-07-13 15:13:11'),(19863,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\', \'SUSANTI\', \'\', \'W170\', \'\', \'\', \'\', \'\', \'\', \'0\', \'458\', 0, 0, \'\', \'\', \'\', \'\', \'\', \'20\', \'\', \'\', \'\', 0, \'2015-07-14\', \'0\', \'1\')','CustomerSetup/CustomerNew','0.16000890731812','2015-07-14 11:09:25'),(19864,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, \'194\', \'INV2015\', \'2015-04-08\', \'\', \'\', \'\', \'9\', \'null\', \'1.00000\', \'2\', \'1\', \'\', \'\', \'\', \'2\', \'2\', 0, \'1450\', \'1450\', \'0\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.26001501083374','2015-07-14 11:19:02'),(19865,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (247, \'1\', \'2\', \'59\', \'LEVY\', \'1450\', \'8\', \'0\', \'0\', \'1450\')','Artransaction/saveNewDirectSaleInvoiceCharges','0.051002979278564','2015-07-14 11:19:02'),(19866,2,2,'::1','update','UPDATE `comp_sales_invoice` SET `totalTaxAmount` = \'0\', `totalAmount` = \'1450\' WHERE `ID` =  247','Artransaction/saveNewDirectSaleInvoiceCharges','0.0010011196136475','2015-07-14 11:19:02'),(19867,2,2,'::1','insert','INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (\'247\', \'2\', \'2\', \'121\', \'IG (Insurance Guarantee)\', \'68\', \'8\', \'0\', \'0\', \'68\')','Artransaction/saveNewSaleDetailOnlyCharges','0.0090000629425049','2015-07-14 11:19:23'),