INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(9577, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000124'', 10, ''SERVICE FEE'', ''58'', ''HOZAIRI'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000034]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:36'),
(9578, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000124'', ''SERVICE FEE'', ''20'', ''HOZAIRI'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000034]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:36'),
(9579, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000124'', ''SERVICE FEE'', ''40'', ''HOZAIRI'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000034]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:36'),
(9580, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000124''', 'artransaction/directInvoicePosting', '0.026001930236816', '2015-06-03 15:28:36'),
(9581, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 125 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.022000789642334', '2015-06-03 15:28:36'),
(9582, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000125'', `updateAble` = ''0'' WHERE `ID` =  ''106''', 'artransaction/directInvoicePosting', '0.039003133773804', '2015-06-03 15:28:36'),
(9583, 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'', ''AR20150200000125'', ''INV2015[00000035]'', ''Posting Direct Sales Invoices [ INV2015[00000035] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.0079998970031738', '2015-06-03 15:28:36'),
(9584, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''LEVY'', ''20'', ''FERI IRWANUDIN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:36'),
(9585, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000125'', 2, ''LEVY'', ''59'', ''FERI IRWANUDIN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9586, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''IG (Insurance Guarantee)'', ''20'', ''FERI IRWANUDIN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9587, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000125'', 4, ''IG (Insurance Guarantee)'', ''121'', ''FERI IRWANUDIN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9588, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''FERI IRWANUDIN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9589, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000125'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''FERI IRWANUDIN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9590, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''FERI IRWANUDIN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9591, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000125'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''FERI IRWANUDIN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9592, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''SERVICE FEE'', ''20'', ''FERI IRWANUDIN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9593, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000125'', 10, ''SERVICE FEE'', ''58'', ''FERI IRWANUDIN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9594, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000125'', ''SERVICE FEE'', ''20'', ''FERI IRWANUDIN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9595, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000125'', ''SERVICE FEE'', ''40'', ''FERI IRWANUDIN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000035]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9596, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000125''', 'artransaction/directInvoicePosting', '0.053002834320068', '2015-06-03 15:28:37'),
(9597, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 126 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9598, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000126'', `updateAble` = ''0'' WHERE `ID` =  ''107''', 'artransaction/directInvoicePosting', '0.041002035140991', '2015-06-03 15:28:37'),
(9599, 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'', ''AR20150200000126'', ''INV2015[00000036]'', ''Posting Direct Sales Invoices [ INV2015[00000036] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9600, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''LEVY'', ''20'', ''SAFEI'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9601, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000126'', 2, ''LEVY'', ''59'', ''SAFEI'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9602, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''IG (Insurance Guarantee)'', ''20'', ''SAFEI'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9603, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000126'', 4, ''IG (Insurance Guarantee)'', ''121'', ''SAFEI'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9604, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''SAFEI'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9605, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000126'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''SAFEI'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9606, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''SAFEI'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:28:37'),
(9607, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000126'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''SAFEI'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9608, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''SERVICE FEE'', ''20'', ''SAFEI'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0', '2015-06-03 15:28:37'),
(9609, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000126'', 10, ''SERVICE FEE'', ''58'', ''SAFEI'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9610, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000126'', ''SERVICE FEE'', ''20'', ''SAFEI'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-06-03 15:28:37'),
(9611, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000126'', ''SERVICE FEE'', ''40'', ''SAFEI'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000036]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:28:37'),
(9612, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000126''', 'artransaction/directInvoicePosting', '0.010000944137573', '2015-06-03 15:28:37'),
(9613, 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'', ''100'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000029]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.038003206253052', '2015-06-03 15:31:33'),
(9614, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 98, ''100'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.066003084182739', '2015-06-03 15:31:33'),
(9615, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''100''', 'arTransaction/saveNewReceivePayment', '0.016000986099243', '2015-06-03 15:31:33'),
(9616, 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'', ''101'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', '' 	INV2015[00000030]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.0090010166168213', '2015-06-03 15:32:30'),
(9617, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 99, ''101'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:32:30'),
(9618, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''101''', 'arTransaction/saveNewReceivePayment', '0', '2015-06-03 15:32:30'),
(9619, 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'', ''102'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000031]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.01200008392334', '2015-06-03 15:33:11'),
(9620, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 100, ''102'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:33:11'),
(9621, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''102''', 'arTransaction/saveNewReceivePayment', '0.0010011196136475', '2015-06-03 15:33:11'),
(9622, 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'', ''103'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000032]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.0090010166168213', '2015-06-03 15:34:10'),
(9623, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 101, ''103'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:34:10'),
(9624, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''103''', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:34:10'),
(9625, 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'', ''104'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000033]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.013999938964844', '2015-06-03 15:34:52'),
(9626, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 102, ''104'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.0010001659393311', '2015-06-03 15:34:52'),
(9627, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''104''', 'arTransaction/saveNewReceivePayment', '0.013000011444092', '2015-06-03 15:34:52'),
(9628, 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'', ''105'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000034]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.015001058578491', '2015-06-03 15:35:42'),
(9629, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 103, ''105'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:35:42'),
(9630, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''105''', 'arTransaction/saveNewReceivePayment', '0', '2015-06-03 15:35:42'),
(9631, 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'', ''106'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000035]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.012001037597656', '2015-06-03 15:36:24'),
(9632, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 104, ''106'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.0010001659393311', '2015-06-03 15:36:24'),
(9633, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''106''', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:36:24'),
(9634, 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'', ''107'', '''', '''', ''RP20150603'', ''2015-05-27'', ''5'', 0, ''2650'', ''68'', '''', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.013001203536987', '2015-06-03 15:37:08'),
(9635, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 105, ''107'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:37:08'),
(9636, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''107''', 'arTransaction/saveNewReceivePayment', '0.027001857757568', '2015-06-03 15:37:08'),
(9637, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''98'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.018001079559326', '2015-06-03 15:37:25'),
(9638, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 127 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.01400089263916', '2015-06-03 15:37:25'),
(9639, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000127'' WHERE `ID` =  ''98''', 'artransaction/paymentPosting', '0.0090010166168213', '2015-06-03 15:37:25'),
(9640, 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'', ''AR20150200000127'', ''RP20150603[00000029]'', ''Posting Received Payment [ RP20150603[00000029] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.11400604248047', '2015-06-03 15:37:25'),
(9641, 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'', ''AR20150200000127'', 1, ''EKO PURNOMO'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000029]'', ''2'')', 'artransaction/paymentPosting', '0.14400887489319', '2015-06-03 15:37:25'),
(9642, 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, ''AR20150200000127'', ''EKO PURNOMO'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000029]'', ''2'')', 'artransaction/paymentPosting', '0.019001007080078', '2015-06-03 15:37:25'),
(9643, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''99'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:25'),
(9644, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 128 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:25'),
(9645, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000128'' WHERE `ID` =  ''99''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:25'),
(9646, 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'', ''AR20150200000128'', ''RP20150603[00000030]'', ''Posting Received Payment [ RP20150603[00000030] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:25'),
(9647, 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'', ''AR20150200000128'', 1, ''MISRI'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000030]'', ''2'')', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:25'),
(9648, 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, ''AR20150200000128'', ''MISRI'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000030]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:25'),
(9649, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''100'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9650, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 129 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9651, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000129'' WHERE `ID` =  ''100''', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9652, 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'', ''AR20150200000129'', ''RP20150603[00000031]'', ''Posting Received Payment [ RP20150603[00000031] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.014001131057739', '2015-06-03 15:37:26'),
(9653, 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'', ''AR20150200000129'', 1, ''RUMLI'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000031]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9654, 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, ''AR20150200000129'', ''RUMLI'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000031]'', ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9655, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''101'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9656, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 130 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9657, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000130'' WHERE `ID` =  ''101''', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9658, 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'', ''AR20150200000130'', ''RP20150603[00000032]'', ''Posting Received Payment [ RP20150603[00000032] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9659, 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'', ''AR20150200000130'', 1, ''BUNALI'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000032]'', ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9660, 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, ''AR20150200000130'', ''BUNALI'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000032]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9661, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''102'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9662, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 131 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.017001152038574', '2015-06-03 15:37:26'),
(9663, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000131'' WHERE `ID` =  ''102''', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9664, 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'', ''AR20150200000131'', ''RP20150603[00000033]'', ''Posting Received Payment [ RP20150603[00000033] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.003000020980835', '2015-06-03 15:37:26'),
(9665, 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'', ''AR20150200000131'', 1, ''BUSAR'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000033]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9666, 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, ''AR20150200000131'', ''BUSAR'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000033]'', ''2'')', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9667, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''103'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9668, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 132 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9669, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000132'' WHERE `ID` =  ''103''', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9670, 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'', ''AR20150200000132'', ''RP20150603[00000034]'', ''Posting Received Payment [ RP20150603[00000034] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9671, 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'', ''AR20150200000132'', 1, ''HOZAIRI'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000034]'', ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9672, 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, ''AR20150200000132'', ''HOZAIRI'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000034]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9673, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''104'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.023002147674561', '2015-06-03 15:37:26'),
(9674, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 133 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:37:26'),
(9675, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000133'' WHERE `ID` =  ''104''', 'artransaction/paymentPosting', '0.003000020980835', '2015-06-03 15:37:26'),
(9676, 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'', ''AR20150200000133'', ''RP20150603[00000035]'', ''Posting Received Payment [ RP20150603[00000035] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9677, 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'', ''AR20150200000133'', 1, ''FERI IRWANUDIN'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000035]'', ''2'')', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9678, 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, ''AR20150200000133'', ''FERI IRWANUDIN'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000035]'', ''2'')', 'artransaction/paymentPosting', '0', '2015-06-03 15:37:26'),
(9679, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''105'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9680, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 134 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.0020010471343994', '2015-06-03 15:37:26'),
(9681, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000134'' WHERE `ID` =  ''105''', 'artransaction/paymentPosting', '0.0039999485015869', '2015-06-03 15:37:26'),
(9682, 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'', ''AR20150200000134'', ''RP20150603[00000036]'', ''Posting Received Payment [ RP20150603[00000036] ]'', ''2'', ''2015-05-27'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:37:26'),
(9683, 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'', ''AR20150200000134'', 1, ''SAFEI'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000036]'', ''2'')', 'artransaction/paymentPosting', '0.0039999485015869', '2015-06-03 15:37:26'),
(9684, 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, ''AR20150200000134'', ''SAFEI'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000036]'', ''2'')', 'artransaction/paymentPosting', '0.022001981735229', '2015-06-03 15:37:26'),
(9685, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''307''', 'Gltransaction/journalPosting', '0.022001981735229', '2015-06-03 15:38:45'),
(9686, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000129''', 'Gltransaction/journalPosting', '0.056003093719482', '2015-06-03 15:38:45'),
(9687, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0090000629425049', '2015-06-03 15:38:45'),
(9688, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:45'),
(9689, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''308''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:46'),
(9690, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000130''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:46'),
(9691, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9692, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9693, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''309''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:38:46'),
(9694, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000131''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:38:46'),
(9695, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9696, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9697, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''310''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:46'),
(9698, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000132''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:38:46'),
(9699, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9700, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9701, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''311''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:46'),
(9702, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000133''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:38:46'),
(9703, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9704, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9705, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''312''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:46'),
(9706, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000134''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:38:46');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(9707, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.004000186920166', '2015-06-03 15:38:46'),
(9708, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 15:38:46'),
(9709, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''297''', 'Gltransaction/journalPosting', '0.010001182556152', '2015-06-03 15:38:46'),
(9710, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000119''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:46'),
(9711, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0090000629425049', '2015-06-03 15:38:46'),
(9712, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:46'),
(9713, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.011000156402588', '2015-06-03 15:38:46'),
(9714, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:46'),
(9715, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0039999485015869', '2015-06-03 15:38:46'),
(9716, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:46'),
(9717, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:46'),
(9718, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:46'),
(9719, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0060000419616699', '2015-06-03 15:38:46'),
(9720, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0010001659393311', '2015-06-03 15:38:46'),
(9721, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:46'),
(9722, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:46'),
(9723, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''298''', 'Gltransaction/journalPosting', '0.04200291633606', '2015-06-03 15:38:47'),
(9724, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000120''', 'Gltransaction/journalPosting', '0.037002086639404', '2015-06-03 15:38:47'),
(9725, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.070003986358643', '2015-06-03 15:38:47'),
(9726, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:47'),
(9727, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0050010681152344', '2015-06-03 15:38:47'),
(9728, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-06-03 15:38:47'),
(9729, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 15:38:47'),
(9730, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0020008087158203', '2015-06-03 15:38:47'),
(9731, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 15:38:47'),
(9732, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:47'),
(9733, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:47'),
(9734, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0020010471343994', '2015-06-03 15:38:47'),
(9735, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:47'),
(9736, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:47'),
(9737, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''299''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9738, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000121''', 'Gltransaction/journalPosting', '0.03200101852417', '2015-06-03 15:38:47'),
(9739, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 15:38:47'),
(9740, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:47'),
(9741, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0019998550415039', '2015-06-03 15:38:47'),
(9742, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9743, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9744, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:47'),
(9745, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0030009746551514', '2015-06-03 15:38:47'),
(9746, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9747, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9748, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 15:38:47'),
(9749, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9750, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0020010471343994', '2015-06-03 15:38:47'),
(9751, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''300''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:47'),
(9752, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000122''', 'Gltransaction/journalPosting', '0.018001079559326', '2015-06-03 15:38:47'),
(9753, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0030009746551514', '2015-06-03 15:38:47'),
(9754, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9755, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0019998550415039', '2015-06-03 15:38:47'),
(9756, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:47'),
(9757, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9758, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9759, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0030009746551514', '2015-06-03 15:38:47'),
(9760, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:47'),
(9761, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9762, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0010001659393311', '2015-06-03 15:38:47'),
(9763, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:47'),
(9764, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:47'),
(9765, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''301''', 'Gltransaction/journalPosting', '0.0010008811950684', '2015-06-03 15:38:48'),
(9766, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000123''', 'Gltransaction/journalPosting', '0.066003084182739', '2015-06-03 15:38:48'),
(9767, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0070009231567383', '2015-06-03 15:38:48'),
(9768, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:48'),
(9769, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 15:38:48'),
(9770, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-06-03 15:38:48'),
(9771, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9772, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:48'),
(9773, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9774, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:48'),
(9775, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9776, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 15:38:48'),
(9777, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0039999485015869', '2015-06-03 15:38:48'),
(9778, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:48'),
(9779, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''302''', 'Gltransaction/journalPosting', '0.038002014160156', '2015-06-03 15:38:48'),
(9780, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000124''', 'Gltransaction/journalPosting', '0.01400089263916', '2015-06-03 15:38:48'),
(9781, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034002065658569', '2015-06-03 15:38:48'),
(9782, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:48'),
(9783, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:48'),
(9784, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:48'),
(9785, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0060009956359863', '2015-06-03 15:38:48'),
(9786, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:48'),
(9787, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:48'),
(9788, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0030009746551514', '2015-06-03 15:38:48'),
(9789, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:48'),
(9790, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 15:38:48');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(9791, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:48'),
(9792, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0020010471343994', '2015-06-03 15:38:48'),
(9793, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''303''', 'Gltransaction/journalPosting', '0.012001037597656', '2015-06-03 15:38:48'),
(9794, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000125''', 'Gltransaction/journalPosting', '0.013999938964844', '2015-06-03 15:38:48'),
(9795, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.010999917984009', '2015-06-03 15:38:48'),
(9796, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.003000020980835', '2015-06-03 15:38:48'),
(9797, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0039999485015869', '2015-06-03 15:38:48'),
(9798, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0069999694824219', '2015-06-03 15:38:48'),
(9799, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.012001037597656', '2015-06-03 15:38:48'),
(9800, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0049998760223389', '2015-06-03 15:38:48'),
(9801, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9802, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0020008087158203', '2015-06-03 15:38:48'),
(9803, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0039999485015869', '2015-06-03 15:38:48'),
(9804, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0069999694824219', '2015-06-03 15:38:48'),
(9805, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0040011405944824', '2015-06-03 15:38:48'),
(9806, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:48'),
(9807, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''304''', 'Gltransaction/journalPosting', '0.011001110076904', '2015-06-03 15:38:48'),
(9808, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000126''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:48'),
(9809, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0070009231567383', '2015-06-03 15:38:48'),
(9810, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:48'),
(9811, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.005000114440918', '2015-06-03 15:38:48'),
(9812, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:38:48'),
(9813, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9814, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0030009746551514', '2015-06-03 15:38:48'),
(9815, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9816, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:38:48'),
(9817, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9818, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0019998550415039', '2015-06-03 15:38:48'),
(9819, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:48'),
(9820, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:48'),
(9821, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''305''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:49'),
(9822, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000127''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:38:49'),
(9823, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0079998970031738', '2015-06-03 15:38:49'),
(9824, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:49'),
(9825, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''306''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:38:49'),
(9826, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000128''', 'Gltransaction/journalPosting', '0.0020010471343994', '2015-06-03 15:38:49'),
(9827, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:49'),
(9828, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:38:49'),
(9829, 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'', ''MODELAN'', '''', ''W104'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-06-03'', ''0'', ''1'')', 'customerSetup/CustomerNew', '0.010999917984009', '2015-06-03 15:40:04'),
(9830, 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'', ''ASNADIN'', '''', ''W105'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-06-03'', ''0'', ''1'')', 'customerSetup/CustomerNew', '0.017000913619995', '2015-06-03 15:40:23'),
(9831, 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, ''108'', ''INV2015'', ''2015-05-28'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.023001909255981', '2015-06-03 15:41:32'),
(9832, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (108, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.025001049041748', '2015-06-03 15:41:32'),
(9833, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  108', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0', '2015-06-03 15:41:32'),
(9834, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''108'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.012001037597656', '2015-06-03 15:41:50'),
(9835, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''108''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090010166168213', '2015-06-03 15:41:50'),
(9836, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''108'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', ''8'', ''0'', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0080010890960693', '2015-06-03 15:42:13'),
(9837, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''108''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.00099992752075195', '2015-06-03 15:42:13'),
(9838, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''108'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013000011444092', '2015-06-03 15:42:45'),
(9839, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''108''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.019001007080078', '2015-06-03 15:42:45'),
(9840, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''108'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.014999866485596', '2015-06-03 15:43:16'),
(9841, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''108''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.013999938964844', '2015-06-03 15:43:16'),
(9842, 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, ''109'', ''INV2015'', ''2015-05-28'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.025001049041748', '2015-06-03 15:44:03'),
(9843, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (109, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.00099992752075195', '2015-06-03 15:44:03'),
(9844, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  109', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0', '2015-06-03 15:44:03'),
(9845, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''109'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090000629425049', '2015-06-03 15:44:23'),
(9846, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''109''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.00099992752075195', '2015-06-03 15:44:23'),
(9847, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''109'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', ''8'', ''0'', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0079998970031738', '2015-06-03 15:44:48'),
(9848, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''109''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.019001960754395', '2015-06-03 15:44:48'),
(9849, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''109'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0069999694824219', '2015-06-03 15:45:11'),
(9850, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''109''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.011000871658325', '2015-06-03 15:45:11'),
(9851, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''109'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.015001058578491', '2015-06-03 15:45:31'),
(9852, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''109''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.038002014160156', '2015-06-03 15:45:31'),
(9853, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 135 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.021001100540161', '2015-06-03 15:52:31'),
(9854, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000135'', `updateAble` = ''0'' WHERE `ID` =  ''108''', 'artransaction/directInvoicePosting', '0.013000965118408', '2015-06-03 15:52:31'),
(9855, 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'', ''AR20150200000135'', ''INV2015[00000037]'', ''Posting Direct Sales Invoices [ INV2015[00000037] ]'', ''2'', ''2015-05-28'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.037001848220825', '2015-06-03 15:52:31'),
(9856, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''LEVY'', ''20'', ''MODELAN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03400182723999', '2015-06-03 15:52:31'),
(9857, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000135'', 2, ''LEVY'', ''59'', ''MODELAN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9858, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''IG (Insurance Guarantee)'', ''20'', ''MODELAN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9859, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000135'', 4, ''IG (Insurance Guarantee)'', ''121'', ''MODELAN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010011196136475', '2015-06-03 15:52:31'),
(9860, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''MODELAN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9861, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000135'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''MODELAN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9862, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''MODELAN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9863, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000135'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''MODELAN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9864, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''SERVICE FEE'', ''20'', ''MODELAN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9865, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000135'', 10, ''SERVICE FEE'', ''58'', ''MODELAN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9866, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000135'', ''SERVICE FEE'', ''20'', ''MODELAN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9867, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000135'', ''SERVICE FEE'', ''40'', ''MODELAN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000037]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9868, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000135''', 'artransaction/directInvoicePosting', '0.017000913619995', '2015-06-03 15:52:31'),
(9869, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 136 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-06-03 15:52:31'),
(9870, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000136'', `updateAble` = ''0'' WHERE `ID` =  ''109''', 'artransaction/directInvoicePosting', '0.035001993179321', '2015-06-03 15:52:31'),
(9871, 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'', ''AR20150200000136'', ''INV2015[00000038]'', ''Posting Direct Sales Invoices [ INV2015[00000038] ]'', ''2'', ''2015-05-28'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.0099999904632568', '2015-06-03 15:52:31'),
(9872, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''LEVY'', ''20'', ''ASNADIN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9873, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000136'', 2, ''LEVY'', ''59'', ''ASNADIN'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-06-03 15:52:31'),
(9874, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''IG (Insurance Guarantee)'', ''20'', ''ASNADIN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 15:52:31'),
(9875, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000136'', 4, ''IG (Insurance Guarantee)'', ''121'', ''ASNADIN'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9876, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''ASNADIN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9877, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000136'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''ASNADIN'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010011196136475', '2015-06-03 15:52:31'),
(9878, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''ASNADIN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.003000020980835', '2015-06-03 15:52:31'),
(9879, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000136'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''ASNADIN'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9880, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''SERVICE FEE'', ''20'', ''ASNADIN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9881, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000136'', 10, ''SERVICE FEE'', ''58'', ''ASNADIN'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9882, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000136'', ''SERVICE FEE'', ''20'', ''ASNADIN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.003000020980835', '2015-06-03 15:52:31'),
(9883, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000136'', ''SERVICE FEE'', ''40'', ''ASNADIN'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000038]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9884, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000136''', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 15:52:31'),
(9885, 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'', ''108'', '''', '''', ''RP20150603'', ''2015-05-28'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000037]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:55:05'),
(9886, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 106, ''108'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.033002138137817', '2015-06-03 15:55:05'),
(9887, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''108''', 'arTransaction/saveNewReceivePayment', '0.0079998970031738', '2015-06-03 15:55:05'),
(9888, 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'', ''109'', '''', '''', ''RP20150603'', ''2015-05-28'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000038]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:55:56'),
(9889, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 107, ''109'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 15:55:56'),
(9890, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''109''', 'arTransaction/saveNewReceivePayment', '0.015001058578491', '2015-06-03 15:55:56'),
(9891, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''106'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.0080008506774902', '2015-06-03 15:56:12'),
(9892, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 137 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:56:12'),
(9893, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000137'' WHERE `ID` =  ''106''', 'artransaction/paymentPosting', '0.024002075195312', '2015-06-03 15:56:12'),
(9894, 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'', ''AR20150200000137'', ''RP20150603[00000037]'', ''Posting Received Payment [ RP20150603[00000037] ]'', ''2'', ''2015-05-28'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.048002958297729', '2015-06-03 15:56:12'),
(9895, 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'', ''AR20150200000137'', 1, ''MODELAN'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000037]'', ''2'')', 'artransaction/paymentPosting', '0.041002035140991', '2015-06-03 15:56:12');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(9896, 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, ''AR20150200000137'', ''MODELAN'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000037]'', ''2'')', 'artransaction/paymentPosting', '0.0010001659393311', '2015-06-03 15:56:12'),
(9897, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''107'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:56:12'),
(9898, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 138 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0', '2015-06-03 15:56:12'),
(9899, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000138'' WHERE `ID` =  ''107''', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:56:12'),
(9900, 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'', ''AR20150200000138'', ''RP20150603[00000038]'', ''Posting Received Payment [ RP20150603[00000038] ]'', ''2'', ''2015-05-28'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.002000093460083', '2015-06-03 15:56:12'),
(9901, 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'', ''AR20150200000138'', 1, ''ASNADIN'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000038]'', ''2'')', 'artransaction/paymentPosting', '0.003000020980835', '2015-06-03 15:56:12'),
(9902, 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, ''AR20150200000138'', ''ASNADIN'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000038]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 15:56:12'),
(9903, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others` (`memo`, `companyID`, `createdBy`, `otherPaymentType`, `paymentMethodID`, `amountPaid`, `formNo`, `paymentDate`, `referenceNo`, `payTo`, `bankId`, `projectID`) VALUES ('''', ''2'', ''2'', 1, ''68'', ''50'', ''OPN2015'', ''2015-05-28'', ''MILLEAGE'', ''EMA'', ''5'', '''')', 'gltransaction/savenewpaywithOutItem', '0.081005096435547', '2015-06-03 15:59:00'),
(9904, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment_others_without_item` (`otherPaymentID`, `createdBy`, `itemdescription`, `lineNo`, `accountID`, `amountIncludedTax`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`) VALUES (35, ''2'', ''TO JLN DUTA'', ''1'', ''87'', ''50'', ''50'', ''23'', ''0'', ''0'')', 'gltransaction/savenewpaywithOutItem', '0.046002864837646', '2015-06-03 15:59:00'),
(9905, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `updateAble` = ''0'' WHERE `ID` =  ''35''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-06-03 15:59:23'),
(9906, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  ''6''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-06-03 15:59:23'),
(9907, 2, 2, '::1', 'update', 'UPDATE `comp_payment_others` SET `journalNo` = ''AP20150200000057'' WHERE `ID` =  ''35''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-06-03 15:59:23'),
(9908, 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'', ''AP20150200000057'', ''Other Payment [OPN2015[00000014]]]'', ''Other Payment [OPN2015[00000014]]]'', ''3'', ''2015-05-28'', ''2015'', ''2'', 50, 50, ''2'')', 'gltransaction/otherpaymentposting', '0.023002147674561', '2015-06-03 15:59:23'),
(9909, 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'', ''AP20150200000057'', 1, ''TO JLN DUTA'', ''25'', 50, 1, 1, ''50'', ''2'', ''2015'', ''1'', ''OPN2015[00000014]'', ''2'')', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-06-03 15:59:23'),
(9910, 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'', ''AP20150200000057'', 2, ''TO JLN DUTA'', ''87'', 50, 1, 1, ''50'', ''2'', ''2015'', ''1'', ''OPN2015[00000014]'', ''2'')', 'gltransaction/otherpaymentposting', '0.0010001659393311', '2015-06-03 15:59:23'),
(9911, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 50, `total_amount_cr` = 50, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000057''', 'gltransaction/otherpaymentposting', '0.00099992752075195', '2015-06-03 15:59:23'),
(9912, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''313''', 'Gltransaction/journalPosting', '0.018000841140747', '2015-06-03 15:59:37'),
(9913, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000135''', 'Gltransaction/journalPosting', '0.024001121520996', '2015-06-03 15:59:37'),
(9914, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029001951217651', '2015-06-03 15:59:37'),
(9915, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:59:37'),
(9916, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.004000186920166', '2015-06-03 15:59:37'),
(9917, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:37'),
(9918, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0050010681152344', '2015-06-03 15:59:37'),
(9919, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.019001007080078', '2015-06-03 15:59:37'),
(9920, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 15:59:37'),
(9921, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.011000871658325', '2015-06-03 15:59:37'),
(9922, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.013000965118408', '2015-06-03 15:59:37'),
(9923, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 15:59:37'),
(9924, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028002023696899', '2015-06-03 15:59:37'),
(9925, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 15:59:37'),
(9926, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''314''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:37'),
(9927, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000136''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:59:37'),
(9928, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9929, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 15:59:37'),
(9930, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9931, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:59:37'),
(9932, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9933, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:37'),
(9934, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9935, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.010001182556152', '2015-06-03 15:59:37'),
(9936, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9937, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.00099992752075195', '2015-06-03 15:59:37'),
(9938, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:37'),
(9939, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0020010471343994', '2015-06-03 15:59:37'),
(9940, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''315''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:38'),
(9941, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000137''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:38'),
(9942, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:38'),
(9943, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:38'),
(9944, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''316''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:59:38'),
(9945, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000138''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:59:38'),
(9946, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 15:59:38'),
(9947, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.003000020980835', '2015-06-03 15:59:38'),
(9948, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''317''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-03 15:59:38'),
(9949, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000057''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 15:59:38'),
(9950, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0010001659393311', '2015-06-03 15:59:38'),
(9951, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''87'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0', '2015-06-03 15:59:38'),
(9952, 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'', ''HERU'', '''', ''W106'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''20'', '''', '''', '''', 0, ''2015-06-03'', ''0'', ''1'')', 'customerSetup/CustomerNew', '0.040003061294556', '2015-06-03 16:00:27'),
(9953, 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, ''110'', ''INV2015'', ''2015-05-29'', '''', '''', '''', ''9'', ''null'', ''1.00000'', ''2'', ''1'', '''', '''', '''', ''2'', ''2'', 0, ''1450'', ''1450'', ''0'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.038002014160156', '2015-06-03 16:01:13'),
(9954, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (110, ''1'', ''2'', ''59'', ''LEVY'', ''1450'', ''8'', ''0'', ''0'', ''1450'')', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.021002054214478', '2015-06-03 16:01:13'),
(9955, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  110', 'Artransaction/saveNewDirectSaleInvoiceCharges', '0.0010001659393311', '2015-06-03 16:01:13'),
(9956, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''110'', ''2'', ''2'', ''121'', ''IG (Insurance Guarantee)'', ''68'', ''8'', ''0'', ''0'', ''68'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.029001951217651', '2015-06-03 16:01:46'),
(9957, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1518'', `totalReceivable` = ''1518'' WHERE `ID` =  ''110''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.002000093460083', '2015-06-03 16:01:46'),
(9958, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''110'', ''3'', ''2'', ''122'', ''FWCS (Foreign Worker Compensation Scheme)'', ''76.3'', ''8'', ''0'', ''0'', ''76.3'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.025002002716064', '2015-06-03 16:02:07'),
(9959, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1594.3'', `totalReceivable` = ''1594.3'' WHERE `ID` =  ''110''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0010001659393311', '2015-06-03 16:02:07'),
(9960, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''110'', ''4'', ''2'', ''123'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''127.2'', ''8'', ''0'', ''0'', ''127.2'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0090010166168213', '2015-06-03 16:02:26'),
(9961, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1721.5'', `totalReceivable` = ''1721.5'' WHERE `ID` =  ''110''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.002000093460083', '2015-06-03 16:02:26'),
(9962, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''110'', ''5'', ''2'', ''58'', ''SERVICE FEE'', ''875.94'', ''2'', ''6'', ''52.56'', ''928.5'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0099999904632568', '2015-06-03 16:02:43'),
(9963, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''52.56'', `totalAmount` = ''2650'', `totalReceivable` = ''2650'' WHERE `ID` =  ''110''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0', '2015-06-03 16:02:43'),
(9964, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 139 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.0019998550415039', '2015-06-03 16:03:05'),
(9965, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150200000139'', `updateAble` = ''0'' WHERE `ID` =  ''110''', 'artransaction/directInvoicePosting', '0.002000093460083', '2015-06-03 16:03:05'),
(9966, 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'', ''AR20150200000139'', ''INV2015[00000039]'', ''Posting Direct Sales Invoices [ INV2015[00000039] ]'', ''2'', ''2015-05-29'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/directInvoicePosting', '0.043002128601074', '2015-06-03 16:03:05'),
(9967, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''LEVY'', ''20'', ''HERU'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.047003030776978', '2015-06-03 16:03:05'),
(9968, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000139'', 2, ''LEVY'', ''59'', ''HERU'', 1450, ''1'', ''1'', ''1450'', ''2'', ''2015'', ''1'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0069999694824219', '2015-06-03 16:03:05'),
(9969, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''IG (Insurance Guarantee)'', ''20'', ''HERU'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 16:03:05'),
(9970, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000139'', 4, ''IG (Insurance Guarantee)'', ''121'', ''HERU'', 68, ''1'', ''1'', ''68'', ''2'', ''2015'', ''2'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 16:03:05'),
(9971, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''FWCS (Foreign Worker Compensation Scheme)'', ''20'', ''HERU'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 16:03:05'),
(9972, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000139'', 6, ''FWCS (Foreign Worker Compensation Scheme)'', ''122'', ''HERU'', 76.3, ''1'', ''1'', ''76.3'', ''2'', ''2015'', ''3'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 16:03:05'),
(9973, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''20'', ''HERU'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 16:03:05'),
(9974, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000139'', 8, ''FWHS ( Hospitalization n Surgical Scheme for Foreign Worker)'', ''123'', ''HERU'', 127.2, ''1'', ''1'', ''127.2'', ''2'', ''2015'', ''4'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 16:03:05'),
(9975, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''SERVICE FEE'', ''20'', ''HERU'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 16:03:05'),
(9976, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AR20150200000139'', 10, ''SERVICE FEE'', ''58'', ''HERU'', 875.94, ''1'', ''1'', ''875.94'', ''2'', ''2015'', ''5'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 16:03:05'),
(9977, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AR20150200000139'', ''SERVICE FEE'', ''20'', ''HERU'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.00099992752075195', '2015-06-03 16:03:05'),
(9978, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 12, ''AR20150200000139'', ''SERVICE FEE'', ''40'', ''HERU'', 52.56, ''1'', ''1'', ''52.56'', ''2'', ''2015'', ''5'', ''INV2015[00000039]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.0039999485015869', '2015-06-03 16:03:05'),
(9979, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2650, `total_amount_cr` = 2650, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000139''', 'artransaction/directInvoicePosting', '0.0010001659393311', '2015-06-03 16:03:05'),
(9980, 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'', ''110'', '''', '''', ''RP20150603'', ''2015-05-29'', ''5'', 0, ''2650'', ''68'', ''INV2015[00000039]'', ''0'', ''0'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.012000799179077', '2015-06-03 16:04:13'),
(9981, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_payment_detail` (`lineNo`, `receivePaymentID`, `invoiceID`, `discount`, `amountApplied`) VALUES (1, 108, ''110'', ''0'', ''2650'')', 'arTransaction/saveNewReceivePayment', '0.022001028060913', '2015-06-03 16:04:13'),
(9982, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalReceivable` = 0 WHERE `ID` =  ''110''', 'arTransaction/saveNewReceivePayment', '0.00099992752075195', '2015-06-03 16:04:13'),
(9983, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''108'' AND `updateAble` =  1', 'artransaction/paymentPosting', '0', '2015-06-03 16:04:26'),
(9984, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 140 WHERE `ID` =  ''5''', 'artransaction/paymentPosting', '0.0010011196136475', '2015-06-03 16:04:26'),
(9985, 2, 2, '::1', 'update', 'UPDATE `comp_receive_payment` SET `journalNo` = ''AR20150200000140'' WHERE `ID` =  ''108''', 'artransaction/paymentPosting', '0.023000955581665', '2015-06-03 16:04:26'),
(9986, 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'', ''AR20150200000140'', ''RP20150603[00000039]'', ''Posting Received Payment [ RP20150603[00000039] ]'', ''2'', ''2015-05-29'', ''2015'', ''2'', 2650, 2650, ''2'')', 'artransaction/paymentPosting', '0.0069999694824219', '2015-06-03 16:04:26'),
(9987, 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'', ''AR20150200000140'', 1, ''HERU'', ''20'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000039]'', ''2'')', 'artransaction/paymentPosting', '0.00099992752075195', '2015-06-03 16:04:26'),
(9988, 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, ''AR20150200000140'', ''HERU'', ''25'', 2650, 1, ''1'', ''2650'', ''2'', ''2015'', ''1'', ''RP20150603[00000039]'', ''2'')', 'artransaction/paymentPosting', '0.0010011196136475', '2015-06-03 16:04:26'),
(9989, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''318''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 16:04:42'),
(9990, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000139''', 'Gltransaction/journalPosting', '0.013000965118408', '2015-06-03 16:04:42'),
(9991, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064004182815552', '2015-06-03 16:04:42'),
(9992, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.010000944137573', '2015-06-03 16:04:42'),
(9993, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.024000883102417', '2015-06-03 16:04:42'),
(9994, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.022001981735229', '2015-06-03 16:04:42'),
(9995, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0039999485015869', '2015-06-03 16:04:42'),
(9996, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 16:04:42'),
(9997, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0050008296966553', '2015-06-03 16:04:42'),
(9998, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 16:04:42'),
(9999, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0049998760223389', '2015-06-03 16:04:42'),
(10000, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0019998550415039', '2015-06-03 16:04:42');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(10001, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0060009956359863', '2015-06-03 16:04:42'),
(10002, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-03 16:04:42'),
(10003, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''319''', 'Gltransaction/journalPosting', '0', '2015-06-03 16:04:42'),
(10004, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150200000140''', 'Gltransaction/journalPosting', '0', '2015-06-03 16:04:42'),
(10005, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.002000093460083', '2015-06-03 16:04:42'),
(10006, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-03 16:04:42'),
(10007, 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, ''13'', ''2'', ''PI2015'', '''', ''2015-05-29'', ''7298531'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.071003913879395', '2015-06-03 16:32:59'),
(10008, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (45, ''2'', ''110'', ''1'', ''COMPANY PROFILE'', ''10'', ''0'', ''23'', ''0'', ''10'')', 'purchasetransaction/saveCharge', '0.1380078792572', '2015-06-03 16:32:59'),
(10009, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''10'' WHERE `ID` =  45', 'purchasetransaction/saveCharge', '0.019001007080078', '2015-06-03 16:32:59'),
(10010, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =45', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-06-03 16:32:59'),
(10011, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''110'', `chargeDescription` = ''COMPANY PROFILE'', `amountExcludedTax` = ''15'', `taxID` = ''15'', `taxRate` = ''6'', `taxAmount` = ''0.9'', `amountIncludedTax` = ''15.9'' WHERE `ID` =  ''80''', 'purchasetransaction/updateCharge', '0.02000093460083', '2015-06-03 16:35:25'),
(10012, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.9'', `totalAmount` = ''15.9'' WHERE `ID` =  ''45''', 'purchasetransaction/updateCharge', '0.0059998035430908', '2015-06-03 16:35:25'),
(10013, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''15.90'' WHERE `ID` =  ''45''', 'purchasetransaction/updateInvoice', '0.0010001659393311', '2015-06-03 16:35:25'),
(10014, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''45'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-06-03 16:36:04'),
(10015, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-03 16:36:04'),
(10016, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000058'' WHERE `ID` =  ''45''', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-06-03 16:36:04'),
(10017, 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'', ''AP20150200000058'', ''PI2015[00000027]'', ''Purchase Invoice Confirm [ PI2015[00000027] ]'', ''3'', ''2015-05-29'', ''2015'', ''2'', 15.9, 15.9, ''2'')', 'Aptransaction/invoicePosting', '0.033000946044922', '2015-06-03 16:36:04'),
(10018, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000058'', 1, ''COMPANY PROFILE'', ''36'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 15, ''1'', ''1'', ''15'', ''2'', ''2015'', ''1'', ''PI2015[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035001993179321', '2015-06-03 16:36:04'),
(10019, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000058'', ''COMPANY PROFILE'', ''110'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 15, ''1'', ''1'', ''15'', ''2'', ''2015'', ''1'', ''PI2015[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-06-03 16:36:04'),
(10020, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000058'', ''COMPANY PROFILE'', ''40'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 0.9, ''1'', ''1'', ''0.9'', ''2'', ''2015'', ''1'', ''PI2015[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-03 16:36:04'),
(10021, 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, ''AP20150200000058'', ''COMPANY PROFILE'', ''36'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 0.9, ''1'', ''1'', ''0.9'', ''2'', ''2015'', ''1'', ''PI2015[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-03 16:36:04'),
(10022, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 15.9, `total_amount_cr` = 15.9, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000058''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-06-03 16:36:04'),
(10023, 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'', ''13'', ''0'', ''15.9'', ''68'', ''PP20150603'', ''5'', ''1'', ''1.00000'', ''2015-05-29'', ''PI2015[00000027]'', 0, '''', '''', ''0.00'', ''15.90'', ''15.90'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.066004037857056', '2015-06-03 16:37:48'),
(10024, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 28,1,ID,totalAmount, totalPayable  ,0.00,15.9,2 from comp_supplier_invoice where ID=45', 'aptransaction/saveSupplierPayment', '0.069004058837891', '2015-06-03 16:37:48'),
(10025, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 15.9, totalPayable = totalAmount - amountPaid  where ID = 45', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-03 16:37:48'),
(10026, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''28''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-03 16:38:07'),
(10027, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0010011196136475', '2015-06-03 16:38:07'),
(10028, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000059'' WHERE `ID` =  ''28''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-03 16:38:07'),
(10029, 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'', ''AP20150200000059'', ''PP20150603[00000023]'', ''Payment [ PP20150603[00000023] ]'', ''3'', ''2015-05-29'', ''2015'', ''2'', 15.9, 15.9, ''2'')', 'aptransaction/paymentPosting', '0.038001775741577', '2015-06-03 16:38:07'),
(10030, 2, 2, '::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'', ''AP20150200000059'', 1, ''PI2015[00000027]'', ''25'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 15.9, ''1'', ''1'', ''15.9'', ''2'', ''2015'', ''1'', ''PP20150603[00000028]'', ''2'')', 'aptransaction/paymentPosting', '0.039002895355225', '2015-06-03 16:38:07'),
(10031, 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, ''AP20150200000059'', ''PI2015[00000027]'', ''36'', ''SURUHANJAYA SYARIKAT MALAYSIA'', 15.9, ''1'', ''1'', ''15.9'', ''2'', ''2015'', ''PP20150603[00000028]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-03 16:38:07'),
(10032, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 15.9, `total_amount_cr` = 15.9, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000059''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-03 16:38:07'),
(10033, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''320''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-06-03 16:38:26'),
(10034, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000058''', 'Gltransaction/journalPosting', '0.032001972198486', '2015-06-03 16:38:26'),
(10035, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.004000186920166', '2015-06-03 16:38:26'),
(10036, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''110'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-03 16:38:26'),
(10037, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026001930236816', '2015-06-03 16:38:26'),
(10038, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-03 16:38:26'),
(10039, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''321''', 'Gltransaction/journalPosting', '0', '2015-06-03 16:38:27'),
(10040, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000059''', 'Gltransaction/journalPosting', '0', '2015-06-03 16:38:27'),
(10041, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.016001224517822', '2015-06-03 16:38:27'),
(10042, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''36'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0049998760223389', '2015-06-03 16:38:27'),
(10043, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''3'', ''2'', ''PI2015'', '''', ''2015-05-29'', ''IMM/FW/TX1432863584867'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.059003114700317', '2015-06-04 11:20:08'),
(10044, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (46, ''2'', ''66'', ''1'', ''LEVY - 4 INDO'', ''0'', ''0'', ''23'', ''0'', ''0'')', 'purchasetransaction/saveCharge', '0.06800389289856', '2015-06-04 11:20:08'),
(10045, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''0'' WHERE `ID` =  46', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 11:20:08'),
(10046, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =46', 'purchasetransaction/saveCharge', '0', '2015-06-04 11:20:08'),
(10047, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_charges` SET `updatedBy` = ''2'', `accountNoID` = ''66'', `chargeDescription` = ''LEVY - 4 INDO'', `amountExcludedTax` = ''5800'', `taxID` = ''23'', `taxRate` = ''0'', `taxAmount` = ''0'', `amountIncludedTax` = ''5800'' WHERE `ID` =  ''81''', 'purchasetransaction/updateCharge', '0.018001079559326', '2015-06-04 11:21:02'),
(10048, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''5800'' WHERE `ID` =  ''46''', 'purchasetransaction/updateCharge', '0.010999917984009', '2015-06-04 11:21:02'),
(10049, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updatedBy` = ''2'', `totalTaxAmount` = 0, `totalPayable` = ''5,800.00'' WHERE `ID` =  ''46''', 'purchasetransaction/updateInvoice', '0.027001142501831', '2015-06-04 11:21:03'),
(10050, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''46'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.010001182556152', '2015-06-04 11:22:01'),
(10051, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.010000944137573', '2015-06-04 11:22:01'),
(10052, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000060'' WHERE `ID` =  ''46''', 'Aptransaction/invoicePosting', '0.0080001354217529', '2015-06-04 11:22:01'),
(10053, 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'', ''AP20150200000060'', ''PI2015[00000028]'', ''Purchase Invoice Confirm [ PI2015[00000028] ]'', ''3'', ''2015-05-29'', ''2015'', ''2'', 5800, 5800, ''2'')', 'Aptransaction/invoicePosting', '0.081004858016968', '2015-06-04 11:22:01'),
(10054, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000060'', 1, ''LEVY - 4 INDO'', ''64'', ''MY EG SDN. BHD.'', 5800, ''1'', ''1'', ''5800'', ''2'', ''2015'', ''1'', ''PI2015[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.066004037857056', '2015-06-04 11:22:01'),
(10055, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000060'', ''LEVY - 4 INDO'', ''66'', ''MY EG SDN. BHD.'', 5800, ''1'', ''1'', ''5800'', ''2'', ''2015'', ''1'', ''PI2015[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.021000862121582', '2015-06-04 11:22:01'),
(10056, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 5800, `total_amount_cr` = 5800, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000060''', 'Aptransaction/invoicePosting', '0.020002126693726', '2015-06-04 11:22:01'),
(10057, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''3'', ''0'', ''5800'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-05-28'', ''PI2015[00000028]'', 0, '''', '''', ''0.00'', ''5800.00'', ''5800.00'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.074004173278809', '2015-06-04 11:24:09'),
(10058, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 29,1,ID,totalAmount, totalPayable  ,0.00,5800,2 from comp_supplier_invoice where ID=46', 'aptransaction/saveSupplierPayment', '0.044002771377563', '2015-06-04 11:24:09'),
(10059, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 5800, totalPayable = totalAmount - amountPaid  where ID = 46', 'aptransaction/saveSupplierPayment', '0.013001203536987', '2015-06-04 11:24:09'),
(10060, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''29''', 'aptransaction/paymentPosting', '0.025001049041748', '2015-06-04 11:24:36'),
(10061, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 11:24:36'),
(10062, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000061'' WHERE `ID` =  ''29''', 'aptransaction/paymentPosting', '0.012001037597656', '2015-06-04 11:24:36'),
(10063, 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'', ''AP20150200000061'', ''PP20150604[00000024]'', ''Payment [ PP20150604[00000024] ]'', ''3'', ''2015-05-28'', ''2015'', ''2'', 5800, 5800, ''2'')', 'aptransaction/paymentPosting', '0.0260009765625', '2015-06-04 11:24:36'),
(10064, 2, 2, '::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'', ''AP20150200000061'', 1, ''PI2015[00000028]'', ''0'', ''MY EG SDN. BHD.'', 5800, ''1'', ''1'', ''5800'', ''2'', ''2015'', ''1'', ''PP20150604[00000029]'', ''2'')', 'aptransaction/paymentPosting', '0.036001920700073', '2015-06-04 11:24:36'),
(10065, 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, ''AP20150200000061'', ''PI2015[00000028]'', ''64'', ''MY EG SDN. BHD.'', 5800, ''1'', ''1'', ''5800'', ''2'', ''2015'', ''PP20150604[00000029]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-06-04 11:24:36'),
(10066, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 5800, `total_amount_cr` = 5800, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000061''', 'aptransaction/paymentPosting', '0.0010008811950684', '2015-06-04 11:24:36'),
(10067, 2, 2, '::1', 'insert', 'INSERT INTO `comp_financial_year` (`ID`, `companyID`, `financialYear`, `period`, `startDate`, `endDate`, `createdBy`) VALUES (0, ''2'', ''2015'', 3, ''2015-06-01'', ''2015-06-30'', ''2'')', 'glsetting/createCalendar', '0.0099999904632568', '2015-06-04 11:36:35'),
(10068, 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-03'', ''IMM/FW/TX1433297614277'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.02000093460083', '2015-06-04 11:37:23'),
(10069, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (47, ''2'', ''66'', ''1'', ''LEVY - 4 Bangla & 1 Indo'', ''7270'', ''0'', ''23'', ''0'', ''7270'')', 'purchasetransaction/saveCharge', '0.0090010166168213', '2015-06-04 11:37:23'),
(10070, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''7270'' WHERE `ID` =  47', 'purchasetransaction/saveCharge', '0.012000799179077', '2015-06-04 11:37:23'),
(10071, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =47', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 11:37:23'),
(10072, 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-03'', ''IMM/FW/TX1433297826278'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.017001152038574', '2015-06-04 11:39:04'),
(10073, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (48, ''2'', ''66'', ''1'', ''LEVY - 1 INDO'', ''1450'', ''0'', ''23'', ''0'', ''1450'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 11:39:04'),
(10074, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  48', 'purchasetransaction/saveCharge', '0.0090010166168213', '2015-06-04 11:39:04'),
(10075, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =48', 'purchasetransaction/saveCharge', '0', '2015-06-04 11:39:04'),
(10076, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''47'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-06-04 11:39:57'),
(10077, 2, 2, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''2'', ''3'', ''2015'', ''3'', ''AP'', 1)', 'Aptransaction/invoicePosting', '0.01200008392334', '2015-06-04 11:39:57'),
(10078, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000001'' WHERE `ID` =  ''47''', 'Aptransaction/invoicePosting', '0.011000871658325', '2015-06-04 11:39:57'),
(10079, 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'', ''AP20150300000001'', ''PI2015[00000029]'', ''Purchase Invoice Confirm [ PI2015[00000029] ]'', ''3'', ''2015-06-03'', ''2015'', ''3'', 7270, 7270, ''2'')', 'Aptransaction/invoicePosting', '0.010000944137573', '2015-06-04 11:39:57'),
(10080, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000001'', 1, ''LEVY - 4 Bangla & 1 Indo'', ''64'', ''MY EG SDN. BHD.'', 7270, ''1'', ''1'', ''7270'', ''3'', ''2015'', ''1'', ''PI2015[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 11:39:57'),
(10081, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000001'', ''LEVY - 4 Bangla & 1 Indo'', ''66'', ''MY EG SDN. BHD.'', 7270, ''1'', ''1'', ''7270'', ''3'', ''2015'', ''1'', ''PI2015[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 11:39:57'),
(10082, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 7270, `total_amount_cr` = 7270, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000001''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-06-04 11:39:57'),
(10083, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''48'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.023000955581665', '2015-06-04 11:39:57'),
(10084, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  ''7''', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-06-04 11:39:57'),
(10085, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000002'' WHERE `ID` =  ''48''', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-06-04 11:39:57'),
(10086, 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'', ''AP20150300000002'', ''PI2015[00000030]'', ''Purchase Invoice Confirm [ PI2015[00000030] ]'', ''3'', ''2015-06-03'', ''2015'', ''3'', 1450, 1450, ''2'')', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-06-04 11:39:58'),
(10087, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000002'', 1, ''LEVY - 1 INDO'', ''64'', ''MY EG SDN. BHD.'', 1450, ''1'', ''1'', ''1450'', ''3'', ''2015'', ''1'', ''PI2015[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 11:39:58'),
(10088, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000002'', ''LEVY - 1 INDO'', ''66'', ''MY EG SDN. BHD.'', 1450, ''1'', ''1'', ''1450'', ''3'', ''2015'', ''1'', ''PI2015[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 11:39:58'),
(10089, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1450, `total_amount_cr` = 1450, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000002''', 'Aptransaction/invoicePosting', '0.036001920700073', '2015-06-04 11:39:58'),
(10090, 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'', ''8730'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-06-02'', ''PI2015[00000029] & PI2015[00000030]'', 0, '''', '''', ''0.00'', ''8730.00'', ''8730.00'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.038002014160156', '2015-06-04 12:02:40'),
(10091, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 30,1,ID,totalAmount, totalPayable  ,0.00,7270,2 from comp_supplier_invoice where ID=47', 'aptransaction/saveSupplierPayment', '0.023001909255981', '2015-06-04 12:02:40'),
(10092, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 7270, totalPayable = totalAmount - amountPaid  where ID = 47', 'aptransaction/saveSupplierPayment', '0.0080001354217529', '2015-06-04 12:02:40'),
(10093, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 30,2,ID,totalAmount, totalPayable  ,0.00,1460,2 from comp_supplier_invoice where ID=48', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 12:02:40'),
(10094, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 1460, totalPayable = totalAmount - amountPaid  where ID = 48', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 12:02:40'),
(10095, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''30''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 12:02:46'),
(10096, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 12:02:46'),
(10097, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000003'' WHERE `ID` =  ''30''', 'aptransaction/paymentPosting', '0.019001007080078', '2015-06-04 12:02:46'),
(10098, 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'', ''AP20150300000003'', ''PP20150604[00000025]'', ''Payment [ PP20150604[00000025] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 8730, 8730, ''2'')', 'aptransaction/paymentPosting', '0.053003072738647', '2015-06-04 12:02:46'),
(10099, 2, 2, '::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'', ''AP20150300000003'', 1, ''PI2015[00000030]'', ''0'', ''MY EG SDN. BHD.'', 1460, ''1'', ''1'', ''1460'', ''3'', ''2015'', ''2'', ''PP20150604[00000030]'', ''2'')', 'aptransaction/paymentPosting', '0.046003103256226', '2015-06-04 12:02:46'),
(10100, 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, ''AP20150300000003'', ''PI2015[00000030]'', ''64'', ''MY EG SDN. BHD.'', 1460, ''1'', ''1'', ''1460'', ''3'', ''2015'', ''PP20150604[00000030]'', ''2'', ''2'')', 'aptransaction/paymentPosting', '0.0069999694824219', '2015-06-04 12:02:46'),
(10101, 2, 2, '::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'', ''AP20150300000003'', 3, ''PI2015[00000029]'', ''0'', ''MY EG SDN. BHD.'', 7270, ''1'', ''1'', ''7270'', ''3'', ''2015'', ''1'', ''PP20150604[00000030]'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-06-04 12:02:46'),
(10102, 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, ''AP20150300000003'', ''PI2015[00000029]'', ''64'', ''MY EG SDN. BHD.'', 7270, ''1'', ''1'', ''7270'', ''3'', ''2015'', ''PP20150604[00000030]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010008811950684', '2015-06-04 12:02:46'),
(10103, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8730, `total_amount_cr` = 8730, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000003''', 'aptransaction/paymentPosting', '0.0019998550415039', '2015-06-04 12:02:46'),
(10104, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''322''', 'Gltransaction/journalPosting', '0.0260009765625', '2015-06-04 12:03:13'),
(10105, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000060''', 'Gltransaction/journalPosting', '0.017001152038574', '2015-06-04 12:03:13'),
(10106, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.004000186920166', '2015-06-04 12:03:13'),
(10107, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 12:03:13'),
(10108, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''323''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 12:03:13'),
(10109, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000061''', 'Gltransaction/journalPosting', '0.013001203536987', '2015-06-04 12:03:13'),
(10110, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 12:03:13'),
(10111, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0070011615753174', '2015-06-04 12:03:13'),
(10112, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''324''', 'Gltransaction/journalPosting', '0.016000986099243', '2015-06-04 12:03:20'),
(10113, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000001''', 'Gltransaction/journalPosting', '0.005000114440918', '2015-06-04 12:03:20'),
(10114, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''64'', ''2015'', ''3'', ''0'', ''7270'', -7270, ''2'', ''2015-06-04: 06:06:20'')', 'Gltransaction/journalPosting', '0.036002159118652', '2015-06-04 12:03:20'),
(10115, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''66'', ''2015'', ''3'', ''7270'', ''0'', 7270, ''2'', ''2015-06-04: 06:06:20'')', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 12:03:20'),
(10116, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''325''', 'Gltransaction/journalPosting', '0.013000965118408', '2015-06-04 12:03:20'),
(10117, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000002''', 'Gltransaction/journalPosting', '0.0080010890960693', '2015-06-04 12:03:20'),
(10118, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 12:03:20'),
(10119, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''66'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 12:03:20'),
(10120, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''326''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 12:03:20'),
(10121, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000003''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 12:03:20'),
(10122, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', NULL, ''0'', ''2015'', ''3'', ''0'', ''1460'', -1460, ''2'', ''2015-06-04: 06:06:20'')', 'Gltransaction/journalPosting', '0.018001079559326', '2015-06-04 12:03:20'),
(10123, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 12:03:20'),
(10124, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''0'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 12:03:20'),
(10125, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''64'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 12:03:20'),
(10126, 2, 2, '::1', 'insert', 'insert into comp_opening_balance (companyID, accountID, year, createdBy) select 2, ID, 2015, 2	from comp_chart_of_acct where companyID = 2 and ID not in (select accountID from comp_opening_balance where year= 2015 and companyID = 2)', 'glsetting/openingBalance', '0.090004920959473', '2015-06-04 12:59:59'),
(10127, 2, 2, '::1', 'insert', 'insert into comp_control_acct_setup (refID, groupDisplay, companyID, accountCode,accountID, orderNo,createdby)  select ID, groupDisplay, 2,name, (select id from comp_chart_of_acct where companyid=2 and acctcode=_ref_control_acct_setup.defaultAcctCode) as accountID, orderNo,1 from _ref_control_acct_setup where name not in (select accountCode from comp_control_acct_setup where companyID = 2) ', 'systemgeneral/generalSetup', '0.12300705909729', '2015-06-04 13:01:04'),
(10128, 2, 2, '::1', 'insert', 'insert into tax_master (companyid, code,name,taxtype,taxpercentage,taxClass,taxgroup,description,taxaccount,status,createdby) select 2,code,name,taxtype,taxpercentage,taxClass,taxgroup,description,(select id from comp_chart_of_acct where companyid=2 and acctcode= _ref_tax_master.defaultTaxAccount) as taxaccount,status,createdby from _ref_tax_master where code not in (select code from tax_master where companyid =2)', 'systemgeneral/generalSetup', '0.13900804519653', '2015-06-04 13:01:04'),
(10129, 2, 2, '::1', 'update', 'update tax_master a, _ref_tax_master b set a.taxAccount = (select id from comp_chart_of_acct where companyid=2 and acctcode= b.defaultTaxAccount) where a.code = b.code and a.companyid=2 and a.taxAccount is null', 'systemgeneral/generalSetup', '0.03200101852417', '2015-06-04 13:01:04'),
(10130, 2, 2, '::1', 'update', 'update comp_control_acct_setup a, _ref_control_acct_setup b set accountid = (select id from comp_chart_of_acct where companyid=a.companyid and acctcode = b.defaultAcctCode) where a.accountid = 0 and a.accountCode = b.name and a.companyID = 2', 'systemgeneral/generalSetup', '0', '2015-06-04 13:01:04'),
(10131, 2, 2, '::1', 'update', 'update comp_control_acct_setup set updateable = 0 where companyID = 2 and updateable = 1  and accountID > 0  and accountID in (select distinct acctCode from comp_journal_detail where companyid = 2 )', 'systemgeneral/generalSetup', '0.15100908279419', '2015-06-04 13:01:04'),
(10132, 2, 2, '::1', 'insert', 'insert into comp_control_acct_setup (refID, groupDisplay, companyID, accountCode,accountID, orderNo,createdby)  select ID, groupDisplay, 2,name, (select id from comp_chart_of_acct where companyid=2 and acctcode=_ref_control_acct_setup.defaultAcctCode) as accountID, orderNo,1 from _ref_control_acct_setup where name not in (select accountCode from comp_control_acct_setup where companyID = 2) ', 'systemgeneral/generalSetup', '0', '2015-06-04 13:02:49');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(10133, 2, 2, '::1', 'insert', 'insert into tax_master (companyid, code,name,taxtype,taxpercentage,taxClass,taxgroup,description,taxaccount,status,createdby) select 2,code,name,taxtype,taxpercentage,taxClass,taxgroup,description,(select id from comp_chart_of_acct where companyid=2 and acctcode= _ref_tax_master.defaultTaxAccount) as taxaccount,status,createdby from _ref_tax_master where code not in (select code from tax_master where companyid =2)', 'systemgeneral/generalSetup', '0', '2015-06-04 13:02:49'),
(10134, 2, 2, '::1', 'update', 'update tax_master a, _ref_tax_master b set a.taxAccount = (select id from comp_chart_of_acct where companyid=2 and acctcode= b.defaultTaxAccount) where a.code = b.code and a.companyid=2 and a.taxAccount is null', 'systemgeneral/generalSetup', '0.002000093460083', '2015-06-04 13:02:49'),
(10135, 2, 2, '::1', 'update', 'update comp_control_acct_setup a, _ref_control_acct_setup b set accountid = (select id from comp_chart_of_acct where companyid=a.companyid and acctcode = b.defaultAcctCode) where a.accountid = 0 and a.accountCode = b.name and a.companyID = 2', 'systemgeneral/generalSetup', '0', '2015-06-04 13:02:49'),
(10136, 2, 2, '::1', 'update', 'update comp_control_acct_setup set updateable = 0 where companyID = 2 and updateable = 1  and accountID > 0  and accountID in (select distinct acctCode from comp_journal_detail where companyid = 2 )', 'systemgeneral/generalSetup', '0.00099992752075195', '2015-06-04 13:02:49'),
(10137, 2, 2, '::1', 'insert', 'insert into comp_form_control (companyID, formID, formCode,createdby, orderno)\r\nselect 2, id, code, 1, orderno from master_code\r\nwhere masterid=18 and id not in (select formid from comp_form_control where companyid=2)', 'companySetup/formSetup', '0.068004131317139', '2015-06-04 13:03:09'),
(10138, 2, 2, '::1', 'update', 'UPDATE `comp_chart_of_acct` SET `companyID` = ''2'', `acctGroupID` = ''4'', `acctCode` = ''320000000'', `acctName` = ''Company IBSB'', `updatedBy` = ''MEGA ENIGMA'' WHERE `ID` =  ''38''', 'glsetting/chartOfAcct', '0.048002958297729', '2015-06-04 13:10:34'),
(10139, 2, 2, '::1', 'insert', 'INSERT INTO `comp_bank` (`ID`, `companyID`, `bankName`, `bankShortName`, `branch`, `bankAccountNo`, `currentBalance`, `line1`, `line2`, `line3`, `PostCode`, `city`, `bankStateID`, `bankcountryID`, `attention`, `phonenumber1`, `phonenumber2`, `fax`, `generalNote`, `creditLimit`, `creditLimitAlert`, `linkAccountID`, `createdDate`, `currencyID`, `email`) VALUES (0, ''2'', ''COMPANY IBSB ACC'', ''IBSB ACC'', ''KL'', ''-'', ''-'', '''', '''', '''', '''', '''', ''0'', ''458'', '''', '''', 0, '''', '''', 0, 0, ''38'', 0, ''1'', '''')', 'bankSetup/BankNew', '0.025001049041748', '2015-06-04 13:13:35'),
(10140, 2, 2, '::1', 'update', 'UPDATE `comp_bank` SET `ID` = ''5'', `companyID` = ''2'', `bankName` = ''PETTY CASH'', `bankShortName` = ''PC'', `branch` = ''-'', `bankAccountNo` = ''-'', `currentBalance` = ''Hide'', `line1` = '''', `line2` = '''', `line3` = '''', `PostCode` = '''', `city` = '''', `bankStateID` = ''0'', `bankcountryID` = ''458'', `attention` = '''', `phonenumber1` = '''', `phonenumber2` = 0, `fax` = '''', `generalNote` = '''', `creditLimit` = 0, `creditLimitAlert` = 0, `linkAccountID` = ''25'', `createdDate` = 0, `currencyID` = ''1'', `email` = '''' WHERE `ID` =  ''5''', 'bankSetup/BankNew', '0', '2015-06-04 13:13:58'),
(10141, 2, 2, '::1', 'update', 'UPDATE `comp_bank` SET `ID` = ''3'', `companyID` = ''2'', `bankName` = ''RHB ISLAMIC BANK BERHAD'', `bankShortName` = ''RHB (2)'', `branch` = ''JALAN IPOH'', `bankAccountNo` = ''26420900020467'', `currentBalance` = ''Hide'', `line1` = ''14-16, '', `line2` = ''JALAN IPOH, '', `line3` = '''', `PostCode` = ''51200'', `city` = ''KUALA LUMPUR'', `bankStateID` = ''0'', `bankcountryID` = ''458'', `attention` = '''', `phonenumber1` = '''', `phonenumber2` = 0, `fax` = '''', `generalNote` = '''', `creditLimit` = 0, `creditLimitAlert` = 0, `linkAccountID` = ''130'', `createdDate` = 0, `currencyID` = ''1'', `email` = '''' WHERE `ID` =  ''3''', 'bankSetup/BankNew', '0.00099992752075195', '2015-06-04 13:14:52'),
(10142, 2, 2, '::1', 'update', 'UPDATE `comp_bank` SET `ID` = ''2'', `companyID` = ''2'', `bankName` = ''RHB BANK BERHAD'', `bankShortName` = ''RHB (1)'', `branch` = ''JALAN IPOH'', `bankAccountNo` = ''21420400029816'', `currentBalance` = ''Hide'', `line1` = '''', `line2` = '''', `line3` = '''', `PostCode` = '''', `city` = '''', `bankStateID` = ''0'', `bankcountryID` = ''458'', `attention` = '''', `phonenumber1` = '''', `phonenumber2` = 0, `fax` = '''', `generalNote` = '''', `creditLimit` = 0, `creditLimitAlert` = 0, `linkAccountID` = ''129'', `createdDate` = 0, `currencyID` = ''1'', `email` = '''' WHERE `ID` =  ''2''', 'bankSetup/BankNew', '0.0010001659393311', '2015-06-04 13:15:34'),
(10143, 2, 2, '::1', 'update', 'UPDATE `comp_chart_of_acct` SET `companyID` = ''2'', `acctGroupID` = ''3'', `acctCode` = ''220030000'', `acctName` = ''PETTY CASH'', `updatedBy` = ''MEGA ENIGMA'' WHERE `ID` =  ''25''', 'glsetting/chartOfAcct', '0.0019998550415039', '2015-06-04 13:20:30'),
(10144, 2, 2, '::1', 'update', 'UPDATE `comp_chart_of_acct` SET `companyID` = ''2'', `acctGroupID` = ''3'', `acctCode` = ''220020000'', `acctName` = ''Amount Due from Director'', `updatedBy` = ''MEGA ENIGMA'' WHERE `ID` =  ''24''', 'glsetting/chartOfAcct', '0.0010001659393311', '2015-06-04 13:28:42'),
(10145, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''10'', ''820040010'', ''KWSP'', ''MEGA ENIGMA'', ''2015-06-04 07-40-20'')', 'glsetting/chartOfAcct', '0.019001007080078', '2015-06-04 13:41:16'),
(10146, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''10'', ''820040020'', ''PERKESO'', ''MEGA ENIGMA'', ''2015-06-04 07-41-22'')', 'glsetting/chartOfAcct', '0.020001173019409', '2015-06-04 13:42:05'),
(10147, 2, 2, '::1', 'insert', 'INSERT INTO `supplier` (`companyID`, `supplierCode`, `supplierCompanyNo`, `supplierName`, `attention`, `line1`, `line2`, `line3`, `city`, `supplierPostCode`, `email`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `generalNote`, `gstRegNo`, `termsID`, `supplierCountryID`, `supplierStateID`, `linkedAPAccountID`, `currencyID`, `creditLimitAlert`, `creditLimit`, `createdDate`) VALUES (''2'', ''SOCSO'', ''000000'', ''PERTUBUHAN KESELAMATAN SOSIAL'', '''', ''NO 281, JALAN AMPANG,'', '''', '''', '''', ''50538'', '''', '''', '''', '''', '''', '''', ''001165107200'', ''9'', ''458'', ''1933'', ''132'', ''1'', 0, '''', ''2015-06-04'')', 'supplier/SupplierNew', '0.13700819015503', '2015-06-04 13:46:42'),
(10148, 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, ''15'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''A008A15050531255'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.12600708007812', '2015-06-04 13:59:04'),
(10149, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (49, ''2'', ''132'', ''1'', ''Caruman 1/2015'', ''131.7'', ''0'', ''23'', ''0'', ''131.7'')', 'purchasetransaction/saveCharge', '0.067003965377808', '2015-06-04 13:59:04'),
(10150, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''131.7'' WHERE `ID` =  49', 'purchasetransaction/saveCharge', '0.013000965118408', '2015-06-04 13:59:04'),
(10151, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =49', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-06-04 13:59:04'),
(10152, 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, ''15'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''A00TC15050531196'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.030002117156982', '2015-06-04 14:01:24'),
(10153, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (50, ''2'', ''132'', ''1'', ''Caruman 2/2015'', ''131.7'', ''0'', ''23'', ''0'', ''131.7'')', 'purchasetransaction/saveCharge', '0.018001079559326', '2015-06-04 14:01:24'),
(10154, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''131.7'' WHERE `ID` =  50', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 14:01:25'),
(10155, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =50', 'purchasetransaction/saveCharge', '0', '2015-06-04 14:01:25'),
(10156, 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, ''15'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''A00TC15050531183'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.01200008392334', '2015-06-04 14:03:29'),
(10157, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (51, ''2'', ''132'', ''1'', ''Caruman 3/2015'', ''131.7'', ''0'', ''23'', ''0'', ''131.7'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 14:03:29'),
(10158, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''131.7'' WHERE `ID` =  51', 'purchasetransaction/saveCharge', '0.0069999694824219', '2015-06-04 14:03:29'),
(10159, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =51', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 14:03:29'),
(10160, 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, ''15'', ''2'', ''PI2015'', '''', ''2015-05-27'', ''A00TC15050531446'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.024000883102417', '2015-06-04 14:05:43'),
(10161, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (52, ''2'', ''132'', ''1'', ''Caruman 5/2015'', ''131.7'', ''0'', ''23'', ''0'', ''131.7'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 14:05:43'),
(10162, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''131.7'' WHERE `ID` =  52', 'purchasetransaction/saveCharge', '0.0090010166168213', '2015-06-04 14:05:43'),
(10163, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =52', 'purchasetransaction/saveCharge', '0.0099999904632568', '2015-06-04 14:05:43'),
(10164, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''49'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.028002023696899', '2015-06-04 14:06:23'),
(10165, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.01200008392334', '2015-06-04 14:06:23'),
(10166, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000062'' WHERE `ID` =  ''49''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-06-04 14:06:23'),
(10167, 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'', ''AP20150200000062'', ''PI2015[00000031]'', ''Purchase Invoice Confirm [ PI2015[00000031] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'Aptransaction/invoicePosting', '0.043001890182495', '2015-06-04 14:06:23'),
(10168, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000062'', 1, ''Caruman 1/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.051002979278564', '2015-06-04 14:06:23'),
(10169, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000062'', ''Caruman 1/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027000904083252', '2015-06-04 14:06:23'),
(10170, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000062''', 'Aptransaction/invoicePosting', '0.04200291633606', '2015-06-04 14:06:23'),
(10171, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''50'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:23'),
(10172, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:23'),
(10173, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000063'' WHERE `ID` =  ''50''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:23'),
(10174, 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'', ''AP20150200000063'', ''PI2015[00000032]'', ''Purchase Invoice Confirm [ PI2015[00000032] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'Aptransaction/invoicePosting', '0.025001049041748', '2015-06-04 14:06:23'),
(10175, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000063'', 1, ''Caruman 2/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:23'),
(10176, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000063'', ''Caruman 2/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 14:06:23'),
(10177, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000063''', 'Aptransaction/invoicePosting', '0', '2015-06-04 14:06:23'),
(10178, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''51'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.027000904083252', '2015-06-04 14:06:24'),
(10179, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10180, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000064'' WHERE `ID` =  ''51''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10181, 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'', ''AP20150200000064'', ''PI2015[00000033]'', ''Purchase Invoice Confirm [ PI2015[00000033] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 14:06:24'),
(10182, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000064'', 1, ''Caruman 3/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10183, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000064'', ''Caruman 3/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10184, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000064''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 14:06:24'),
(10185, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''52'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10186, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10187, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000065'' WHERE `ID` =  ''52''', 'Aptransaction/invoicePosting', '0.033002138137817', '2015-06-04 14:06:24'),
(10188, 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'', ''AP20150200000065'', ''PI2015[00000034]'', ''Purchase Invoice Confirm [ PI2015[00000034] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'Aptransaction/invoicePosting', '0.0079998970031738', '2015-06-04 14:06:24'),
(10189, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000065'', 1, ''Caruman 5/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010011196136475', '2015-06-04 14:06:24'),
(10190, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000065'', ''Caruman 5/2015'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PI2015[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10191, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000065''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 14:06:24'),
(10192, 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'', ''15'', ''0'', ''131.7'', ''69'', ''PP20150604'', ''6'', ''1'', ''1.00000'', ''2015-06-04'', ''PI2015[00000031] / RHB 000510 '', 0, '''', '''', ''0.00'', ''131.70'', ''131.70'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.13900780677795', '2015-06-04 14:12:08'),
(10193, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 31,1,ID,totalAmount, totalPayable  ,0.00,131.7,2 from comp_supplier_invoice where ID=49', 'aptransaction/saveSupplierPayment', '0.035001993179321', '2015-06-04 14:12:08'),
(10194, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 131.7, totalPayable = totalAmount - amountPaid  where ID = 49', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 14:12:08'),
(10195, 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'', ''15'', ''0'', ''131.7'', ''69'', ''PP20150604'', ''6'', ''1'', ''1.00000'', ''2015-05-27'', ''PI2015[00000032] / RHB 000512'', 0, '''', '''', ''0.00'', ''131.70'', ''131.70'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.010000944137573', '2015-06-04 14:15:07'),
(10196, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 32,1,ID,totalAmount, totalPayable  ,0.00,131.7,2 from comp_supplier_invoice where ID=50', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 14:15:07'),
(10197, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 131.7, totalPayable = totalAmount - amountPaid  where ID = 50', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-06-04 14:15:07'),
(10198, 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'', ''15'', ''0'', ''131.7'', ''69'', ''PP20150604'', ''6'', ''1'', ''1.00000'', ''2015-05-27'', ''PI2015[00000033] / RHB 000512'', 0, '''', '''', ''0.00'', ''131.70'', ''131.70'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.011000871658325', '2015-06-04 14:17:24'),
(10199, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 33,1,ID,totalAmount, totalPayable  ,0.00,131.7,2 from comp_supplier_invoice where ID=51', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-06-04 14:17:24'),
(10200, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 131.7, totalPayable = totalAmount - amountPaid  where ID = 51', 'aptransaction/saveSupplierPayment', '0.031000852584839', '2015-06-04 14:17:24'),
(10201, 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'', ''15'', ''0'', ''131.7'', ''69'', ''PP20150604'', ''6'', ''1'', ''1.00000'', ''2015-05-27'', ''PI2015[00000034] / RHB 000513'', 0, '''', '''', ''0.00'', ''131.70'', ''131.70'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.012001037597656', '2015-06-04 14:18:33'),
(10202, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 34,1,ID,totalAmount, totalPayable  ,0.00,131.7,2 from comp_supplier_invoice where ID=52', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-06-04 14:18:33'),
(10203, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 131.7, totalPayable = totalAmount - amountPaid  where ID = 52', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 14:18:33'),
(10204, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''327''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:22:09'),
(10205, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000062''', 'Gltransaction/journalPosting', '0.055002927780151', '2015-06-04 14:22:09'),
(10206, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''10'', ''132'', ''2015'', ''2'', ''0'', ''131.7'', -131.7, ''2'', ''2015-06-04: 08:06:09'')', 'Gltransaction/journalPosting', '0.039001941680908', '2015-06-04 14:22:09'),
(10207, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.038002014160156', '2015-06-04 14:22:09'),
(10208, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''328''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 14:22:09'),
(10209, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000063''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:22:09'),
(10210, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-06-04 14:22:09'),
(10211, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.013999938964844', '2015-06-04 14:22:09'),
(10212, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''329''', 'Gltransaction/journalPosting', '0.013000011444092', '2015-06-04 14:22:09'),
(10213, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000064''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-06-04 14:22:09'),
(10214, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 14:22:09'),
(10215, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0019998550415039', '2015-06-04 14:22:09'),
(10216, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''330''', 'Gltransaction/journalPosting', '0.02900218963623', '2015-06-04 14:22:09'),
(10217, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000065''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:22:09'),
(10218, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:22:09'),
(10219, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:22:09'),
(10220, 2, 2, '::1', 'update', 'UPDATE `comp_payment_detail` SET `discount` = ''0'', `amountApplied` = ''131.7'' WHERE `ID` =  ''47''', 'aptransaction/updatePaymentRow', '0.00099992752075195', '2015-06-04 14:23:13'),
(10221, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `memo` = '''', `amountPaid` = ''131.7'', `totalDiscount` = ''0'', `totalPaid` = ''131.7'', `totalApplied` = ''131.7'', `outOfBalance` = ''0'', `bankCharges` = ''0'', `totalOtherCharge` = ''0'' WHERE `ID` =  ''31''', 'aptransaction/updatePaymentRow', '0', '2015-06-04 14:23:13'),
(10222, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalPayable` = ''0'' WHERE `ID` =  ''49''', 'aptransaction/updatePaymentRow', '0.043003082275391', '2015-06-04 14:23:13'),
(10223, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''32''', 'aptransaction/paymentPosting', '0.019001007080078', '2015-06-04 14:34:46'),
(10224, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0099999904632568', '2015-06-04 14:34:46'),
(10225, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000066'' WHERE `ID` =  ''32''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:46'),
(10226, 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'', ''AP20150200000066'', ''PP20150604[00000027]'', ''Payment [ PP20150604[00000027] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'aptransaction/paymentPosting', '0.032001972198486', '2015-06-04 14:34:46'),
(10227, 2, 2, '::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'', ''AP20150200000066'', 1, ''PI2015[00000032]'', ''38'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PP20150604[00000032]'', ''2'')', 'aptransaction/paymentPosting', '0.048002958297729', '2015-06-04 14:34:46'),
(10228, 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, ''AP20150200000066'', ''PI2015[00000032]'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''PP20150604[00000032]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.002000093460083', '2015-06-04 14:34:46'),
(10229, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000066''', 'aptransaction/paymentPosting', '0.0039999485015869', '2015-06-04 14:34:46'),
(10230, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''33''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:46'),
(10231, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0', '2015-06-04 14:34:46'),
(10232, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000067'' WHERE `ID` =  ''33''', 'aptransaction/paymentPosting', '0.005000114440918', '2015-06-04 14:34:46'),
(10233, 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'', ''AP20150200000067'', ''PP20150604[00000028]'', ''Payment [ PP20150604[00000028] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'aptransaction/paymentPosting', '0', '2015-06-04 14:34:46'),
(10234, 2, 2, '::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'', ''AP20150200000067'', 1, ''PI2015[00000033]'', ''38'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PP20150604[00000033]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:46'),
(10235, 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, ''AP20150200000067'', ''PI2015[00000033]'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''PP20150604[00000033]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:46'),
(10236, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000067''', 'aptransaction/paymentPosting', '0', '2015-06-04 14:34:46'),
(10237, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''34''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:46'),
(10238, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.015000820159912', '2015-06-04 14:34:46'),
(10239, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000068'' WHERE `ID` =  ''34''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:46'),
(10240, 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'', ''AP20150200000068'', ''PP20150604[00000029]'', ''Payment [ PP20150604[00000029] ]'', ''3'', ''2015-05-27'', ''2015'', ''2'', 131.7, 131.7, ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:46'),
(10241, 2, 2, '::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'', ''AP20150200000068'', 1, ''PI2015[00000034]'', ''38'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''1'', ''PP20150604[00000034]'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:46'),
(10242, 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, ''AP20150200000068'', ''PI2015[00000034]'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''2'', ''2015'', ''PP20150604[00000034]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:46'),
(10243, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000068''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:46'),
(10244, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''31''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:58'),
(10245, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.0070009231567383', '2015-06-04 14:34:58'),
(10246, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000004'' WHERE `ID` =  ''31''', 'aptransaction/paymentPosting', '0', '2015-06-04 14:34:58'),
(10247, 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'', ''AP20150300000004'', ''PP20150604[00000026]'', ''Payment [ PP20150604[00000026] ]'', ''3'', ''2015-06-04'', ''2015'', ''3'', 131.7, 131.7, ''2'')', 'aptransaction/paymentPosting', '0.033002138137817', '2015-06-04 14:34:58'),
(10248, 2, 2, '::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'', ''AP20150300000004'', 1, ''PI2015[00000031]'', ''38'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''3'', ''2015'', ''1'', ''PP20150604[00000031]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 14:34:58'),
(10249, 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, ''AP20150300000004'', ''PI2015[00000031]'', ''132'', ''PERTUBUHAN KESELAMATAN SOSIAL'', 131.7, ''1'', ''1'', ''131.7'', ''3'', ''2015'', ''PP20150604[00000031]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 14:34:58'),
(10250, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 131.7, `total_amount_cr` = 131.7, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000004''', 'aptransaction/paymentPosting', '0.002000093460083', '2015-06-04 14:34:58'),
(10251, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''331''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:35:21'),
(10252, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000066''', 'Gltransaction/journalPosting', '0.034002065658569', '2015-06-04 14:35:21'),
(10253, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''38'', ''2015'', ''2'', ''0'', ''131.7'', -131.7, ''2'', ''2015-06-04: 08:06:20'')', 'Gltransaction/journalPosting', '0.0090000629425049', '2015-06-04 14:35:21'),
(10254, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 14:35:21'),
(10255, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''332''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:35:21'),
(10256, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000067''', 'Gltransaction/journalPosting', '0.025002002716064', '2015-06-04 14:35:21'),
(10257, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.013000011444092', '2015-06-04 14:35:21'),
(10258, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0099999904632568', '2015-06-04 14:35:21'),
(10259, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''333''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 14:35:21'),
(10260, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000068''', 'Gltransaction/journalPosting', '0.0090007781982422', '2015-06-04 14:35:21'),
(10261, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-06-04 14:35:21'),
(10262, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''132'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.011000871658325', '2015-06-04 14:35:21'),
(10263, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''334''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-06-04 14:35:30'),
(10264, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000004''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 14:35:30'),
(10265, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''38'', ''2015'', ''3'', ''0'', ''131.7'', -131.7, ''2'', ''2015-06-04: 08:06:30'')', 'Gltransaction/journalPosting', '0.0079998970031738', '2015-06-04 14:35:30'),
(10266, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''10'', ''132'', ''2015'', ''3'', ''131.7'', ''0'', 131.7, ''2'', ''2015-06-04: 08:06:30'')', 'Gltransaction/journalPosting', '0.027002096176147', '2015-06-04 14:35:30'),
(10267, 2, 2, '::1', 'insert', 'INSERT INTO `supplier` (`companyID`, `supplierCode`, `supplierCompanyNo`, `supplierName`, `attention`, `line1`, `line2`, `line3`, `city`, `supplierPostCode`, `email`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `generalNote`, `gstRegNo`, `termsID`, `supplierCountryID`, `supplierStateID`, `linkedAPAccountID`, `currencyID`, `creditLimitAlert`, `creditLimit`, `createdDate`) VALUES (''2'', ''KWSP'', ''000000'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', '''', '''', '''', '''', '''', '''', '''', '''', '''', '''', '''', '''', ''000796409856'', ''0'', ''458'', ''0'', ''131'', ''1'', 0, '''', ''2015-06-04'')', 'supplier/SupplierNew', '0.12800693511963', '2015-06-04 15:21:36');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(10268, 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, ''16'', ''2'', ''PI2015'', '''', ''2015-05-08'', ''H08500244'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.10500597953796', '2015-06-04 15:23:45'),
(10269, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (53, ''2'', ''131'', ''1'', ''Caruman 5/2015'', ''960'', ''0'', ''23'', ''0'', ''960'')', 'purchasetransaction/saveCharge', '0.033001899719238', '2015-06-04 15:23:45'),
(10270, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''960'' WHERE `ID` =  53', 'purchasetransaction/saveCharge', '0.013999938964844', '2015-06-04 15:23:45'),
(10271, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =53', 'purchasetransaction/saveCharge', '0.026001930236816', '2015-06-04 15:23:45'),
(10272, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''53'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.0060009956359863', '2015-06-04 15:24:08'),
(10273, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 15:24:08'),
(10274, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000069'' WHERE `ID` =  ''53''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 15:24:08'),
(10275, 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'', ''AP20150200000069'', ''PI2015[00000035]'', ''Purchase Invoice Confirm [ PI2015[00000035] ]'', ''3'', ''2015-05-08'', ''2015'', ''2'', 960, 960, ''2'')', 'Aptransaction/invoicePosting', '0.034002065658569', '2015-06-04 15:24:08'),
(10276, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000069'', 1, ''Caruman 5/2015'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 960, ''1'', ''1'', ''960'', ''2'', ''2015'', ''1'', ''PI2015[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035001993179321', '2015-06-04 15:24:08'),
(10277, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000069'', ''Caruman 5/2015'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 960, ''1'', ''1'', ''960'', ''2'', ''2015'', ''1'', ''PI2015[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 15:24:08'),
(10278, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 960, `total_amount_cr` = 960, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000069''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 15:24:08'),
(10279, 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'', ''16'', ''0'', ''960'', ''69'', ''PP20150604'', ''6'', ''1'', ''1.00000'', ''2015-05-08'', ''H08500244 / RHB 000305'', 0, '''', '''', ''0.00'', ''960.00'', ''960.00'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.15500903129578', '2015-06-04 15:26:37'),
(10280, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 35,1,ID,totalAmount, totalPayable  ,0.00,960,2 from comp_supplier_invoice where ID=53', 'aptransaction/saveSupplierPayment', '0.035001993179321', '2015-06-04 15:26:37'),
(10281, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 960, totalPayable = totalAmount - amountPaid  where ID = 53', 'aptransaction/saveSupplierPayment', '0.036002159118652', '2015-06-04 15:26:37'),
(10282, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''35''', 'aptransaction/paymentPosting', '0.017000913619995', '2015-06-04 15:27:16'),
(10283, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 15:27:16'),
(10284, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000070'' WHERE `ID` =  ''35''', 'aptransaction/paymentPosting', '0.0030009746551514', '2015-06-04 15:27:16'),
(10285, 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'', ''AP20150200000070'', ''PP20150604[00000030]'', ''Payment [ PP20150604[00000030] ]'', ''3'', ''2015-05-08'', ''2015'', ''2'', 960, 960, ''2'')', 'aptransaction/paymentPosting', '0.0049998760223389', '2015-06-04 15:27:16'),
(10286, 2, 2, '::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'', ''AP20150200000070'', 1, ''PI2015[00000035]'', ''38'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 960, ''1'', ''1'', ''960'', ''2'', ''2015'', ''1'', ''PP20150604[00000035]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 15:27:16'),
(10287, 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, ''AP20150200000070'', ''PI2015[00000035]'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 960, ''1'', ''1'', ''960'', ''2'', ''2015'', ''PP20150604[00000035]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 15:27:16'),
(10288, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 960, `total_amount_cr` = 960, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000070''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 15:27:16'),
(10289, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''335''', 'Gltransaction/journalPosting', '0.019001007080078', '2015-06-04 15:27:36'),
(10290, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000069''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-06-04 15:27:36'),
(10291, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''10'', ''131'', ''2015'', ''2'', ''0'', ''960'', -960, ''2'', ''2015-06-04: 09:06:36'')', 'Gltransaction/journalPosting', '0.015001058578491', '2015-06-04 15:27:36'),
(10292, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''131'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:27:36'),
(10293, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''336''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:27:37'),
(10294, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000070''', 'Gltransaction/journalPosting', '0.014001131057739', '2015-06-04 15:27:37'),
(10295, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0049998760223389', '2015-06-04 15:27:37'),
(10296, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''131'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0090010166168213', '2015-06-04 15:27:37'),
(10297, 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, ''16'', ''2'', ''PI2015'', '''', ''2015-05-08'', ''H08500243'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.037002086639404', '2015-06-04 15:30:02'),
(10298, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (54, ''2'', ''131'', ''1'', ''Caruman 5/2015'', ''1896'', ''0'', ''23'', ''0'', ''1896'')', 'purchasetransaction/saveCharge', '0.018001079559326', '2015-06-04 15:30:02'),
(10299, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1896'' WHERE `ID` =  54', 'purchasetransaction/saveCharge', '0.0010008811950684', '2015-06-04 15:30:02'),
(10300, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =54', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-06-04 15:30:02'),
(10301, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''54'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.017000913619995', '2015-06-04 15:30:38'),
(10302, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  ''6''', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-06-04 15:30:38'),
(10303, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000071'' WHERE `ID` =  ''54''', 'Aptransaction/invoicePosting', '0.015001058578491', '2015-06-04 15:30:38'),
(10304, 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'', ''AP20150200000071'', ''PI2015[00000036]'', ''Purchase Invoice Confirm [ PI2015[00000036] ]'', ''3'', ''2015-05-08'', ''2015'', ''2'', 1896, 1896, ''2'')', 'Aptransaction/invoicePosting', '0.012001037597656', '2015-06-04 15:30:38'),
(10305, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000071'', 1, ''Caruman 5/2015'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 1896, ''1'', ''1'', ''1896'', ''2'', ''2015'', ''1'', ''PI2015[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030001878738403', '2015-06-04 15:30:38'),
(10306, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000071'', ''Caruman 5/2015'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 1896, ''1'', ''1'', ''1896'', ''2'', ''2015'', ''1'', ''PI2015[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 15:30:38'),
(10307, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1896, `total_amount_cr` = 1896, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000071''', 'Aptransaction/invoicePosting', '0.013000011444092', '2015-06-04 15:30:38'),
(10308, 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'', ''16'', ''0'', ''1896'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-05-08'', ''H08500243 / RHB 000306'', 0, '''', '''', ''0.00'', ''1896.00'', ''1896.00'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.043002128601074', '2015-06-04 15:33:10'),
(10309, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 36,1,ID,totalAmount, totalPayable  ,0.00,1896,2 from comp_supplier_invoice where ID=54', 'aptransaction/saveSupplierPayment', '0.018001079559326', '2015-06-04 15:33:10'),
(10310, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 1896, totalPayable = totalAmount - amountPaid  where ID = 54', 'aptransaction/saveSupplierPayment', '0.022000789642334', '2015-06-04 15:33:10'),
(10311, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''36''', 'aptransaction/paymentPosting', '0.0089998245239258', '2015-06-04 15:33:24'),
(10312, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  ''6''', 'aptransaction/paymentPosting', '0.011001110076904', '2015-06-04 15:33:24'),
(10313, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150200000072'' WHERE `ID` =  ''36''', 'aptransaction/paymentPosting', '0.003000020980835', '2015-06-04 15:33:24'),
(10314, 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'', ''AP20150200000072'', ''PP20150604[00000031]'', ''Payment [ PP20150604[00000031] ]'', ''3'', ''2015-05-08'', ''2015'', ''2'', 1896, 1896, ''2'')', 'aptransaction/paymentPosting', '0.0030009746551514', '2015-06-04 15:33:24'),
(10315, 2, 2, '::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'', ''AP20150200000072'', 1, ''PI2015[00000036]'', ''130'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 1896, ''1'', ''1'', ''1896'', ''2'', ''2015'', ''1'', ''PP20150604[00000036]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 15:33:24'),
(10316, 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, ''AP20150200000072'', ''PI2015[00000036]'', ''131'', ''LEMBAGA KUMPULAN WANG SIMPANAN PEKERJA 	'', 1896, ''1'', ''1'', ''1896'', ''2'', ''2015'', ''PP20150604[00000036]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 15:33:24'),
(10317, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1896, `total_amount_cr` = 1896, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000072''', 'aptransaction/paymentPosting', '0.0069999694824219', '2015-06-04 15:33:24'),
(10318, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''337''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:33:38'),
(10319, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000071''', 'Gltransaction/journalPosting', '0.035001993179321', '2015-06-04 15:33:38'),
(10320, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''131'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 15:33:38'),
(10321, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''131'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:33:38'),
(10322, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''338''', 'Gltransaction/journalPosting', '0.0010011196136475', '2015-06-04 15:33:38'),
(10323, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000072''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:33:38'),
(10324, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''130'', ''2015'', ''2'', ''0'', ''1896'', -1896, ''2'', ''2015-06-04: 09:06:38'')', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 15:33:38'),
(10325, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''131'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.018000841140747', '2015-06-04 15:33:38'),
(10326, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-06-02'', ''BDS08616594768150602151211'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.027002096176147', '2015-06-04 16:04:19'),
(10327, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (55, ''2'', ''66'', ''1'', ''LEVY x 6 Orang'', ''8700'', ''0'', ''23'', ''0'', ''8700'')', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 16:04:19'),
(10328, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''8700'' WHERE `ID` =  55', 'purchasetransaction/saveCharge', '0.016000986099243', '2015-06-04 16:04:19'),
(10329, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =55', 'purchasetransaction/saveCharge', '0.0039999485015869', '2015-06-04 16:04:19'),
(10330, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''55'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.025001049041748', '2015-06-04 16:11:27'),
(10331, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''8702.65'' WHERE `ID` =  ''55''', 'purchasetransaction/saveChargeDetailOnly', '0.019001007080078', '2015-06-04 16:11:27'),
(10332, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =55', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-06-04 16:11:27'),
(10333, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''55'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.014001131057739', '2015-06-04 16:12:19'),
(10334, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''8702.8'' WHERE `ID` =  ''55''', 'purchasetransaction/saveChargeDetailOnly', '0.0090010166168213', '2015-06-04 16:12:19'),
(10335, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =55', 'purchasetransaction/saveChargeDetailOnly', '0.0090000629425049', '2015-06-04 16:12:19'),
(10336, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-06-02'', ''BDS08616594759150602145409'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.035001993179321', '2015-06-04 16:16:26'),
(10337, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (56, ''2'', ''66'', ''1'', ''LEVY x 2 Orang'', ''2900'', ''0'', ''23'', ''0'', ''2900'')', 'purchasetransaction/saveCharge', '0.038002014160156', '2015-06-04 16:16:26'),
(10338, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''2900'' WHERE `ID` =  56', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 16:16:26'),
(10339, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =56', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 16:16:26'),
(10340, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''56'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.0090000629425049', '2015-06-04 16:17:21'),
(10341, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2902.65'' WHERE `ID` =  ''56''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-06-04 16:17:21'),
(10342, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =56', 'purchasetransaction/saveChargeDetailOnly', '0.0010008811950684', '2015-06-04 16:17:21'),
(10343, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''56'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.013000965118408', '2015-06-04 16:17:52'),
(10344, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''2902.8'' WHERE `ID` =  ''56''', 'purchasetransaction/saveChargeDetailOnly', '0.0010011196136475', '2015-06-04 16:17:52'),
(10345, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =56', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-06-04 16:17:52'),
(10346, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-06-02'', ''BDS08616594762150602150102'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.011000156402588', '2015-06-04 16:20:26'),
(10347, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (57, ''2'', ''66'', ''1'', ''LEVY'', ''1450'', ''0'', ''23'', ''0'', ''1450'')', 'purchasetransaction/saveCharge', '0.0010008811950684', '2015-06-04 16:20:26'),
(10348, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1450'' WHERE `ID` =  57', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 16:20:26'),
(10349, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =57', 'purchasetransaction/saveCharge', '0.00099992752075195', '2015-06-04 16:20:26'),
(10350, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''57'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.011000871658325', '2015-06-04 16:21:01'),
(10351, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1452.65'' WHERE `ID` =  ''57''', 'purchasetransaction/saveChargeDetailOnly', '0', '2015-06-04 16:21:01'),
(10352, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =57', 'purchasetransaction/saveChargeDetailOnly', '0.010001182556152', '2015-06-04 16:21:01'),
(10353, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''57'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.014001131057739', '2015-06-04 16:21:28'),
(10354, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1452.8000000000002'' WHERE `ID` =  ''57''', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-06-04 16:21:28'),
(10355, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =57', 'purchasetransaction/saveChargeDetailOnly', '0.022001981735229', '2015-06-04 16:21:28'),
(10356, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`companyID`, `createdBy`, `currencyID`, `purchaseInvoiceCodeID`, `supplierID`, `locationID`, `formNo`, `shipToID`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`, `shippingMethodID`, `purchaserID`, `memo`) VALUES (''2'', ''2'', ''1'', 2, ''10'', ''2'', ''PI2015'', '''', ''2015-06-02'', ''BDS08616594765150602150549'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.016000986099243', '2015-06-04 16:23:37'),
(10357, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (58, ''2'', ''66'', ''1'', ''LEVY x 1 Orang'', ''1455'', ''0'', ''23'', ''0'', ''1455'')', 'purchasetransaction/saveCharge', '0.0010001659393311', '2015-06-04 16:23:37'),
(10358, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1455'' WHERE `ID` =  58', 'purchasetransaction/saveCharge', '0.0080010890960693', '2015-06-04 16:23:37'),
(10359, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =58', 'purchasetransaction/saveCharge', '0.0060000419616699', '2015-06-04 16:23:37'),
(10360, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''58'', ''2'', ''2'', ''114'', ''COMMISSION & SERVICE CHARGE'', ''2.5'', ''15'', ''6'', ''0.15'', ''2.65'')', 'purchasetransaction/saveChargeDetailOnly', '0.016000986099243', '2015-06-04 16:24:10'),
(10361, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1457.65'' WHERE `ID` =  ''58''', 'purchasetransaction/saveChargeDetailOnly', '0.017001152038574', '2015-06-04 16:24:10'),
(10362, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =58', 'purchasetransaction/saveChargeDetailOnly', '0.00099992752075195', '2015-06-04 16:24:10'),
(10363, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''58'', ''3'', ''2'', ''114'', ''STAMP DUTY'', ''0.15'', ''23'', ''0'', ''0'', ''0.15'')', 'purchasetransaction/saveChargeDetailOnly', '0.012001037597656', '2015-06-04 16:24:38'),
(10364, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0.15'', `totalAmount` = ''1457.8000000000002'' WHERE `ID` =  ''58''', 'purchasetransaction/saveChargeDetailOnly', '0.010000944137573', '2015-06-04 16:24:38'),
(10365, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =58', 'purchasetransaction/saveChargeDetailOnly', '0.0090000629425049', '2015-06-04 16:24:38'),
(10366, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''55'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.023001909255981', '2015-06-04 16:25:57'),
(10367, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''7''', 'Aptransaction/invoicePosting', '0.013001203536987', '2015-06-04 16:25:57'),
(10368, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000005'' WHERE `ID` =  ''55''', 'Aptransaction/invoicePosting', '0.0090010166168213', '2015-06-04 16:25:57'),
(10369, 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'', ''AP20150300000005'', ''PI2015[00000037]'', ''Purchase Invoice Confirm [ PI2015[00000037] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 8702.8, 8702.8, ''2'')', 'Aptransaction/invoicePosting', '0.10600590705872', '2015-06-04 16:25:57'),
(10370, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000005'', 1, ''LEVY x 6 Orang'', ''36'', ''RHB BANK BERHAD'', 8700, ''1'', ''1'', ''8700'', ''3'', ''2015'', ''1'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.15300893783569', '2015-06-04 16:25:57'),
(10371, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000005'', ''LEVY x 6 Orang'', ''66'', ''RHB BANK BERHAD'', 8700, ''1'', ''1'', ''8700'', ''3'', ''2015'', ''1'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-06-04 16:25:57'),
(10372, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000005'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:57'),
(10373, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000005'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:57'),
(10374, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000005'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:57'),
(10375, 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, ''AP20150300000005'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:57'),
(10376, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000005'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.025002002716064', '2015-06-04 16:25:57'),
(10377, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000005'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:57'),
(10378, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8702.8, `total_amount_cr` = 8702.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000005''', 'Aptransaction/invoicePosting', '0.0060000419616699', '2015-06-04 16:25:57'),
(10379, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''56'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10380, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''7''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10381, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000006'' WHERE `ID` =  ''56''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10382, 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'', ''AP20150300000006'', ''PI2015[00000038]'', ''Purchase Invoice Confirm [ PI2015[00000038] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 2902.8, 2902.8, ''2'')', 'Aptransaction/invoicePosting', '0.02000093460083', '2015-06-04 16:25:58'),
(10383, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000006'', 1, ''LEVY x 2 Orang'', ''36'', ''RHB BANK BERHAD'', 2900, ''1'', ''1'', ''2900'', ''3'', ''2015'', ''1'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10384, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000006'', ''LEVY x 2 Orang'', ''66'', ''RHB BANK BERHAD'', 2900, ''1'', ''1'', ''2900'', ''3'', ''2015'', ''1'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.013000011444092', '2015-06-04 16:25:58'),
(10385, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000006'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10386, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000006'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027002096176147', '2015-06-04 16:25:58'),
(10387, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000006'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035001993179321', '2015-06-04 16:25:58'),
(10388, 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, ''AP20150300000006'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.012001037597656', '2015-06-04 16:25:58'),
(10389, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000006'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0099999904632568', '2015-06-04 16:25:58'),
(10390, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000006'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075005054473877', '2015-06-04 16:25:58'),
(10391, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2902.8, `total_amount_cr` = 2902.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000006''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10392, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''57'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.002000093460083', '2015-06-04 16:25:58'),
(10393, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  ''7''', 'Aptransaction/invoicePosting', '0', '2015-06-04 16:25:58'),
(10394, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000007'' WHERE `ID` =  ''57''', 'Aptransaction/invoicePosting', '0', '2015-06-04 16:25:58'),
(10395, 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'', ''AP20150300000007'', ''PI2015[00000039]'', ''Purchase Invoice Confirm [ PI2015[00000039] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 1452.8, 1452.8, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10396, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000007'', 1, ''LEVY'', ''36'', ''RHB BANK BERHAD'', 1450, ''1'', ''1'', ''1450'', ''3'', ''2015'', ''1'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10397, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000007'', ''LEVY'', ''66'', ''RHB BANK BERHAD'', 1450, ''1'', ''1'', ''1450'', ''3'', ''2015'', ''1'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10398, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000007'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10399, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000007'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033002138137817', '2015-06-04 16:25:58'),
(10400, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000007'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0019998550415039', '2015-06-04 16:25:58'),
(10401, 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, ''AP20150300000007'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10402, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000007'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10403, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000007'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.003000020980835', '2015-06-04 16:25:58'),
(10404, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1452.8, `total_amount_cr` = 1452.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000007''', 'Aptransaction/invoicePosting', '0', '2015-06-04 16:25:58'),
(10405, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''58'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.015001058578491', '2015-06-04 16:25:58');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(10406, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  ''7''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10407, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150300000008'' WHERE `ID` =  ''58''', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10408, 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'', ''AP20150300000008'', ''PI2015[00000040]'', ''Purchase Invoice Confirm [ PI2015[00000040] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 1457.8, 1457.8, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10409, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000008'', 1, ''LEVY x 1 Orang'', ''36'', ''RHB BANK BERHAD'', 1455, ''1'', ''1'', ''1455'', ''3'', ''2015'', ''1'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10410, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000008'', ''LEVY x 1 Orang'', ''66'', ''RHB BANK BERHAD'', 1455, ''1'', ''1'', ''1455'', ''3'', ''2015'', ''1'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0040011405944824', '2015-06-04 16:25:58'),
(10411, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000008'', 3, ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10412, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000008'', ''COMMISSION & SERVICE CHARGE'', ''114'', ''RHB BANK BERHAD'', 2.5, ''1'', ''1'', ''2.5'', ''3'', ''2015'', ''2'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10413, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000008'', ''COMMISSION & SERVICE CHARGE'', ''40'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10414, 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, ''AP20150300000008'', ''COMMISSION & SERVICE CHARGE'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''2'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0010001659393311', '2015-06-04 16:25:58'),
(10415, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150300000008'', 7, ''STAMP DUTY'', ''36'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10416, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150300000008'', ''STAMP DUTY'', ''114'', ''RHB BANK BERHAD'', 0.15, ''1'', ''1'', ''0.15'', ''3'', ''2015'', ''3'', ''PI2015[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10417, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1457.8, `total_amount_cr` = 1457.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000008''', 'Aptransaction/invoicePosting', '0.00099992752075195', '2015-06-04 16:25:58'),
(10418, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''8702.8'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-06-02'', ''PI2015[00000037]'', 0, '''', '''', ''0.00'', ''8702.80'', ''8702.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.028000831604004', '2015-06-04 16:30:16'),
(10419, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 37,1,ID,totalAmount, totalPayable  ,0.00,8702.8,2 from comp_supplier_invoice where ID=55', 'aptransaction/saveSupplierPayment', '0.038002014160156', '2015-06-04 16:30:16'),
(10420, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 8702.8, totalPayable = totalAmount - amountPaid  where ID = 55', 'aptransaction/saveSupplierPayment', '0.020002126693726', '2015-06-04 16:30:16'),
(10421, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''2902.8'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-06-02'', ''PI2015[00000038]'', 0, '''', '''', ''0.00'', ''2902.80'', ''2902.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.0099999904632568', '2015-06-04 16:31:51'),
(10422, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 38,1,ID,totalAmount, totalPayable  ,0.00,2902.8,2 from comp_supplier_invoice where ID=56', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 16:31:51'),
(10423, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 2902.8, totalPayable = totalAmount - amountPaid  where ID = 56', 'aptransaction/saveSupplierPayment', '0.0010011196136475', '2015-06-04 16:31:51'),
(10424, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''1452.8'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-06-02'', ''PI2015[00000039]'', 0, '''', '''', ''0.00'', ''1452.80'', ''1452.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.0010001659393311', '2015-06-04 16:34:27'),
(10425, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 39,1,ID,totalAmount, totalPayable  ,0.00,1452.8,2 from comp_supplier_invoice where ID=57', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 16:34:27'),
(10426, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 1452.8, totalPayable = totalAmount - amountPaid  where ID = 57', 'aptransaction/saveSupplierPayment', '0.00099992752075195', '2015-06-04 16:34:27'),
(10427, 2, 2, '::1', 'insert', 'INSERT INTO `comp_payment` (`companyID`, `supplierID`, `projectID`, `amountPaid`, `paymentMethodID`, `formNo`, `bankID`, `currencyID`, `exchangeRate`, `paymentDate`, `referenceNo`, `accountDescription`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalPaid`, `totalApplied`, `outOfBalance`, `memo`, `createdBy`) VALUES (''2'', ''10'', ''0'', ''1457.8'', ''69'', ''PP20150604'', ''3'', ''1'', ''1.00000'', ''2015-06-02'', ''PI2015[00000040]'', 0, '''', '''', ''0.00'', ''1457.80'', ''1457.80'', ''0.00'', '''', ''2'')', 'aptransaction/saveSupplierPayment', '0.0060000419616699', '2015-06-04 16:47:51'),
(10428, 2, 2, '::1', 'insert', 'insert into comp_payment_detail (paymentID, lineNo, purchaseInvoiceID,totalAmount,APBalance,discount,amountApplied,createdBy) select 40,1,ID,totalAmount, totalPayable  ,0.00,1457.8,2 from comp_supplier_invoice where ID=58', 'aptransaction/saveSupplierPayment', '0', '2015-06-04 16:47:51'),
(10429, 2, 2, '::1', 'update', 'update comp_supplier_invoice set amountPaid = amountPaid + 1457.8, totalPayable = totalAmount - amountPaid  where ID = 58', 'aptransaction/saveSupplierPayment', '0.036001920700073', '2015-06-04 16:47:51'),
(10430, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''37''', 'aptransaction/paymentPosting', '0.015001058578491', '2015-06-04 16:48:35'),
(10431, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10432, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000009'' WHERE `ID` =  ''37''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10433, 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'', ''AP20150300000009'', ''PP20150604[00000032]'', ''Payment [ PP20150604[00000032] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 8702.8, 8702.8, ''2'')', 'aptransaction/paymentPosting', '0.041001796722412', '2015-06-04 16:48:35'),
(10434, 2, 2, '::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'', ''AP20150300000009'', 1, ''PI2015[00000037]'', ''130'', ''RHB BANK BERHAD'', 8702.8, ''1'', ''1'', ''8702.8'', ''3'', ''2015'', ''1'', ''PP20150604[00000037]'', ''2'')', 'aptransaction/paymentPosting', '0.036001920700073', '2015-06-04 16:48:35'),
(10435, 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, ''AP20150300000009'', ''PI2015[00000037]'', ''36'', ''RHB BANK BERHAD'', 8702.8, ''1'', ''1'', ''8702.8'', ''3'', ''2015'', ''PP20150604[00000037]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.01200008392334', '2015-06-04 16:48:35'),
(10436, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 8702.8, `total_amount_cr` = 8702.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000009''', 'aptransaction/paymentPosting', '0.002000093460083', '2015-06-04 16:48:35'),
(10437, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''38''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10438, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10439, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000010'' WHERE `ID` =  ''38''', 'aptransaction/paymentPosting', '0.036002159118652', '2015-06-04 16:48:35'),
(10440, 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'', ''AP20150300000010'', ''PP20150604[00000033]'', ''Payment [ PP20150604[00000033] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 2902.8, 2902.8, ''2'')', 'aptransaction/paymentPosting', '0.012001037597656', '2015-06-04 16:48:35'),
(10441, 2, 2, '::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'', ''AP20150300000010'', 1, ''PI2015[00000038]'', ''130'', ''RHB BANK BERHAD'', 2902.8, ''1'', ''1'', ''2902.8'', ''3'', ''2015'', ''1'', ''PP20150604[00000038]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10442, 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, ''AP20150300000010'', ''PI2015[00000038]'', ''36'', ''RHB BANK BERHAD'', 2902.8, ''1'', ''1'', ''2902.8'', ''3'', ''2015'', ''PP20150604[00000038]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10443, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 2902.8, `total_amount_cr` = 2902.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000010''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10444, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''39''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10445, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10446, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000011'' WHERE `ID` =  ''39''', 'aptransaction/paymentPosting', '0.01400089263916', '2015-06-04 16:48:35'),
(10447, 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'', ''AP20150300000011'', ''PP20150604[00000034]'', ''Payment [ PP20150604[00000034] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 1452.8, 1452.8, ''2'')', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10448, 2, 2, '::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'', ''AP20150300000011'', 1, ''PI2015[00000039]'', ''130'', ''RHB BANK BERHAD'', 1452.8, ''1'', ''1'', ''1452.8'', ''3'', ''2015'', ''1'', ''PP20150604[00000039]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10449, 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, ''AP20150300000011'', ''PI2015[00000039]'', ''36'', ''RHB BANK BERHAD'', 1452.8, ''1'', ''1'', ''1452.8'', ''3'', ''2015'', ''PP20150604[00000039]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10450, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1452.8, `total_amount_cr` = 1452.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000011''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10451, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `updateAble` = ''0'' WHERE `ID` =  ''40''', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10452, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  ''7''', 'aptransaction/paymentPosting', '0.015000820159912', '2015-06-04 16:48:35'),
(10453, 2, 2, '::1', 'update', 'UPDATE `comp_payment` SET `journalNo` = ''AP20150300000012'' WHERE `ID` =  ''40''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10454, 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'', ''AP20150300000012'', ''PP20150604[00000035]'', ''Payment [ PP20150604[00000035] ]'', ''3'', ''2015-06-02'', ''2015'', ''3'', 1457.8, 1457.8, ''2'')', 'aptransaction/paymentPosting', '0.013001203536987', '2015-06-04 16:48:35'),
(10455, 2, 2, '::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'', ''AP20150300000012'', 1, ''PI2015[00000040]'', ''130'', ''RHB BANK BERHAD'', 1457.8, ''1'', ''1'', ''1457.8'', ''3'', ''2015'', ''1'', ''PP20150604[00000040]'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10456, 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, ''AP20150300000012'', ''PI2015[00000040]'', ''36'', ''RHB BANK BERHAD'', 1457.8, ''1'', ''1'', ''1457.8'', ''3'', ''2015'', ''PP20150604[00000040]'', ''1'', ''2'')', 'aptransaction/paymentPosting', '0.00099992752075195', '2015-06-04 16:48:35'),
(10457, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 1457.8, `total_amount_cr` = 1457.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000012''', 'aptransaction/paymentPosting', '0.0010001659393311', '2015-06-04 16:48:35'),
(10458, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''339''', 'Gltransaction/journalPosting', '0.0020010471343994', '2015-06-04 16:49:10'),
(10459, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000005''', 'Gltransaction/journalPosting', '0.035001993179321', '2015-06-04 16:49:10'),
(10460, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''36'', ''2015'', ''3'', ''0'', ''8700'', -8700, ''2'', ''2015-06-04: 10:06:10'')', 'Gltransaction/journalPosting', '0.015001058578491', '2015-06-04 16:49:10'),
(10461, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.00099992752075195', '2015-06-04 16:49:10'),
(10462, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10463, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''44'', ''114'', ''2015'', ''3'', ''2.5'', ''0'', 2.5, ''2'', ''2015-06-04: 10:06:10'')', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:10'),
(10464, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''40'', ''2015'', ''3'', ''0.15'', ''0'', 0.15, ''2'', ''2015-06-04: 10:06:10'')', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:10'),
(10465, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10466, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10467, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 16:49:10'),
(10468, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''340''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:10'),
(10469, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000006''', 'Gltransaction/journalPosting', '0.011000156402588', '2015-06-04 16:49:10'),
(10470, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10471, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10472, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10473, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.011001110076904', '2015-06-04 16:49:10'),
(10474, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028000831604004', '2015-06-04 16:49:10'),
(10475, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10476, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0040009021759033', '2015-06-04 16:49:10'),
(10477, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 16:49:10'),
(10478, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''341''', 'Gltransaction/journalPosting', '0', '2015-06-04 16:49:10'),
(10479, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000007''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 16:49:10'),
(10480, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:10'),
(10481, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.00099992752075195', '2015-06-04 16:49:10'),
(10482, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0010011196136475', '2015-06-04 16:49:10'),
(10483, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10484, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10485, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10486, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10487, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10488, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''342''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 16:49:11'),
(10489, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000008''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10490, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10491, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.00099992752075195', '2015-06-04 16:49:11'),
(10492, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10493, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10494, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''40'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 16:49:11'),
(10495, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10496, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10497, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''114'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''3''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10498, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''343''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 16:49:11'),
(10499, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000009''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10500, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''130'', ''2015'', ''3'', ''0'', ''8702.8'', -8702.8, ''2'', ''2015-06-04: 10:06:11'')', 'Gltransaction/journalPosting', '0.030000925064087', '2015-06-04 16:49:11'),
(10501, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10502, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''344''', 'Gltransaction/journalPosting', '0.0010001659393311', '2015-06-04 16:49:11'),
(10503, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000010''', 'Gltransaction/journalPosting', '0.00099992752075195', '2015-06-04 16:49:11'),
(10504, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10505, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10506, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''345''', 'Gltransaction/journalPosting', '0.01200008392334', '2015-06-04 16:49:11'),
(10507, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000011''', 'Gltransaction/journalPosting', '0.012001037597656', '2015-06-04 16:49:11'),
(10508, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0079998970031738', '2015-06-04 16:49:11'),
(10510, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''346''', 'Gltransaction/journalPosting', '0.017000913619995', '2015-06-04 16:49:11'),
(10511, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150300000012''', 'Gltransaction/journalPosting', '0.002000093460083', '2015-06-04 16:49:11'),
(10512, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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-06-04 16:49:11'),
(10513, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0030012130737305', '2015-06-04 16:49:11'),
(10514, 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, ''7'', ''2'', ''PI2015'', '''', ''2015-04-24'', ''3151'', '''', ''9'', ''1.00000'', '''', '''', '''')', 'purchasetransaction/saveCharge', '0.15300893783569', '2015-06-05 12:10:08'),
(10515, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_charges` (`invoiceID`, `createdBy`, `accountNoID`, `lineNo`, `chargeDescription`, `amountExcludedTax`, `taxRate`, `taxID`, `taxAmount`, `amountIncludedTax`) VALUES (59, ''2'', ''84'', ''1'', ''OFFICE RENTAL 4/2015'', ''1520'', ''0'', ''22'', ''0'', ''1520'')', 'purchasetransaction/saveCharge', '0.031000852584839', '2015-06-05 12:10:08'),
(10516, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''0'', `totalAmount` = ''1520'' WHERE `ID` =  59', 'purchasetransaction/saveCharge', '0.022001028060913', '2015-06-05 12:10:08'),
(10517, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =59', 'purchasetransaction/saveCharge', '0.030002117156982', '2015-06-05 12:10:08'),
(10518, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''59'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038002967834473', '2015-06-05 12:11:13'),
(10519, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  ''4''', 'Aptransaction/invoicePosting', '0.041002988815308', '2015-06-05 12:11:13'),
(10520, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000045'' WHERE `ID` =  ''59''', 'Aptransaction/invoicePosting', '0.022001028060913', '2015-06-05 12:11:13');
