INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13214, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000018'', ''PDN20150614[00000016]'', ''Posting Debit Note Confirm [ PDN20150614[00000016] ]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 38120.36, 38120.36, ''2'')', 'Aptransaction/debitNotePosting', '0.068412065505981', '2015-06-14 02:51:31'),
(13215, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''73'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.062605142593384', '2015-06-14 02:51:31'),
(13216, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''76''', 'Aptransaction/debitNotePosting', '0.02884316444397', '2015-06-14 02:51:31'),
(13217, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''76'', ''18'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.047886848449707', '2015-06-14 02:51:31'),
(13218, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000018'', 1, ''[4501]PM2M602S002224501'', ''138'', ''PERODUA SALES SDN BHD'', 35962.6, 1, ''1'', ''35962.6'', ''2'', ''2015'', ''1'', ''PDN20150614[00000016][00000018]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.06453013420105', '2015-06-14 02:51:31'),
(13219, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000018'', ''[4501]PM2M602S002224501'', ''21'', ''PERODUA SALES SDN BHD'', 35962.6, 1, ''1'', ''35962.6'', ''2'', ''2015'', ''PDN20150614[00000016][00000018]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.027832984924316', '2015-06-14 02:51:31'),
(13220, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000018'', ''[4501]PM2M602S002224501'', ''138'', ''PERODUA SALES SDN BHD'', 2157.76, 1, ''1'', ''2157.76'', ''2'', ''2015'', ''PDN20150614[00000016][00000018]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.034770965576172', '2015-06-14 02:51:31'),
(13221, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000018'', ''[4501]PM2M602S002224501'', ''34'', ''PERODUA SALES SDN BHD'', 2157.76, 1, ''1'', ''2157.76'', ''2'', ''2015'', ''PDN20150614[00000016][00000018]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.027868032455444', '2015-06-14 02:51:32'),
(13222, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38120.36, `total_amount_cr` = 38120.36, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000018''', 'Aptransaction/debitNotePosting', '0.036121129989624', '2015-06-14 02:51:32'),
(13223, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''629''', 'Gltransaction/journalPosting', '0.30034589767456', '2015-06-14 02:52:39'),
(13224, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000018''', 'Gltransaction/journalPosting', '0.059359073638916', '2015-06-14 02:52:39'),
(13225, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.050697088241577', '2015-06-14 02:52:39'),
(13226, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.03813910484314', '2015-06-14 02:52:39'),
(13227, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057141065597534', '2015-06-14 02:52:39'),
(13228, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.038095951080322', '2015-06-14 02:52:39'),
(13229, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00104063'', ''2015-05-22'', ''91'', '''', ''1'', ''1.00000'', ''35585.25'', ''2135.11'', ''37720.37'')', 'aptransaction/saveNewParchaseDebit', '0.14141702651978', '2015-06-14 02:55:11'),
(13230, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (19, ''2'', ''90'', ''92'', ''16'', ''PM2M602S002222164'', ''1'', ''35585.25'', ''35585.25'', ''37720.37'', ''15'', ''1'', ''6'', ''2135.11'')', 'aptransaction/saveNewParchaseDebit', '0.02817702293396', '2015-06-14 02:55:11'),
(13231, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2135.11'', `totalAmount` = ''37720.37'' WHERE `ID` =  19', 'aptransaction/saveNewParchaseDebit', '0.032928943634033', '2015-06-14 02:55:11'),
(13232, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''19''', 'Aptransaction/debitNotePosting', '0.041415929794312', '2015-06-14 02:55:36'),
(13233, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 19 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.034051895141602', '2015-06-14 02:55:36'),
(13234, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000019'' WHERE `ID` =  ''19''', 'Aptransaction/debitNotePosting', '0.043825149536133', '2015-06-14 02:55:36'),
(13235, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000019'', ''PDN20150614[00000017]'', ''Posting Debit Note Confirm [ PDN20150614[00000017] ]'', ''3'', ''2015-05-22'', ''2015'', ''2'', 37720.37, 37720.37, ''2'')', 'Aptransaction/debitNotePosting', '0.079499006271362', '2015-06-14 02:55:36'),
(13236, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''90'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.044506788253784', '2015-06-14 02:55:36'),
(13237, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''93''', 'Aptransaction/debitNotePosting', '0.043959140777588', '2015-06-14 02:55:36'),
(13238, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''93'', ''19'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.043835878372192', '2015-06-14 02:55:36'),
(13239, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000019'', 1, ''[2164]PM2M602S002222164'', ''138'', ''PERODUA SALES SDN BHD'', 35585.25, 1, ''1'', ''35585.25'', ''2'', ''2015'', ''1'', ''PDN20150614[00000017][00000019]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.06454610824585', '2015-06-14 02:55:36'),
(13240, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000019'', ''[2164]PM2M602S002222164'', ''21'', ''PERODUA SALES SDN BHD'', 35585.25, 1, ''1'', ''35585.25'', ''2'', ''2015'', ''PDN20150614[00000017][00000019]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.042401075363159', '2015-06-14 02:55:36'),
(13241, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000019'', ''[2164]PM2M602S002222164'', ''138'', ''PERODUA SALES SDN BHD'', 2135.11, 1, ''1'', ''2135.11'', ''2'', ''2015'', ''PDN20150614[00000017][00000019]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.027577877044678', '2015-06-14 02:55:36'),
(13242, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000019'', ''[2164]PM2M602S002222164'', ''34'', ''PERODUA SALES SDN BHD'', 2135.11, 1, ''1'', ''2135.11'', ''2'', ''2015'', ''PDN20150614[00000017][00000019]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.035192966461182', '2015-06-14 02:55:36'),
(13243, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 37720.36, `total_amount_cr` = 37720.36, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000019''', 'Aptransaction/debitNotePosting', '0.028892993927002', '2015-06-14 02:55:36'),
(13244, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''630''', 'Gltransaction/journalPosting', '0.061282873153687', '2015-06-14 02:56:39'),
(13245, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000019''', 'Gltransaction/journalPosting', '0.065412044525146', '2015-06-14 02:56:39'),
(13246, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057306051254272', '2015-06-14 02:56:39'),
(13247, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.068435192108154', '2015-06-14 02:56:39'),
(13248, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.037835121154785', '2015-06-14 02:56:39'),
(13249, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046393871307373', '2015-06-14 02:56:39'),
(13250, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00104615'', ''2015-05-28'', ''146'', '''', ''1'', ''1.00000'', ''41314.98'', ''2478.9'', ''43793.88'')', 'aptransaction/saveNewParchaseDebit', '0.078749895095825', '2015-06-14 02:58:34'),
(13251, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (20, ''2'', ''145'', ''147'', ''16'', ''PM2M602S002227661'', ''1'', ''41314.98'', ''41314.98'', ''43793.88'', ''15'', ''1'', ''6'', ''2478.9'')', 'aptransaction/saveNewParchaseDebit', '0.036726951599121', '2015-06-14 02:58:34'),
(13252, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  20', 'aptransaction/saveNewParchaseDebit', '0.047364950180054', '2015-06-14 02:58:34'),
(13253, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''20''', 'Aptransaction/debitNotePosting', '0.027488946914673', '2015-06-14 02:59:00'),
(13254, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 20 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.034210205078125', '2015-06-14 02:59:00'),
(13255, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000020'' WHERE `ID` =  ''20''', 'Aptransaction/debitNotePosting', '0.028864145278931', '2015-06-14 02:59:00'),
(13256, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000020'', ''PDN20150614[00000018]'', ''Posting Debit Note Confirm [ PDN20150614[00000018] ]'', ''3'', ''2015-05-28'', ''2015'', ''2'', 43793.88, 43793.88, ''2'')', 'Aptransaction/debitNotePosting', '0.061591148376465', '2015-06-14 02:59:00'),
(13257, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''145'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.044725894927979', '2015-06-14 02:59:00'),
(13258, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''148''', 'Aptransaction/debitNotePosting', '0.028422117233276', '2015-06-14 02:59:00'),
(13259, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''148'', ''20'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.048321962356567', '2015-06-14 02:59:00'),
(13260, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000020'', 1, ''[7661]PM2M602S002227661'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, 1, ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''PDN20150614[00000018][00000020]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.064426183700562', '2015-06-14 02:59:00'),
(13261, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000020'', ''[7661]PM2M602S002227661'', ''21'', ''PERODUA SALES SDN BHD'', 41314.98, 1, ''1'', ''41314.98'', ''2'', ''2015'', ''PDN20150614[00000018][00000020]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.027425050735474', '2015-06-14 02:59:00'),
(13262, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000020'', ''[7661]PM2M602S002227661'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, 1, ''1'', ''2478.9'', ''2'', ''2015'', ''PDN20150614[00000018][00000020]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.03515100479126', '2015-06-14 02:59:00'),
(13263, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000020'', ''[7661]PM2M602S002227661'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, 1, ''1'', ''2478.9'', ''2'', ''2015'', ''PDN20150614[00000018][00000020]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.027444124221802', '2015-06-14 02:59:00'),
(13264, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43793.88, `total_amount_cr` = 43793.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000020''', 'Aptransaction/debitNotePosting', '0.036550998687744', '2015-06-14 02:59:00'),
(13265, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''631''', 'Gltransaction/journalPosting', '0.062142848968506', '2015-06-14 03:00:01'),
(13266, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000020''', 'Gltransaction/journalPosting', '0.088053941726685', '2015-06-14 03:00:01'),
(13267, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.051008939743042', '2015-06-14 03:00:01'),
(13268, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026883125305176', '2015-06-14 03:00:01'),
(13269, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035238981246948', '2015-06-14 03:00:01'),
(13270, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026771068572998', '2015-06-14 03:00:01'),
(13271, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00104616'', ''2015-05-28'', ''150'', '''', ''1'', ''1.00000'', ''51006.1'', ''3060.37'', ''54066.47'')', 'aptransaction/saveNewParchaseDebit', '0.047109842300415', '2015-06-14 03:01:59'),
(13272, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (21, ''2'', ''149'', ''151'', ''16'', ''PM2M603S002126126'', ''1'', ''51006.1'', ''51006.1'', ''54066.47'', ''15'', ''1'', ''6'', ''3060.37'')', 'aptransaction/saveNewParchaseDebit', '0.028075933456421', '2015-06-14 03:01:59'),
(13273, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''3060.37'', `totalAmount` = ''54066.47'' WHERE `ID` =  21', 'aptransaction/saveNewParchaseDebit', '0.06183910369873', '2015-06-14 03:02:00'),
(13274, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''21''', 'Aptransaction/debitNotePosting', '0.060977935791016', '2015-06-14 03:02:22'),
(13275, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.032634973526001', '2015-06-14 03:02:22'),
(13276, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000021'' WHERE `ID` =  ''21''', 'Aptransaction/debitNotePosting', '0.039316892623901', '2015-06-14 03:02:22'),
(13277, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000021'', ''PDN20150614[00000019]'', ''Posting Debit Note Confirm [ PDN20150614[00000019] ]'', ''3'', ''2015-05-28'', ''2015'', ''2'', 54066.47, 54066.47, ''2'')', 'Aptransaction/debitNotePosting', '0.046993017196655', '2015-06-14 03:02:22'),
(13278, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''149'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.03341007232666', '2015-06-14 03:02:22'),
(13279, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''152''', 'Aptransaction/debitNotePosting', '0.028877973556519', '2015-06-14 03:02:22'),
(13280, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''152'', ''21'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.047883033752441', '2015-06-14 03:02:22'),
(13281, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000021'', 1, ''[6126]PM2M603S002126126'', ''138'', ''PERODUA SALES SDN BHD'', 51006.1, 1, ''1'', ''51006.1'', ''2'', ''2015'', ''1'', ''PDN20150614[00000019][00000021]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.038358926773071', '2015-06-14 03:02:22'),
(13282, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000021'', ''[6126]PM2M603S002126126'', ''21'', ''PERODUA SALES SDN BHD'', 51006.1, 1, ''1'', ''51006.1'', ''2'', ''2015'', ''PDN20150614[00000019][00000021]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.030866861343384', '2015-06-14 03:02:22'),
(13283, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000021'', ''[6126]PM2M603S002126126'', ''138'', ''PERODUA SALES SDN BHD'', 3060.37, 1, ''1'', ''3060.37'', ''2'', ''2015'', ''PDN20150614[00000019][00000021]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.042906045913696', '2015-06-14 03:02:23'),
(13284, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000021'', ''[6126]PM2M603S002126126'', ''34'', ''PERODUA SALES SDN BHD'', 3060.37, 1, ''1'', ''3060.37'', ''2'', ''2015'', ''PDN20150614[00000019][00000021]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.079693794250488', '2015-06-14 03:02:23'),
(13285, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54066.47, `total_amount_cr` = 54066.47, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000021''', 'Aptransaction/debitNotePosting', '0.043706893920898', '2015-06-14 03:02:23'),
(13286, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''632''', 'Gltransaction/journalPosting', '0.083286046981812', '2015-06-14 03:03:10'),
(13287, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000021''', 'Gltransaction/journalPosting', '0.050298929214478', '2015-06-14 03:03:10'),
(13288, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.045372009277344', '2015-06-14 03:03:10'),
(13289, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.03601598739624', '2015-06-14 03:03:10'),
(13290, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036952018737793', '2015-06-14 03:03:11'),
(13291, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035975217819214', '2015-06-14 03:03:11'),
(13292, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''3500'', ''PERODUA AXIA'', ''PM2B200S003073500'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.054383993148804', '2015-06-14 03:08:40'),
(13293, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-21'', ''IV02136066'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1281099319458', '2015-06-14 03:12:45'),
(13294, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (159, ''2'', ''155'', ''1'', ''PM2B200S003073500'', ''1'', ''16'', ''34578.12'', ''34578.12'', ''15'', ''6'', ''2074.69'', ''36652.81'')', 'aptransaction/savePurchaseRow', '0.065747976303101', '2015-06-14 03:12:45'),
(13295, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2074.69'', `totalAmount` = ''36652.81'' WHERE `ID` =  159', 'aptransaction/savePurchaseRow', '0.06119704246521', '2015-06-14 03:12:45'),
(13296, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =159', 'aptransaction/savePurchaseRow', '0.039476156234741', '2015-06-14 03:12:45'),
(13297, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''159'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.037006139755249', '2015-06-14 03:13:13'),
(13298, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-21'', ''0'', ''IV02136066'', ''2'')', 'Aptransaction/invoicePosting', '0.11159586906433', '2015-06-14 03:13:14'),
(13299, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (161, ''159'', ''2'', ''155'', ''1'', -1, ''PM2B200S003073500'', ''1'', ''1'', ''1'', ''34578.12'', 34578.12)', 'Aptransaction/invoicePosting', '0.054766178131104', '2015-06-14 03:13:14'),
(13300, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 162 WHERE `ID` =  ''160''', 'Aptransaction/invoicePosting', '0.066066026687622', '2015-06-14 03:13:14'),
(13301, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.036414861679077', '2015-06-14 03:13:14'),
(13302, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000022'' WHERE `ID` =  ''159''', 'Aptransaction/invoicePosting', '0.054893016815186', '2015-06-14 03:13:14'),
(13303, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000022'', ''PI20150614[00000153]'', ''Purchase Invoice Confirm [ PI20150614[00000153] ]'', ''3'', ''2015-05-21'', ''2015'', ''2'', 36652.81, 36652.81, ''2'')', 'Aptransaction/invoicePosting', '0.069774866104126', '2015-06-14 03:13:14'),
(13304, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000022'', 1, ''[3500]'', ''138'', ''PERODUA SALES SDN BHD'', 34578.12, ''1'', ''1'', ''34578.12'', ''2'', ''2015'', ''1'', ''PI20150614[00000153]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059378862380981', '2015-06-14 03:13:14'),
(13305, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000022'', ''[3500]'', ''38'', ''PERODUA SALES SDN BHD'', 34578.12, ''1'', ''1'', ''34578.12'', ''2'', ''2015'', ''1'', ''PI20150614[00000153]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036498069763184', '2015-06-14 03:13:14'),
(13306, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000022'', ''[3500]'', ''34'', ''PERODUA SALES SDN BHD'', 2074.69, ''1'', ''1'', ''2074.69'', ''2'', ''2015'', ''1'', ''PI20150614[00000153]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037306785583496', '2015-06-14 03:13:14'),
(13307, 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, ''AP20150200000022'', ''[3500]'', ''138'', ''PERODUA SALES SDN BHD'', 2074.69, ''1'', ''1'', ''2074.69'', ''2'', ''2015'', ''1'', ''PI20150614[00000153]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.058686971664429', '2015-06-14 03:13:14'),
(13308, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36652.81, `total_amount_cr` = 36652.81, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000022''', 'Aptransaction/invoicePosting', '0.038620948791504', '2015-06-14 03:13:14'),
(13309, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''633''', 'Gltransaction/journalPosting', '0.073580026626587', '2015-06-14 03:14:01'),
(13310, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000022''', 'Gltransaction/journalPosting', '0.054862022399902', '2015-06-14 03:14:01'),
(13311, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.051581144332886', '2015-06-14 03:14:01'),
(13312, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026154041290283', '2015-06-14 03:14:01'),
(13313, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035936832427979', '2015-06-14 03:14:01'),
(13314, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026222944259644', '2015-06-14 03:14:01'),
(13315, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''161''', 'purchasetransaction/receiveItemPost', '0.041582107543945', '2015-06-14 03:14:35'),
(13316, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.02340292930603', '2015-06-14 03:14:35'),
(13317, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000003'' WHERE `ID` =  ''161''', 'purchasetransaction/receiveItemPost', '0.037644147872925', '2015-06-14 03:14:35'),
(13318, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000003'', ''GRN20150614[00000155]'', '' [ GRN20150614[00000155] ]'', ''8'', ''2015-05-21'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.063867092132568', '2015-06-14 03:14:35'),
(13319, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''155'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.035640001296997', '2015-06-14 03:14:35'),
(13320, 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'', ''PO20150200000003'', 1, ''[3500]PERODUA AXIA'', ''38'', 34578.12, ''1'', ''1'', ''34578.12'', ''2'', ''2015'', ''1'', ''GRN20150614[00000155]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027508020401001', '2015-06-14 03:14:35'),
(13321, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000003'', ''[3500]PERODUA AXIA'', ''21'', 34578.12, ''1'', ''1'', ''34578.12'', ''2'', ''2015'', ''GRN20150614[00000161]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037214994430542', '2015-06-14 03:14:35'),
(13322, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 34578.12, `total_amount_cr` = 34578.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000003''', 'purchasetransaction/receiveItemPost', '0.065916061401367', '2015-06-14 03:14:35'),
(13323, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''634''', 'Gltransaction/journalPosting', '0.081486940383911', '2015-06-14 03:15:21'),
(13324, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000003''', 'Gltransaction/journalPosting', '0.060266017913818', '2015-06-14 03:15:21'),
(13325, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035336971282959', '2015-06-14 03:15:21'),
(13326, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053673028945923', '2015-06-14 03:15:21'),
(13327, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00104667'', ''2015-05-29'', ''159'', '''', ''1'', ''1.00000'', ''34578.12'', ''2074.69'', ''36652.81'')', 'aptransaction/saveNewParchaseDebit', '0.14096093177795', '2015-06-14 03:24:43'),
(13328, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (22, ''2'', ''155'', ''160'', ''16'', ''PM2B200S003073500'', ''1'', ''34578.12'', ''34578.12'', ''36652.81'', ''15'', ''1'', ''6'', ''2074.69'')', 'aptransaction/saveNewParchaseDebit', '0.043128967285156', '2015-06-14 03:24:43'),
(13329, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2074.69'', `totalAmount` = ''36652.81'' WHERE `ID` =  22', 'aptransaction/saveNewParchaseDebit', '0.099107027053833', '2015-06-14 03:24:43'),
(13330, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''22''', 'Aptransaction/debitNotePosting', '0.089061975479126', '2015-06-14 03:25:05'),
(13331, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.047791004180908', '2015-06-14 03:25:05'),
(13332, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000023'' WHERE `ID` =  ''22''', 'Aptransaction/debitNotePosting', '0.028017044067383', '2015-06-14 03:25:06'),
(13333, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000023'', ''PDN20150614[00000020]'', ''Posting Debit Note Confirm [ PDN20150614[00000020] ]'', ''3'', ''2015-05-29'', ''2015'', ''2'', 36652.81, 36652.81, ''2'')', 'Aptransaction/debitNotePosting', '0.07343316078186', '2015-06-14 03:25:06'),
(13334, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''155'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.045400142669678', '2015-06-14 03:25:06'),
(13335, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''162''', 'Aptransaction/debitNotePosting', '0.038702964782715', '2015-06-14 03:25:06'),
(13336, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''162'', ''22'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.049109935760498', '2015-06-14 03:25:06'),
(13337, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000023'', 1, ''[3500]PM2B200S003073500'', ''138'', ''PERODUA SALES SDN BHD'', 34578.12, 1, ''1'', ''34578.12'', ''2'', ''2015'', ''1'', ''PDN20150614[00000020][00000022]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.048197984695435', '2015-06-14 03:25:06');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13338, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000023'', ''[3500]PM2B200S003073500'', ''21'', ''PERODUA SALES SDN BHD'', 34578.12, 1, ''1'', ''34578.12'', ''2'', ''2015'', ''PDN20150614[00000020][00000022]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036565065383911', '2015-06-14 03:25:06'),
(13339, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000023'', ''[3500]PM2B200S003073500'', ''138'', ''PERODUA SALES SDN BHD'', 2074.69, 1, ''1'', ''2074.69'', ''2'', ''2015'', ''PDN20150614[00000020][00000022]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.037228107452393', '2015-06-14 03:25:06'),
(13340, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000023'', ''[3500]PM2B200S003073500'', ''34'', ''PERODUA SALES SDN BHD'', 2074.69, 1, ''1'', ''2074.69'', ''2'', ''2015'', ''PDN20150614[00000020][00000022]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036581993103027', '2015-06-14 03:25:06'),
(13341, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36652.81, `total_amount_cr` = 36652.81, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000023''', 'Aptransaction/debitNotePosting', '0.060641050338745', '2015-06-14 03:25:06'),
(13342, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''635''', 'Gltransaction/journalPosting', '0.32157301902771', '2015-06-14 03:25:59'),
(13343, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000023''', 'Gltransaction/journalPosting', '0.055375099182129', '2015-06-14 03:25:59'),
(13344, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.051285982131958', '2015-06-14 03:25:59'),
(13345, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036655187606812', '2015-06-14 03:25:59'),
(13346, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.058624982833862', '2015-06-14 03:25:59'),
(13347, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036679029464722', '2015-06-14 03:25:59'),
(13348, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''0123'', ''PERODUA MYVI'', ''PM2M602S002230123'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.080718994140625', '2015-06-14 03:30:43'),
(13349, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-12'', ''IV02130996'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1545147895813', '2015-06-14 03:32:46'),
(13350, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (160, ''2'', ''156'', ''1'', ''PM2M602S002230123'', ''1'', ''16'', ''40937.62'', ''40937.62'', ''15'', ''6'', ''2456.26'', ''43393.88'')', 'aptransaction/savePurchaseRow', '0.054087162017822', '2015-06-14 03:32:46'),
(13351, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2456.26'', `totalAmount` = ''43393.88'' WHERE `ID` =  160', 'aptransaction/savePurchaseRow', '0.039532899856567', '2015-06-14 03:32:46'),
(13352, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =160', 'aptransaction/savePurchaseRow', '0.038379907608032', '2015-06-14 03:32:46'),
(13353, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''160'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051630973815918', '2015-06-14 03:33:05'),
(13354, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-12'', ''0'', ''IV02130996'', ''2'')', 'Aptransaction/invoicePosting', '0.076239109039307', '2015-06-14 03:33:05'),
(13355, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (162, ''160'', ''2'', ''156'', ''1'', -1, ''PM2M602S002230123'', ''1'', ''1'', ''1'', ''40937.62'', 40937.62)', 'Aptransaction/invoicePosting', '0.037532091140747', '2015-06-14 03:33:05'),
(13356, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 163 WHERE `ID` =  ''161''', 'Aptransaction/invoicePosting', '0.050081014633179', '2015-06-14 03:33:05'),
(13357, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.024163007736206', '2015-06-14 03:33:05'),
(13358, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000024'' WHERE `ID` =  ''160''', 'Aptransaction/invoicePosting', '0.02792501449585', '2015-06-14 03:33:05'),
(13359, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000024'', ''PI20150614[00000154]'', ''Purchase Invoice Confirm [ PI20150614[00000154] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 43393.88, 43393.88, ''2'')', 'Aptransaction/invoicePosting', '0.090356826782227', '2015-06-14 03:33:05'),
(13360, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000024'', 1, ''[0123]'', ''138'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''PI20150614[00000154]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043962955474854', '2015-06-14 03:33:05'),
(13361, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000024'', ''[0123]'', ''38'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''PI20150614[00000154]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.025176048278809', '2015-06-14 03:33:05'),
(13362, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000024'', ''[0123]'', ''34'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''2'', ''2015'', ''1'', ''PI20150614[00000154]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026509046554565', '2015-06-14 03:33:05'),
(13363, 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, ''AP20150200000024'', ''[0123]'', ''138'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''2'', ''2015'', ''1'', ''PI20150614[00000154]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.025129795074463', '2015-06-14 03:33:05'),
(13364, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43393.88, `total_amount_cr` = 43393.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000024''', 'Aptransaction/invoicePosting', '0.054811000823975', '2015-06-14 03:33:05'),
(13365, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''636''', 'Gltransaction/journalPosting', '0.10160088539124', '2015-06-14 03:33:52'),
(13366, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000024''', 'Gltransaction/journalPosting', '0.060083866119385', '2015-06-14 03:33:52'),
(13367, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046196937561035', '2015-06-14 03:33:52'),
(13368, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042028903961182', '2015-06-14 03:33:52'),
(13369, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036695003509521', '2015-06-14 03:33:52'),
(13370, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.025089979171753', '2015-06-14 03:33:52'),
(13371, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''162''', 'purchasetransaction/receiveItemPost', '0.0245201587677', '2015-06-14 03:34:53'),
(13372, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.025974988937378', '2015-06-14 03:34:53'),
(13373, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000004'' WHERE `ID` =  ''162''', 'purchasetransaction/receiveItemPost', '0.037991046905518', '2015-06-14 03:34:53'),
(13374, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000004'', ''GRN20150614[00000156]'', '' [ GRN20150614[00000156] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064826965332031', '2015-06-14 03:34:53'),
(13375, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''156'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.025691986083984', '2015-06-14 03:34:53'),
(13376, 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'', ''PO20150200000004'', 1, ''[0123]PERODUA MYVI'', ''38'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''GRN20150614[00000156]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.060261964797974', '2015-06-14 03:34:53'),
(13377, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000004'', ''[0123]PERODUA MYVI'', ''21'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''GRN20150614[00000162]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.026534080505371', '2015-06-14 03:34:53'),
(13378, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40937.62, `total_amount_cr` = 40937.62, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000004''', 'purchasetransaction/receiveItemPost', '0.060554027557373', '2015-06-14 03:34:53'),
(13379, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''637''', 'Gltransaction/journalPosting', '0.052606105804443', '2015-06-14 03:35:34'),
(13380, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000004''', 'Gltransaction/journalPosting', '0.060680150985718', '2015-06-14 03:35:34'),
(13381, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030096054077148', '2015-06-14 03:35:34'),
(13382, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036715030670166', '2015-06-14 03:35:34'),
(13383, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00104619'', ''2015-05-28'', ''160'', '''', ''1'', ''1.00000'', ''40937.62'', ''2456.26'', ''43393.88'')', 'aptransaction/saveNewParchaseDebit', '0.10654306411743', '2015-06-14 03:38:07'),
(13384, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (23, ''2'', ''156'', ''161'', ''16'', ''PM2M602S002230123'', ''1'', ''40937.62'', ''40937.62'', ''43393.88'', ''15'', ''1'', ''6'', ''2456.26'')', 'aptransaction/saveNewParchaseDebit', '0.037544965744019', '2015-06-14 03:38:07'),
(13385, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2456.26'', `totalAmount` = ''43393.88'' WHERE `ID` =  23', 'aptransaction/saveNewParchaseDebit', '0.045180082321167', '2015-06-14 03:38:07'),
(13386, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''23''', 'Aptransaction/debitNotePosting', '0.038602113723755', '2015-06-14 03:38:26'),
(13387, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.032802104949951', '2015-06-14 03:38:26'),
(13388, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000025'' WHERE `ID` =  ''23''', 'Aptransaction/debitNotePosting', '0.054435968399048', '2015-06-14 03:38:26'),
(13389, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000025'', ''PDN20150614[00000021]'', ''Posting Debit Note Confirm [ PDN20150614[00000021] ]'', ''3'', ''2015-05-28'', ''2015'', ''2'', 43393.88, 43393.88, ''2'')', 'Aptransaction/debitNotePosting', '0.057934999465942', '2015-06-14 03:38:26'),
(13390, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''156'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.023573875427246', '2015-06-14 03:38:26'),
(13391, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''163''', 'Aptransaction/debitNotePosting', '0.038381814956665', '2015-06-14 03:38:26'),
(13392, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''163'', ''23'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.038338899612427', '2015-06-14 03:38:26'),
(13393, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000025'', 1, ''[0123]PM2M602S002230123'', ''138'', ''PERODUA SALES SDN BHD'', 40937.62, 1, ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''PDN20150614[00000021][00000023]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036858081817627', '2015-06-14 03:38:26'),
(13394, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000025'', ''[0123]PM2M602S002230123'', ''21'', ''PERODUA SALES SDN BHD'', 40937.62, 1, ''1'', ''40937.62'', ''2'', ''2015'', ''PDN20150614[00000021][00000023]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.025795221328735', '2015-06-14 03:38:26'),
(13395, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000025'', ''[0123]PM2M602S002230123'', ''138'', ''PERODUA SALES SDN BHD'', 2456.26, 1, ''1'', ''2456.26'', ''2'', ''2015'', ''PDN20150614[00000021][00000023]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036803007125854', '2015-06-14 03:38:26'),
(13396, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000025'', ''[0123]PM2M602S002230123'', ''34'', ''PERODUA SALES SDN BHD'', 2456.26, 1, ''1'', ''2456.26'', ''2'', ''2015'', ''PDN20150614[00000021][00000023]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.052248001098633', '2015-06-14 03:38:27'),
(13397, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43393.88, `total_amount_cr` = 43393.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000025''', 'Aptransaction/debitNotePosting', '0.039422035217285', '2015-06-14 03:38:27'),
(13398, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''638''', 'Gltransaction/journalPosting', '0.070456027984619', '2015-06-14 03:39:48'),
(13399, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000025''', 'Gltransaction/journalPosting', '0.060513019561768', '2015-06-14 03:39:48'),
(13400, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.041459083557129', '2015-06-14 03:39:48'),
(13401, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035741090774536', '2015-06-14 03:39:48'),
(13402, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026174068450928', '2015-06-14 03:39:48'),
(13403, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035904884338379', '2015-06-14 03:39:49'),
(13404, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''5277'', ''PERODUA MYVI'', ''PM2M602S002215277'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.088420867919922', '2015-06-14 03:42:31'),
(13405, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-13'', ''IV02131850'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11466979980469', '2015-06-14 03:46:34'),
(13406, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (161, ''2'', ''157'', ''1'', ''PM2M602S002215277'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.053915977478027', '2015-06-14 03:46:34'),
(13407, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  161', 'aptransaction/savePurchaseRow', '0.039422988891602', '2015-06-14 03:46:34'),
(13408, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =161', 'aptransaction/savePurchaseRow', '0.037862777709961', '2015-06-14 03:46:34'),
(13409, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''161'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.063580989837646', '2015-06-14 03:46:55'),
(13410, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-13'', ''0'', ''IV02131850'', ''2'')', 'Aptransaction/invoicePosting', '0.053049087524414', '2015-06-14 03:46:55'),
(13411, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (163, ''161'', ''2'', ''157'', ''1'', -1, ''PM2M602S002215277'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.043738126754761', '2015-06-14 03:46:55'),
(13412, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 164 WHERE `ID` =  ''162''', 'Aptransaction/invoicePosting', '0.048969984054565', '2015-06-14 03:46:55'),
(13413, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.046891927719116', '2015-06-14 03:46:55'),
(13414, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000026'' WHERE `ID` =  ''161''', 'Aptransaction/invoicePosting', '0.032757043838501', '2015-06-14 03:46:55'),
(13415, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000026'', ''PI20150614[00000155]'', ''Purchase Invoice Confirm [ PI20150614[00000155] ]'', ''3'', ''2015-05-13'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.041341066360474', '2015-06-14 03:46:55'),
(13416, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000026'', 1, ''[5277]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000155]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.065019845962524', '2015-06-14 03:46:55'),
(13417, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000026'', ''[5277]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000155]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041934967041016', '2015-06-14 03:46:55'),
(13418, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000026'', ''[5277]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000155]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037707090377808', '2015-06-14 03:46:55'),
(13419, 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, ''AP20150200000026'', ''[5277]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000155]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.047088861465454', '2015-06-14 03:46:56'),
(13420, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000026''', 'Aptransaction/invoicePosting', '0.066398143768311', '2015-06-14 03:46:56'),
(13421, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''639''', 'Gltransaction/journalPosting', '0.20536780357361', '2015-06-14 03:47:57'),
(13422, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000026''', 'Gltransaction/journalPosting', '0.065926074981689', '2015-06-14 03:47:57'),
(13423, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030564785003662', '2015-06-14 03:47:57'),
(13424, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036195993423462', '2015-06-14 03:47:57'),
(13425, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.025980949401855', '2015-06-14 03:47:57'),
(13426, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036144018173218', '2015-06-14 03:47:57'),
(13427, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''163''', 'purchasetransaction/receiveItemPost', '0.041075944900513', '2015-06-14 03:48:28'),
(13428, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.024853944778442', '2015-06-14 03:48:28'),
(13429, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000005'' WHERE `ID` =  ''163''', 'purchasetransaction/receiveItemPost', '0.037684917449951', '2015-06-14 03:48:28'),
(13430, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000005'', ''GRN20150614[00000157]'', '' [ GRN20150614[00000157] ]'', ''8'', ''2015-05-13'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065354108810425', '2015-06-14 03:48:28'),
(13431, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''157'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.026234149932861', '2015-06-14 03:48:28'),
(13432, 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'', ''PO20150200000005'', 1, ''[5277]PERODUA MYVI'', ''38'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''GRN20150614[00000157]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048800945281982', '2015-06-14 03:48:28'),
(13433, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000005'', ''[5277]PERODUA MYVI'', ''21'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''GRN20150614[00000163]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054016828536987', '2015-06-14 03:48:28'),
(13434, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38636.79, `total_amount_cr` = 38636.79, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000005''', 'purchasetransaction/receiveItemPost', '0.038871049880981', '2015-06-14 03:48:28'),
(13435, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''640''', 'Gltransaction/journalPosting', '0.2949070930481', '2015-06-14 03:49:48'),
(13436, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000005''', 'Gltransaction/journalPosting', '0.059323072433472', '2015-06-14 03:49:48'),
(13437, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035794973373413', '2015-06-14 03:49:48'),
(13438, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035422086715698', '2015-06-14 03:49:48'),
(13439, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150614'', ''CN00103633'', ''2015-05-15'', ''161'', '''', ''1'', ''1.00000'', ''38636.79'', ''2318.21'', ''40955'')', 'aptransaction/saveNewParchaseDebit', '0.062940120697021', '2015-06-14 03:51:27'),
(13440, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (24, ''2'', ''157'', ''162'', ''16'', ''PM2M602S002215277'', ''1'', ''38636.79'', ''38636.79'', ''40955'', ''15'', ''1'', ''6'', ''2318.21'')', 'aptransaction/saveNewParchaseDebit', '0.036844968795776', '2015-06-14 03:51:28'),
(13441, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  24', 'aptransaction/saveNewParchaseDebit', '0.023154020309448', '2015-06-14 03:51:28'),
(13442, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''24''', 'Aptransaction/debitNotePosting', '0.040518045425415', '2015-06-14 03:51:49'),
(13443, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  ''13''', 'Aptransaction/debitNotePosting', '0.024881839752197', '2015-06-14 03:51:49'),
(13444, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150200000027'' WHERE `ID` =  ''24''', 'Aptransaction/debitNotePosting', '0.037467956542969', '2015-06-14 03:51:49'),
(13445, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000027'', ''PDN20150614[00000022]'', ''Posting Debit Note Confirm [ PDN20150614[00000022] ]'', ''3'', ''2015-05-15'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/debitNotePosting', '0.063781976699829', '2015-06-14 03:51:49'),
(13446, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''157'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.035424947738647', '2015-06-14 03:51:49'),
(13447, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''164''', 'Aptransaction/debitNotePosting', '0.038116931915283', '2015-06-14 03:51:49'),
(13448, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''164'', ''24'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.05440092086792', '2015-06-14 03:51:49'),
(13449, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000027'', 1, ''[5277]PM2M602S002215277'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, 1, ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PDN20150614[00000022][00000024]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.048686981201172', '2015-06-14 03:51:49'),
(13450, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000027'', ''[5277]PM2M602S002215277'', ''21'', ''PERODUA SALES SDN BHD'', 38636.79, 1, ''1'', ''38636.79'', ''2'', ''2015'', ''PDN20150614[00000022][00000024]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036102056503296', '2015-06-14 03:51:49'),
(13451, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000027'', ''[5277]PM2M602S002215277'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, 1, ''1'', ''2318.21'', ''2'', ''2015'', ''PDN20150614[00000022][00000024]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.026561975479126', '2015-06-14 03:51:49'),
(13452, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150200000027'', ''[5277]PM2M602S002215277'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, 1, ''1'', ''2318.21'', ''2'', ''2015'', ''PDN20150614[00000022][00000024]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.036148071289062', '2015-06-14 03:51:49'),
(13453, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000027''', 'Aptransaction/debitNotePosting', '0.027976036071777', '2015-06-14 03:51:49'),
(13454, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''641''', 'Gltransaction/journalPosting', '0.055421829223633', '2015-06-14 03:52:40'),
(13455, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000027''', 'Gltransaction/journalPosting', '0.050546169281006', '2015-06-14 03:52:40'),
(13456, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030779123306274', '2015-06-14 03:52:40'),
(13457, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035935163497925', '2015-06-14 03:52:40'),
(13458, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026237964630127', '2015-06-14 03:52:40'),
(13459, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057948112487793', '2015-06-14 03:52:40'),
(13460, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''6292'', ''PERODUA MYVI'', ''PM2M602S002216292'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049919843673706', '2015-06-14 03:58:20');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13461, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-13'', ''IV02131851'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.095391988754272', '2015-06-14 04:00:51'),
(13462, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (162, ''2'', ''158'', ''1'', ''PM2M602S002216292'', ''1'', ''16'', ''40937.62'', ''40937.62'', ''15'', ''6'', ''2456.26'', ''43393.88'')', 'aptransaction/savePurchaseRow', '0.037147045135498', '2015-06-14 04:00:51'),
(13463, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2456.26'', `totalAmount` = ''43393.88'' WHERE `ID` =  162', 'aptransaction/savePurchaseRow', '0.065010070800781', '2015-06-14 04:00:51'),
(13464, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =162', 'aptransaction/savePurchaseRow', '0.066773176193237', '2015-06-14 04:00:51'),
(13465, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''162'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.04078197479248', '2015-06-14 04:01:24'),
(13466, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-13'', ''0'', ''IV02131851'', ''2'')', 'Aptransaction/invoicePosting', '0.070719003677368', '2015-06-14 04:01:24'),
(13467, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (164, ''162'', ''2'', ''158'', ''1'', -1, ''PM2M602S002216292'', ''1'', ''1'', ''1'', ''40937.62'', 40937.62)', 'Aptransaction/invoicePosting', '0.03865385055542', '2015-06-14 04:01:24'),
(13468, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 165 WHERE `ID` =  ''163''', 'Aptransaction/invoicePosting', '0.037909984588623', '2015-06-14 04:01:24'),
(13469, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.025262117385864', '2015-06-14 04:01:24'),
(13470, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000028'' WHERE `ID` =  ''162''', 'Aptransaction/invoicePosting', '0.037723064422607', '2015-06-14 04:01:24'),
(13471, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000028'', ''PI20150614[00000156]'', ''Purchase Invoice Confirm [ PI20150614[00000156] ]'', ''3'', ''2015-05-13'', ''2015'', ''2'', 43393.88, 43393.88, ''2'')', 'Aptransaction/invoicePosting', '0.069353818893433', '2015-06-14 04:01:24'),
(13472, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000028'', 1, ''[6292]'', ''138'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''PI20150614[00000156]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038181066513062', '2015-06-14 04:01:24'),
(13473, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000028'', ''[6292]'', ''38'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''2'', ''2015'', ''1'', ''PI20150614[00000156]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03559398651123', '2015-06-14 04:01:24'),
(13474, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000028'', ''[6292]'', ''34'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''2'', ''2015'', ''1'', ''PI20150614[00000156]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027132987976074', '2015-06-14 04:01:24'),
(13475, 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, ''AP20150200000028'', ''[6292]'', ''138'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''2'', ''2015'', ''1'', ''PI20150614[00000156]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035614013671875', '2015-06-14 04:01:24'),
(13476, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43393.88, `total_amount_cr` = 43393.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000028''', 'Aptransaction/invoicePosting', '0.028512954711914', '2015-06-14 04:01:24'),
(13477, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''642''', 'Gltransaction/journalPosting', '0.56768012046814', '2015-06-14 04:03:15'),
(13478, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000028''', 'Gltransaction/journalPosting', '0.11421298980713', '2015-06-14 04:03:15'),
(13479, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057269811630249', '2015-06-14 04:03:15'),
(13480, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026449918746948', '2015-06-14 04:03:15'),
(13481, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046713829040527', '2015-06-14 04:03:15'),
(13482, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.02643895149231', '2015-06-14 04:03:15'),
(13483, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''8927'', ''PERODUA MYVI'', ''PM2M602S002218927'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.074711084365845', '2015-06-14 04:06:43'),
(13484, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-13'', ''IV02131853'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14053916931152', '2015-06-14 04:08:30'),
(13485, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (163, ''2'', ''159'', ''1'', ''PM2M602S002218927'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.02852988243103', '2015-06-14 04:08:30'),
(13486, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  163', 'aptransaction/savePurchaseRow', '0.046205997467041', '2015-06-14 04:08:31'),
(13487, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =163', 'aptransaction/savePurchaseRow', '0.048698902130127', '2015-06-14 04:08:31'),
(13488, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''163'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.029179096221924', '2015-06-14 04:08:50'),
(13489, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-13'', ''0'', ''IV02131853'', ''2'')', 'Aptransaction/invoicePosting', '0.069657802581787', '2015-06-14 04:08:50'),
(13490, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (165, ''163'', ''2'', ''159'', ''1'', -1, ''PM2M602S002218927'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.04367208480835', '2015-06-14 04:08:50'),
(13491, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 166 WHERE `ID` =  ''164''', 'Aptransaction/invoicePosting', '0.037158966064453', '2015-06-14 04:08:50'),
(13492, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.027087926864624', '2015-06-14 04:08:50'),
(13493, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000029'' WHERE `ID` =  ''163''', 'Aptransaction/invoicePosting', '0.037128925323486', '2015-06-14 04:08:50'),
(13494, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000029'', ''PI20150614[00000157]'', ''Purchase Invoice Confirm [ PI20150614[00000157] ]'', ''3'', ''2015-05-13'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.059314012527466', '2015-06-14 04:08:50'),
(13495, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000029'', 1, ''[8927]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000157]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059433937072754', '2015-06-14 04:08:50'),
(13496, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000029'', ''[8927]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000157]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036262035369873', '2015-06-14 04:08:50'),
(13497, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000029'', ''[8927]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000157]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026478052139282', '2015-06-14 04:08:50'),
(13498, 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, ''AP20150200000029'', ''[8927]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000157]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036206007003784', '2015-06-14 04:08:51'),
(13499, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000029''', 'Aptransaction/invoicePosting', '0.027764081954956', '2015-06-14 04:08:51'),
(13500, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''643''', 'Gltransaction/journalPosting', '0.099085807800293', '2015-06-14 04:10:42'),
(13501, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000029''', 'Gltransaction/journalPosting', '0.050991058349609', '2015-06-14 04:10:42'),
(13502, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057175159454346', '2015-06-14 04:10:42'),
(13503, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053632020950317', '2015-06-14 04:10:42'),
(13504, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026602029800415', '2015-06-14 04:10:43'),
(13505, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057595014572144', '2015-06-14 04:10:43'),
(13506, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''7384'', ''PERODUA MYVI'', ''PM2M602S002227384'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.31658697128296', '2015-06-14 04:12:16'),
(13507, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-13'', ''IV02131908'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.078889131546021', '2015-06-14 04:13:44'),
(13508, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (164, ''2'', ''160'', ''1'', ''PM2M602S002227384'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.028228998184204', '2015-06-14 04:13:44'),
(13509, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  164', 'aptransaction/savePurchaseRow', '0.040803909301758', '2015-06-14 04:13:44'),
(13510, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =164', 'aptransaction/savePurchaseRow', '0.043665885925293', '2015-06-14 04:13:44'),
(13511, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''164'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036858797073364', '2015-06-14 04:14:03'),
(13512, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-13'', ''0'', ''IV02131908'', ''2'')', 'Aptransaction/invoicePosting', '0.1081211566925', '2015-06-14 04:14:03'),
(13513, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (166, ''164'', ''2'', ''160'', ''1'', -1, ''PM2M602S002227384'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.040645122528076', '2015-06-14 04:14:03'),
(13514, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 167 WHERE `ID` =  ''165''', 'Aptransaction/invoicePosting', '0.037408113479614', '2015-06-14 04:14:03'),
(13515, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.025691986083984', '2015-06-14 04:14:03'),
(13516, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000030'' WHERE `ID` =  ''164''', 'Aptransaction/invoicePosting', '0.037377119064331', '2015-06-14 04:14:03'),
(13517, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000030'', ''PI20150614[00000158]'', ''Purchase Invoice Confirm [ PI20150614[00000158] ]'', ''3'', ''2015-05-13'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.05419921875', '2015-06-14 04:14:03'),
(13518, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000030'', 1, ''[7384]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000158]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053436040878296', '2015-06-14 04:14:03'),
(13519, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000030'', ''[7384]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000158]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035486936569214', '2015-06-14 04:14:03'),
(13520, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000030'', ''[7384]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000158]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027198791503906', '2015-06-14 04:14:03'),
(13521, 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, ''AP20150200000030'', ''[7384]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000158]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035465002059937', '2015-06-14 04:14:03'),
(13522, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000030''', 'Aptransaction/invoicePosting', '0.028589010238647', '2015-06-14 04:14:03'),
(13523, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''644''', 'Gltransaction/journalPosting', '0.0693039894104', '2015-06-14 04:15:13'),
(13524, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000030''', 'Gltransaction/journalPosting', '0.066452980041504', '2015-06-14 04:15:13'),
(13525, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.078162908554077', '2015-06-14 04:15:14'),
(13526, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.02805495262146', '2015-06-14 04:15:14'),
(13527, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053201913833618', '2015-06-14 04:15:14'),
(13528, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046125888824463', '2015-06-14 04:15:14'),
(13529, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''6683'', ''PERODUA MYVI'', ''PM2M602S002226683'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.086270809173584', '2015-06-14 04:18:08'),
(13530, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150614'', ''2015-05-15'', ''IV02133169'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10333800315857', '2015-06-14 04:20:01'),
(13531, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (165, ''2'', ''161'', ''1'', ''PM2M602S002226683'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.02841591835022', '2015-06-14 04:20:01'),
(13532, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  165', 'aptransaction/savePurchaseRow', '0.086795091629028', '2015-06-14 04:20:01'),
(13533, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =165', 'aptransaction/savePurchaseRow', '0.04822301864624', '2015-06-14 04:20:01'),
(13534, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''165'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.040740013122559', '2015-06-14 04:20:17'),
(13535, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150614'', ''2015-05-15'', ''0'', ''IV02133169'', ''2'')', 'Aptransaction/invoicePosting', '0.065306901931763', '2015-06-14 04:20:17'),
(13536, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (167, ''165'', ''2'', ''161'', ''1'', -1, ''PM2M602S002226683'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.039935827255249', '2015-06-14 04:20:17'),
(13537, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 168 WHERE `ID` =  ''166''', 'Aptransaction/invoicePosting', '0.036633968353271', '2015-06-14 04:20:18'),
(13538, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.025892019271851', '2015-06-14 04:20:18'),
(13539, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000031'' WHERE `ID` =  ''165''', 'Aptransaction/invoicePosting', '0.036675930023193', '2015-06-14 04:20:18'),
(13540, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000031'', ''PI20150614[00000159]'', ''Purchase Invoice Confirm [ PI20150614[00000159] ]'', ''3'', ''2015-05-15'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.055063009262085', '2015-06-14 04:20:18'),
(13541, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000031'', 1, ''[6683]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000159]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053390026092529', '2015-06-14 04:20:18'),
(13542, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000031'', ''[6683]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150614[00000159]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035660982131958', '2015-06-14 04:20:18'),
(13543, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000031'', ''[6683]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000159]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027074098587036', '2015-06-14 04:20:18'),
(13544, 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, ''AP20150200000031'', ''[6683]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150614[00000159]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03571891784668', '2015-06-14 04:20:18'),
(13545, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000031''', 'Aptransaction/invoicePosting', '0.028359889984131', '2015-06-14 04:20:18'),
(13546, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''645''', 'Gltransaction/journalPosting', '0.31586194038391', '2015-06-14 04:21:26'),
(13547, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000031''', 'Gltransaction/journalPosting', '0.055295944213867', '2015-06-14 04:21:26'),
(13548, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.098309993743896', '2015-06-14 04:21:26'),
(13549, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075824022293091', '2015-06-14 04:21:27'),
(13550, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026986122131348', '2015-06-14 04:21:27'),
(13551, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.034946918487549', '2015-06-14 04:21:27'),
(13552, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''2428'', ''PERODUA MYVI'', ''PM2M602S002222428'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052898168563843', '2015-06-16 02:54:14'),
(13553, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-04'', ''IV02125581'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.053147077560425', '2015-06-16 02:55:45'),
(13554, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (166, ''2'', ''162'', ''1'', ''PM2M602S002222428'', ''1'', ''16'', ''38285.43'', ''38285.43'', ''15'', ''6'', ''2297.13'', ''40582.56'')', 'aptransaction/savePurchaseRow', '0.054903984069824', '2015-06-16 02:55:45'),
(13555, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2297.13'', `totalAmount` = ''40582.56'' WHERE `ID` =  166', 'aptransaction/savePurchaseRow', '0.058511972427368', '2015-06-16 02:55:45'),
(13556, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =166', 'aptransaction/savePurchaseRow', '0.044622898101807', '2015-06-16 02:55:45'),
(13557, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''166'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.057873964309692', '2015-06-16 02:56:08'),
(13558, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-04'', ''0'', ''IV02125581'', ''2'')', 'Aptransaction/invoicePosting', '0.14805698394775', '2015-06-16 02:56:08'),
(13559, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (168, ''166'', ''2'', ''162'', ''1'', -1, ''PM2M602S002222428'', ''1'', ''1'', ''1'', ''38285.43'', 38285.43)', 'Aptransaction/invoicePosting', '0.087430953979492', '2015-06-16 02:56:08'),
(13560, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 169 WHERE `ID` =  ''167''', 'Aptransaction/invoicePosting', '0.055517911911011', '2015-06-16 02:56:08'),
(13561, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.038528919219971', '2015-06-16 02:56:08'),
(13562, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000032'' WHERE `ID` =  ''166''', 'Aptransaction/invoicePosting', '0.06856894493103', '2015-06-16 02:56:08'),
(13563, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000032'', ''PI20150616[00000160]'', ''Purchase Invoice Confirm [ PI20150616[00000160] ]'', ''3'', ''2015-05-04'', ''2015'', ''2'', 40582.56, 40582.56, ''2'')', 'Aptransaction/invoicePosting', '0.071164131164551', '2015-06-16 02:56:08'),
(13564, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000032'', 1, ''[2428]'', ''138'', ''PERODUA SALES SDN BHD'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''PI20150616[00000160]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.055832862854004', '2015-06-16 02:56:08'),
(13565, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000032'', ''[2428]'', ''38'', ''PERODUA SALES SDN BHD'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''PI20150616[00000160]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0349280834198', '2015-06-16 02:56:08'),
(13566, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000032'', ''[2428]'', ''34'', ''PERODUA SALES SDN BHD'', 2297.13, ''1'', ''1'', ''2297.13'', ''2'', ''2015'', ''1'', ''PI20150616[00000160]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027751207351685', '2015-06-16 02:56:08'),
(13567, 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, ''AP20150200000032'', ''[2428]'', ''138'', ''PERODUA SALES SDN BHD'', 2297.13, ''1'', ''1'', ''2297.13'', ''2'', ''2015'', ''1'', ''PI20150616[00000160]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034907102584839', '2015-06-16 02:56:08'),
(13568, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40582.56, `total_amount_cr` = 40582.56, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000032''', 'Aptransaction/invoicePosting', '0.029076099395752', '2015-06-16 02:56:08'),
(13569, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''646''', 'Gltransaction/journalPosting', '0.12785005569458', '2015-06-16 02:57:15'),
(13570, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000032''', 'Gltransaction/journalPosting', '0.076498031616211', '2015-06-16 02:57:15'),
(13571, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057319164276123', '2015-06-16 02:57:15'),
(13572, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041661977767944', '2015-06-16 02:57:15'),
(13573, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.042459011077881', '2015-06-16 02:57:15'),
(13574, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.052628993988037', '2015-06-16 02:57:15'),
(13575, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''168''', 'purchasetransaction/receiveItemPost', '0.040014028549194', '2015-06-16 02:57:59'),
(13576, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.0852370262146', '2015-06-16 02:57:59'),
(13577, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000006'' WHERE `ID` =  ''168''', 'purchasetransaction/receiveItemPost', '0.040249109268188', '2015-06-16 02:57:59'),
(13578, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000006'', ''GRN20150616[00000162]'', '' [ GRN20150616[00000162] ]'', ''8'', ''2015-05-04'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.073537111282349', '2015-06-16 02:57:59'),
(13579, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''162'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.026782035827637', '2015-06-16 02:57:59'),
(13580, 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'', ''PO20150200000006'', 1, ''[2428]PERODUA MYVI'', ''38'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''GRN20150616[00000162]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043538093566895', '2015-06-16 02:57:59'),
(13581, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000006'', ''[2428]PERODUA MYVI'', ''21'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''GRN20150616[00000168]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03535008430481', '2015-06-16 02:57:59'),
(13582, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38285.43, `total_amount_cr` = 38285.43, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000006''', 'purchasetransaction/receiveItemPost', '0.029570817947388', '2015-06-16 02:57:59'),
(13583, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''647''', 'Gltransaction/journalPosting', '0.31293892860413', '2015-06-16 03:00:44'),
(13584, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000006''', 'Gltransaction/journalPosting', '0.055369138717651', '2015-06-16 03:00:44');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13585, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056664943695068', '2015-06-16 03:00:44'),
(13586, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.027925968170166', '2015-06-16 03:00:44'),
(13587, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''5537'', ''PERODUA ALZA'', ''PM2M502G002245537'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.087367057800293', '2015-06-16 03:04:34'),
(13588, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-05'', ''IV02126476'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.13946294784546', '2015-06-16 03:06:11'),
(13589, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (167, ''2'', ''163'', ''1'', ''PM2M502G002245537'', ''1'', ''16'', ''48765.18'', ''48765.18'', ''15'', ''6'', ''2925.91'', ''51691.09'')', 'aptransaction/savePurchaseRow', '0.042866945266724', '2015-06-16 03:06:11'),
(13590, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2925.91'', `totalAmount` = ''51691.09'' WHERE `ID` =  167', 'aptransaction/savePurchaseRow', '0.061217069625854', '2015-06-16 03:06:11'),
(13591, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =167', 'aptransaction/savePurchaseRow', '0.054437875747681', '2015-06-16 03:06:11'),
(13592, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''167'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.039919853210449', '2015-06-16 03:06:28'),
(13593, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-05'', ''0'', ''IV02126476'', ''2'')', 'Aptransaction/invoicePosting', '0.081379890441895', '2015-06-16 03:06:28'),
(13594, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (169, ''167'', ''2'', ''163'', ''1'', -1, ''PM2M502G002245537'', ''1'', ''1'', ''1'', ''48765.18'', 48765.18)', 'Aptransaction/invoicePosting', '0.054744958877563', '2015-06-16 03:06:28'),
(13595, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 170 WHERE `ID` =  ''168''', 'Aptransaction/invoicePosting', '0.035765886306763', '2015-06-16 03:06:28'),
(13596, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.026586055755615', '2015-06-16 03:06:28'),
(13597, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000033'' WHERE `ID` =  ''167''', 'Aptransaction/invoicePosting', '0.035611867904663', '2015-06-16 03:06:28'),
(13598, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000033'', ''PI20150616[00000161]'', ''Purchase Invoice Confirm [ PI20150616[00000161] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 51691.09, 51691.09, ''2'')', 'Aptransaction/invoicePosting', '0.059446096420288', '2015-06-16 03:06:29'),
(13599, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000033'', 1, ''[5537]'', ''138'', ''PERODUA SALES SDN BHD'', 48765.18, ''1'', ''1'', ''48765.18'', ''2'', ''2015'', ''1'', ''PI20150616[00000161]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038993120193481', '2015-06-16 03:06:29'),
(13600, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000033'', ''[5537]'', ''38'', ''PERODUA SALES SDN BHD'', 48765.18, ''1'', ''1'', ''48765.18'', ''2'', ''2015'', ''1'', ''PI20150616[00000161]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034796953201294', '2015-06-16 03:06:29'),
(13601, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000033'', ''[5537]'', ''34'', ''PERODUA SALES SDN BHD'', 2925.91, ''1'', ''1'', ''2925.91'', ''2'', ''2015'', ''1'', ''PI20150616[00000161]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052870035171509', '2015-06-16 03:06:29'),
(13602, 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, ''AP20150200000033'', ''[5537]'', ''138'', ''PERODUA SALES SDN BHD'', 2925.91, ''1'', ''1'', ''2925.91'', ''2'', ''2015'', ''1'', ''PI20150616[00000161]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028433084487915', '2015-06-16 03:06:29'),
(13603, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51691.09, `total_amount_cr` = 51691.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000033''', 'Aptransaction/invoicePosting', '0.035575151443481', '2015-06-16 03:06:29'),
(13604, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''648''', 'Gltransaction/journalPosting', '0.069023132324219', '2015-06-16 03:07:17'),
(13605, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000033''', 'Gltransaction/journalPosting', '0.04423713684082', '2015-06-16 03:07:17'),
(13606, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.045756101608276', '2015-06-16 03:07:17'),
(13607, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028136014938354', '2015-06-16 03:07:17'),
(13608, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.033946990966797', '2015-06-16 03:07:17'),
(13609, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028188943862915', '2015-06-16 03:07:17'),
(13610, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''169''', 'purchasetransaction/receiveItemPost', '0.033093929290771', '2015-06-16 03:07:45'),
(13611, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.053637981414795', '2015-06-16 03:07:45'),
(13612, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000007'' WHERE `ID` =  ''169''', 'purchasetransaction/receiveItemPost', '0.065408945083618', '2015-06-16 03:07:45'),
(13613, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000007'', ''GRN20150616[00000163]'', '' [ GRN20150616[00000163] ]'', ''8'', ''2015-05-05'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07059907913208', '2015-06-16 03:07:45'),
(13614, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''163'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041435956954956', '2015-06-16 03:07:45'),
(13615, 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'', ''PO20150200000007'', 1, ''[5537]PERODUA ALZA'', ''38'', 48765.18, ''1'', ''1'', ''48765.18'', ''2'', ''2015'', ''1'', ''GRN20150616[00000163]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029406070709229', '2015-06-16 03:07:45'),
(13616, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000007'', ''[5537]PERODUA ALZA'', ''21'', 48765.18, ''1'', ''1'', ''48765.18'', ''2'', ''2015'', ''GRN20150616[00000169]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035158157348633', '2015-06-16 03:07:45'),
(13617, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48765.18, `total_amount_cr` = 48765.18, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000007''', 'purchasetransaction/receiveItemPost', '0.055447101593018', '2015-06-16 03:07:45'),
(13618, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''649''', 'Gltransaction/journalPosting', '0.32882404327393', '2015-06-16 03:09:07'),
(13619, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000007''', 'Gltransaction/journalPosting', '0.043272018432617', '2015-06-16 03:09:07'),
(13620, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063436985015869', '2015-06-16 03:09:07'),
(13621, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.063823938369751', '2015-06-16 03:09:07'),
(13622, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''8532'', ''PERODUA MYVI'', ''PM2M602S002228532'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.31465411186218', '2015-06-16 03:13:23'),
(13623, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-05'', ''IV02126643'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.06177282333374', '2015-06-16 03:14:52'),
(13624, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (168, ''2'', ''164'', ''1'', ''PM2M602S002228532'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.04314398765564', '2015-06-16 03:14:52'),
(13625, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  168', 'aptransaction/savePurchaseRow', '0.061093091964722', '2015-06-16 03:14:52'),
(13626, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =168', 'aptransaction/savePurchaseRow', '0.05471396446228', '2015-06-16 03:14:52'),
(13627, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''168'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.04118800163269', '2015-06-16 03:15:30'),
(13628, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-05'', ''0'', ''IV02126643'', ''2'')', 'Aptransaction/invoicePosting', '0.069710969924927', '2015-06-16 03:15:30'),
(13629, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (170, ''168'', ''2'', ''164'', ''1'', -1, ''PM2M602S002228532'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.040811061859131', '2015-06-16 03:15:30'),
(13630, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 171 WHERE `ID` =  ''169''', 'Aptransaction/invoicePosting', '0.035750150680542', '2015-06-16 03:15:30'),
(13631, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.026869058609009', '2015-06-16 03:15:30'),
(13632, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000034'' WHERE `ID` =  ''168''', 'Aptransaction/invoicePosting', '0.057855129241943', '2015-06-16 03:15:30'),
(13633, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000034'', ''PI20150616[00000162]'', ''Purchase Invoice Confirm [ PI20150616[00000162] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.059203863143921', '2015-06-16 03:15:30'),
(13634, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000034'', 1, ''[8532]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''PI20150616[00000162]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038762092590332', '2015-06-16 03:15:30'),
(13635, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000034'', ''[8532]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''PI20150616[00000162]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034791946411133', '2015-06-16 03:15:30'),
(13636, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000034'', ''[8532]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''2'', ''2015'', ''1'', ''PI20150616[00000162]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027984142303467', '2015-06-16 03:15:30'),
(13637, 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, ''AP20150200000034'', ''[8532]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''2'', ''2015'', ''1'', ''PI20150616[00000162]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034762859344482', '2015-06-16 03:15:31'),
(13638, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43793.88, `total_amount_cr` = 43793.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000034''', 'Aptransaction/invoicePosting', '0.029267072677612', '2015-06-16 03:15:31'),
(13639, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''650''', 'Gltransaction/journalPosting', '0.32255887985229', '2015-06-16 03:17:05'),
(13640, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000034''', 'Gltransaction/journalPosting', '0.043231010437012', '2015-06-16 03:17:05'),
(13641, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046195983886719', '2015-06-16 03:17:05'),
(13642, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027969121932983', '2015-06-16 03:17:05'),
(13643, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.056226015090942', '2015-06-16 03:17:05'),
(13644, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.05266284942627', '2015-06-16 03:17:05'),
(13645, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''170''', 'purchasetransaction/receiveItemPost', '0.040571928024292', '2015-06-16 03:17:42'),
(13646, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.027005910873413', '2015-06-16 03:17:42'),
(13647, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000008'' WHERE `ID` =  ''170''', 'purchasetransaction/receiveItemPost', '0.078778028488159', '2015-06-16 03:17:42'),
(13648, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000008'', ''GRN20150616[00000164]'', '' [ GRN20150616[00000164] ]'', ''8'', ''2015-05-05'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07048487663269', '2015-06-16 03:17:42'),
(13649, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''164'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.0418381690979', '2015-06-16 03:17:42'),
(13650, 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'', ''PO20150200000008'', 1, ''[8532]PERODUA MYVI'', ''38'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''GRN20150616[00000164]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04289698600769', '2015-06-16 03:17:42'),
(13651, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000008'', ''[8532]PERODUA MYVI'', ''21'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''GRN20150616[00000170]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029882907867432', '2015-06-16 03:17:42'),
(13652, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41314.98, `total_amount_cr` = 41314.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000008''', 'purchasetransaction/receiveItemPost', '0.035131216049194', '2015-06-16 03:17:42'),
(13653, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''651''', 'Gltransaction/journalPosting', '0.31393790245056', '2015-06-16 03:19:00'),
(13654, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000008''', 'Gltransaction/journalPosting', '0.065452098846436', '2015-06-16 03:19:00'),
(13655, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035112857818604', '2015-06-16 03:19:00'),
(13656, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028189897537231', '2015-06-16 03:19:00'),
(13657, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''6733'', ''PERODUA MYVI'', ''PM2M603S002126733'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.076683044433594', '2015-06-16 03:22:09'),
(13658, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-05'', ''IV02126791'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.053751945495605', '2015-06-16 03:23:26'),
(13659, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (169, ''2'', ''165'', ''1'', ''PM2M603S002126733'', ''1'', ''16'', ''46519.12'', ''46519.12'', ''15'', ''6'', ''2791.15'', ''49310.27'')', 'aptransaction/savePurchaseRow', '0.044260025024414', '2015-06-16 03:23:26'),
(13660, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2791.15'', `totalAmount` = ''49310.27'' WHERE `ID` =  169', 'aptransaction/savePurchaseRow', '0.039473056793213', '2015-06-16 03:23:26'),
(13661, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =169', 'aptransaction/savePurchaseRow', '0.055718898773193', '2015-06-16 03:23:26'),
(13662, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''169'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.060030937194824', '2015-06-16 03:23:46'),
(13663, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-05'', ''0'', ''IV02126791'', ''2'')', 'Aptransaction/invoicePosting', '0.0592360496521', '2015-06-16 03:23:46'),
(13664, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (171, ''169'', ''2'', ''165'', ''1'', -1, ''PM2M603S002126733'', ''1'', ''1'', ''1'', ''46519.12'', 46519.12)', 'Aptransaction/invoicePosting', '0.029531955718994', '2015-06-16 03:23:46'),
(13665, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 172 WHERE `ID` =  ''170''', 'Aptransaction/invoicePosting', '0.043933868408203', '2015-06-16 03:23:46'),
(13666, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.031671047210693', '2015-06-16 03:23:47'),
(13667, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000035'' WHERE `ID` =  ''169''', 'Aptransaction/invoicePosting', '0.066492080688477', '2015-06-16 03:23:47'),
(13668, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000035'', ''PI20150616[00000163]'', ''Purchase Invoice Confirm [ PI20150616[00000163] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 49310.27, 49310.27, ''2'')', 'Aptransaction/invoicePosting', '0.036278009414673', '2015-06-16 03:23:47'),
(13669, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000035'', 1, ''[6733]'', ''138'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''2'', ''2015'', ''1'', ''PI20150616[00000163]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02868914604187', '2015-06-16 03:23:47'),
(13670, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000035'', ''[6733]'', ''38'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''2'', ''2015'', ''1'', ''PI20150616[00000163]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034016847610474', '2015-06-16 03:23:47'),
(13671, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150200000035'', ''[6733]'', ''34'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''2'', ''2015'', ''1'', ''PI20150616[00000163]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028711080551147', '2015-06-16 03:23:47'),
(13672, 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, ''AP20150200000035'', ''[6733]'', ''138'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''2'', ''2015'', ''1'', ''PI20150616[00000163]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064626932144165', '2015-06-16 03:23:47'),
(13673, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49310.27, `total_amount_cr` = 49310.27, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000035''', 'Aptransaction/invoicePosting', '0.046833992004395', '2015-06-16 03:23:47'),
(13674, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''652''', 'Gltransaction/journalPosting', '0.07887601852417', '2015-06-16 03:24:42'),
(13675, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000035''', 'Gltransaction/journalPosting', '0.05480694770813', '2015-06-16 03:24:43'),
(13676, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.033041954040527', '2015-06-16 03:24:43'),
(13677, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033254146575928', '2015-06-16 03:24:43'),
(13678, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028876066207886', '2015-06-16 03:24:43'),
(13679, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.066440105438232', '2015-06-16 03:24:43'),
(13680, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''171''', 'purchasetransaction/receiveItemPost', '0.04058313369751', '2015-06-16 03:25:25'),
(13681, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.027383804321289', '2015-06-16 03:25:26'),
(13682, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000009'' WHERE `ID` =  ''171''', 'purchasetransaction/receiveItemPost', '0.079721927642822', '2015-06-16 03:25:26'),
(13683, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000009'', ''GRN20150616[00000165]'', '' [ GRN20150616[00000165] ]'', ''8'', ''2015-05-05'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.069478988647461', '2015-06-16 03:25:26'),
(13684, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''165'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041983127593994', '2015-06-16 03:25:26'),
(13685, 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'', ''PO20150200000009'', 1, ''[6733]PERODUA MYVI'', ''38'', 46519.12, ''1'', ''1'', ''46519.12'', ''2'', ''2015'', ''1'', ''GRN20150616[00000165]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.040756225585938', '2015-06-16 03:25:26'),
(13686, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000009'', ''[6733]PERODUA MYVI'', ''21'', 46519.12, ''1'', ''1'', ''46519.12'', ''2'', ''2015'', ''GRN20150616[00000171]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035038948059082', '2015-06-16 03:25:26'),
(13687, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46519.12, `total_amount_cr` = 46519.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000009''', 'purchasetransaction/receiveItemPost', '0.06536602973938', '2015-06-16 03:25:26'),
(13688, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''653''', 'Gltransaction/journalPosting', '0.21947908401489', '2015-06-16 03:26:28'),
(13689, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000009''', 'Gltransaction/journalPosting', '0.045845031738281', '2015-06-16 03:26:28'),
(13690, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027749061584473', '2015-06-16 03:26:28'),
(13691, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.033032894134521', '2015-06-16 03:26:28'),
(13692, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''9324'', ''PERODUA MYVI'', ''PM2M602S002229324'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.092221975326538', '2015-06-16 03:33:08'),
(13693, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-11'', ''IV02130398'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14782309532166', '2015-06-16 03:34:50'),
(13694, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (170, ''2'', ''166'', ''1'', ''PM2M602S002229324'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.04306697845459', '2015-06-16 03:34:50'),
(13695, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  170', 'aptransaction/savePurchaseRow', '0.037886142730713', '2015-06-16 03:34:50'),
(13696, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =170', 'aptransaction/savePurchaseRow', '0.030584096908569', '2015-06-16 03:34:50'),
(13697, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''170'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.040162086486816', '2015-06-16 03:35:10'),
(13698, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-11'', ''0'', ''IV02130398'', ''2'')', 'Aptransaction/invoicePosting', '0.056523084640503', '2015-06-16 03:35:10'),
(13699, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (172, ''170'', ''2'', ''166'', ''1'', -1, ''PM2M602S002229324'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.054756879806519', '2015-06-16 03:35:10'),
(13700, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 173 WHERE `ID` =  ''171''', 'Aptransaction/invoicePosting', '0.035606145858765', '2015-06-16 03:35:10'),
(13701, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.027562141418457', '2015-06-16 03:35:10'),
(13702, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000036'' WHERE `ID` =  ''170''', 'Aptransaction/invoicePosting', '0.078275918960571', '2015-06-16 03:35:10'),
(13703, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000036'', ''PI20150616[00000164]'', ''Purchase Invoice Confirm [ PI20150616[00000164] ]'', ''3'', ''2015-05-11'', ''2015'', ''2'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.059784173965454', '2015-06-16 03:35:11'),
(13704, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000036'', 1, ''[9324]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''PI20150616[00000164]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.039983034133911', '2015-06-16 03:35:11'),
(13705, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000036'', ''[9324]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''PI20150616[00000164]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.055742025375366', '2015-06-16 03:35:11'),
(13706, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000036'', ''[9324]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''2'', ''2015'', ''1'', ''PI20150616[00000164]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029123067855835', '2015-06-16 03:35:11'),
(13707, 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, ''AP20150200000036'', ''[9324]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''2'', ''2015'', ''1'', ''PI20150616[00000164]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033634901046753', '2015-06-16 03:35:11'),
(13708, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43793.88, `total_amount_cr` = 43793.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000036''', 'Aptransaction/invoicePosting', '0.030440092086792', '2015-06-16 03:35:11'),
(13709, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''654''', 'Gltransaction/journalPosting', '0.090276002883911', '2015-06-16 03:35:56'),
(13710, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000036''', 'Gltransaction/journalPosting', '0.099148035049438', '2015-06-16 03:35:56'),
(13711, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.05674409866333', '2015-06-16 03:35:56');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13712, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029026031494141', '2015-06-16 03:35:56'),
(13713, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032765865325928', '2015-06-16 03:35:57'),
(13714, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.042610883712769', '2015-06-16 03:35:57'),
(13715, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''172''', 'purchasetransaction/receiveItemPost', '0.048030853271484', '2015-06-16 03:36:28'),
(13716, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.050644159317017', '2015-06-16 03:36:29'),
(13717, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000010'' WHERE `ID` =  ''172''', 'purchasetransaction/receiveItemPost', '0.030441045761108', '2015-06-16 03:36:29'),
(13718, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000010'', ''GRN20150616[00000166]'', '' [ GRN20150616[00000166] ]'', ''8'', ''2015-05-11'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036856889724731', '2015-06-16 03:36:29'),
(13719, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''166'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041254043579102', '2015-06-16 03:36:29'),
(13720, 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'', ''PO20150200000010'', 1, ''[9324]PERODUA MYVI'', ''38'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''1'', ''GRN20150616[00000166]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030480861663818', '2015-06-16 03:36:29'),
(13721, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000010'', ''[9324]PERODUA MYVI'', ''21'', 41314.98, ''1'', ''1'', ''41314.98'', ''2'', ''2015'', ''GRN20150616[00000172]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034189939498901', '2015-06-16 03:36:29'),
(13722, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41314.98, `total_amount_cr` = 41314.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000010''', 'purchasetransaction/receiveItemPost', '0.030734062194824', '2015-06-16 03:36:29'),
(13723, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''655''', 'Gltransaction/journalPosting', '0.083889007568359', '2015-06-16 03:37:29'),
(13724, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000010''', 'Gltransaction/journalPosting', '0.099117040634155', '2015-06-16 03:37:29'),
(13725, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.034631013870239', '2015-06-16 03:37:29'),
(13726, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.029021978378296', '2015-06-16 03:37:29'),
(13727, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''9102'', ''PERODUA AXIA'', ''PM2B200S003069102'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.036635160446167', '2015-06-16 03:39:36'),
(13728, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-11'', ''IV02129954'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10854983329773', '2015-06-16 03:41:00'),
(13729, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (171, ''2'', ''167'', ''1'', ''PM2B200S003069102'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.042757034301758', '2015-06-16 03:41:00'),
(13730, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  171', 'aptransaction/savePurchaseRow', '0.037750005722046', '2015-06-16 03:41:00'),
(13731, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =171', 'aptransaction/savePurchaseRow', '0.054710149765015', '2015-06-16 03:41:00'),
(13732, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''171'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.062611103057861', '2015-06-16 03:41:21'),
(13733, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-11'', ''0'', ''IV02129954'', ''2'')', 'Aptransaction/invoicePosting', '0.047198057174683', '2015-06-16 03:41:21'),
(13734, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (173, ''171'', ''2'', ''167'', ''1'', -1, ''PM2B200S003069102'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.041929960250854', '2015-06-16 03:41:21'),
(13735, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 174 WHERE `ID` =  ''172''', 'Aptransaction/invoicePosting', '0.045717000961304', '2015-06-16 03:41:21'),
(13736, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.041244983673096', '2015-06-16 03:41:21'),
(13737, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000037'' WHERE `ID` =  ''171''', 'Aptransaction/invoicePosting', '0.065469980239868', '2015-06-16 03:41:21'),
(13738, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000037'', ''PI20150616[00000165]'', ''Purchase Invoice Confirm [ PI20150616[00000165] ]'', ''3'', ''2015-05-11'', ''2015'', ''2'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.04834508895874', '2015-06-16 03:41:21'),
(13739, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000037'', 1, ''[9102]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000165]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.040017127990723', '2015-06-16 03:41:21'),
(13740, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000037'', ''[9102]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000165]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033684968948364', '2015-06-16 03:41:21'),
(13741, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000037'', ''[9102]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000165]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029037952423096', '2015-06-16 03:41:21'),
(13742, 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, ''AP20150200000037'', ''[9102]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000165]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033685922622681', '2015-06-16 03:41:21'),
(13743, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30136.16, `total_amount_cr` = 30136.16, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000037''', 'Aptransaction/invoicePosting', '0.030329942703247', '2015-06-16 03:41:21'),
(13744, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''656''', 'Gltransaction/journalPosting', '0.072472095489502', '2015-06-16 03:42:08'),
(13745, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000037''', 'Gltransaction/journalPosting', '0.044265985488892', '2015-06-16 03:42:08'),
(13746, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.034621953964233', '2015-06-16 03:42:08'),
(13747, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.029549837112427', '2015-06-16 03:42:08'),
(13748, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053966045379639', '2015-06-16 03:42:08'),
(13749, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030175924301147', '2015-06-16 03:42:08'),
(13750, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''173''', 'purchasetransaction/receiveItemPost', '0.040185928344727', '2015-06-16 03:42:37'),
(13751, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 11 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.027882099151611', '2015-06-16 03:42:37'),
(13752, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000011'' WHERE `ID` =  ''173''', 'purchasetransaction/receiveItemPost', '0.034310817718506', '2015-06-16 03:42:37'),
(13753, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000011'', ''GRN20150616[00000167]'', '' [ GRN20150616[00000167] ]'', ''8'', ''2015-05-11'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.12566304206848', '2015-06-16 03:42:37'),
(13754, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''167'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041305065155029', '2015-06-16 03:42:37'),
(13755, 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'', ''PO20150200000011'', 1, ''[9102]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''GRN20150616[00000167]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064105987548828', '2015-06-16 03:42:37'),
(13756, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000011'', ''[9102]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''GRN20150616[00000173]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.067024946212769', '2015-06-16 03:42:37'),
(13757, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000011''', 'purchasetransaction/receiveItemPost', '0.055284976959229', '2015-06-16 03:42:37'),
(13758, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''657''', 'Gltransaction/journalPosting', '0.32436299324036', '2015-06-16 03:43:34'),
(13759, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000011''', 'Gltransaction/journalPosting', '0.05535888671875', '2015-06-16 03:43:34'),
(13760, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027884006500244', '2015-06-16 03:43:34'),
(13761, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032894849777222', '2015-06-16 03:43:34'),
(13762, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''4184'', ''PERODUA ALZA'', ''PM2M502G002244184'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.073081970214844', '2015-06-16 03:55:53'),
(13763, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-11'', ''IV02130275'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11463594436646', '2015-06-16 03:57:36'),
(13764, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (172, ''2'', ''168'', ''1'', ''PM2M502G002244184'', ''1'', ''16'', ''57187.78'', ''57187.78'', ''15'', ''6'', ''3431.27'', ''60619.05'')', 'aptransaction/savePurchaseRow', '0.043753147125244', '2015-06-16 03:57:36'),
(13765, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3431.27'', `totalAmount` = ''60619.05'' WHERE `ID` =  172', 'aptransaction/savePurchaseRow', '0.03469705581665', '2015-06-16 03:57:36'),
(13766, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =172', 'aptransaction/savePurchaseRow', '0.033630132675171', '2015-06-16 03:57:36'),
(13767, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''172'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.037837982177734', '2015-06-16 03:57:57'),
(13768, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-11'', ''0'', ''IV02130275'', ''2'')', 'Aptransaction/invoicePosting', '0.11604595184326', '2015-06-16 03:57:57'),
(13769, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (174, ''172'', ''2'', ''168'', ''1'', -1, ''PM2M502G002244184'', ''1'', ''1'', ''1'', ''57187.78'', 57187.78)', 'Aptransaction/invoicePosting', '0.041728019714355', '2015-06-16 03:57:57'),
(13770, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 175 WHERE `ID` =  ''173''', 'Aptransaction/invoicePosting', '0.034761905670166', '2015-06-16 03:57:57'),
(13771, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.028125047683716', '2015-06-16 03:57:57'),
(13772, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000038'' WHERE `ID` =  ''172''', 'Aptransaction/invoicePosting', '0.03471302986145', '2015-06-16 03:57:57'),
(13773, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000038'', ''PI20150616[00000166]'', ''Purchase Invoice Confirm [ PI20150616[00000166] ]'', ''3'', ''2015-05-11'', ''2015'', ''2'', 60619.05, 60619.05, ''2'')', 'Aptransaction/invoicePosting', '0.058461904525757', '2015-06-16 03:57:57'),
(13774, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000038'', 1, ''[4184]'', ''138'', ''PERODUA SALES SDN BHD'', 57187.78, ''1'', ''1'', ''57187.78'', ''2'', ''2015'', ''1'', ''PI20150616[00000166]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.040882110595703', '2015-06-16 03:57:57'),
(13775, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000038'', ''[4184]'', ''38'', ''PERODUA SALES SDN BHD'', 57187.78, ''1'', ''1'', ''57187.78'', ''2'', ''2015'', ''1'', ''PI20150616[00000166]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032845973968506', '2015-06-16 03:57:57'),
(13776, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000038'', ''[4184]'', ''34'', ''PERODUA SALES SDN BHD'', 3431.27, ''1'', ''1'', ''3431.27'', ''2'', ''2015'', ''1'', ''PI20150616[00000166]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029872894287109', '2015-06-16 03:57:57'),
(13777, 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, ''AP20150200000038'', ''[4184]'', ''138'', ''PERODUA SALES SDN BHD'', 3431.27, ''1'', ''1'', ''3431.27'', ''2'', ''2015'', ''1'', ''PI20150616[00000166]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032270908355713', '2015-06-16 03:57:57'),
(13778, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60619.05, `total_amount_cr` = 60619.05, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000038''', 'Aptransaction/invoicePosting', '0.044206142425537', '2015-06-16 03:57:57'),
(13779, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''658''', 'Gltransaction/journalPosting', '0.085659027099609', '2015-06-16 03:58:47'),
(13780, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000038''', 'Gltransaction/journalPosting', '0.065412044525146', '2015-06-16 03:58:47'),
(13781, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046217918395996', '2015-06-16 03:58:48'),
(13782, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029417991638184', '2015-06-16 03:58:48'),
(13783, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.064657926559448', '2015-06-16 03:58:48'),
(13784, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053961038589478', '2015-06-16 03:58:48'),
(13785, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''174''', 'purchasetransaction/receiveItemPost', '0.080534934997559', '2015-06-16 03:59:21'),
(13786, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 12 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.071744918823242', '2015-06-16 03:59:21'),
(13787, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000012'' WHERE `ID` =  ''174''', 'purchasetransaction/receiveItemPost', '0.033185005187988', '2015-06-16 03:59:21'),
(13788, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000012'', ''GRN20150616[00000168]'', '' [ GRN20150616[00000168] ]'', ''8'', ''2015-05-11'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058420181274414', '2015-06-16 03:59:21'),
(13789, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''168'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041748046875', '2015-06-16 03:59:21'),
(13790, 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'', ''PO20150200000012'', 1, ''[4184]PERODUA ALZA'', ''38'', 57187.78, ''1'', ''1'', ''57187.78'', ''2'', ''2015'', ''1'', ''GRN20150616[00000168]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030826807022095', '2015-06-16 03:59:21'),
(13791, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000012'', ''[4184]PERODUA ALZA'', ''21'', 57187.78, ''1'', ''1'', ''57187.78'', ''2'', ''2015'', ''GRN20150616[00000174]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033908843994141', '2015-06-16 03:59:21'),
(13792, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 57187.78, `total_amount_cr` = 57187.78, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000012''', 'purchasetransaction/receiveItemPost', '0.087631940841675', '2015-06-16 03:59:21'),
(13793, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''659''', 'Gltransaction/journalPosting', '0.064527988433838', '2015-06-16 04:00:04'),
(13794, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000012''', 'Gltransaction/journalPosting', '0.066479921340942', '2015-06-16 04:00:04'),
(13795, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.034640073776245', '2015-06-16 04:00:04'),
(13796, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030020952224731', '2015-06-16 04:00:04'),
(13797, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''6239'', ''PERODUA ALZA'', ''PM2M502G002246239'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.31366205215454', '2015-06-16 04:20:42'),
(13798, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-11'', ''IV02130307'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11066794395447', '2015-06-16 04:23:15'),
(13799, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (173, ''2'', ''169'', ''1'', ''PM2M502G002246239'', ''1'', ''16'', ''49482.58'', ''49482.58'', ''15'', ''6'', ''2968.95'', ''52451.53'')', 'aptransaction/savePurchaseRow', '0.044021844863892', '2015-06-16 04:23:15'),
(13800, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2968.95'', `totalAmount` = ''52451.53'' WHERE `ID` =  173', 'aptransaction/savePurchaseRow', '0.057867050170898', '2015-06-16 04:23:15'),
(13801, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =173', 'aptransaction/savePurchaseRow', '0.044631004333496', '2015-06-16 04:23:16'),
(13802, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''173'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.055900096893311', '2015-06-16 04:24:26'),
(13803, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-11'', ''0'', ''IV02130307'', ''2'')', 'Aptransaction/invoicePosting', '0.07095193862915', '2015-06-16 04:24:26'),
(13804, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (175, ''173'', ''2'', ''169'', ''1'', -1, ''PM2M502G002246239'', ''1'', ''1'', ''1'', ''49482.58'', 49482.58)', 'Aptransaction/invoicePosting', '0.076220035552979', '2015-06-16 04:24:26'),
(13805, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 176 WHERE `ID` =  ''174''', 'Aptransaction/invoicePosting', '0.044561862945557', '2015-06-16 04:24:26'),
(13806, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.052150011062622', '2015-06-16 04:24:26'),
(13807, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000039'' WHERE `ID` =  ''173''', 'Aptransaction/invoicePosting', '0.032158851623535', '2015-06-16 04:24:26'),
(13808, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000039'', ''PI20150616[00000167]'', ''Purchase Invoice Confirm [ PI20150616[00000167] ]'', ''3'', ''2015-05-11'', ''2015'', ''2'', 52451.53, 52451.53, ''2'')', 'Aptransaction/invoicePosting', '0.059148073196411', '2015-06-16 04:24:26'),
(13809, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000039'', 1, ''[6239]'', ''138'', ''PERODUA SALES SDN BHD'', 49482.58, ''1'', ''1'', ''49482.58'', ''2'', ''2015'', ''1'', ''PI20150616[00000167]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052060127258301', '2015-06-16 04:24:26'),
(13810, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000039'', ''[6239]'', ''38'', ''PERODUA SALES SDN BHD'', 49482.58, ''1'', ''1'', ''49482.58'', ''2'', ''2015'', ''1'', ''PI20150616[00000167]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032764911651611', '2015-06-16 04:24:26'),
(13811, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000039'', ''[6239]'', ''34'', ''PERODUA SALES SDN BHD'', 2968.95, ''1'', ''1'', ''2968.95'', ''2'', ''2015'', ''1'', ''PI20150616[00000167]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029941082000732', '2015-06-16 04:24:26'),
(13812, 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, ''AP20150200000039'', ''[6239]'', ''138'', ''PERODUA SALES SDN BHD'', 2968.95, ''1'', ''1'', ''2968.95'', ''2'', ''2015'', ''1'', ''PI20150616[00000167]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054930925369263', '2015-06-16 04:24:26'),
(13813, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52451.53, `total_amount_cr` = 52451.53, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000039''', 'Aptransaction/invoicePosting', '0.054354906082153', '2015-06-16 04:24:26'),
(13814, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''660''', 'Gltransaction/journalPosting', '0.096760034561157', '2015-06-16 04:25:26'),
(13815, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000039''', 'Gltransaction/journalPosting', '0.066370010375977', '2015-06-16 04:25:26'),
(13816, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.040246963500977', '2015-06-16 04:25:26'),
(13817, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042547941207886', '2015-06-16 04:25:26'),
(13818, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.085891962051392', '2015-06-16 04:25:26'),
(13819, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.042557001113892', '2015-06-16 04:25:26'),
(13820, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''175''', 'purchasetransaction/receiveItemPost', '0.040734052658081', '2015-06-16 04:25:58'),
(13821, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 13 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.040608882904053', '2015-06-16 04:25:59'),
(13822, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000013'' WHERE `ID` =  ''175''', 'purchasetransaction/receiveItemPost', '0.033205032348633', '2015-06-16 04:25:59'),
(13823, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000013'', ''GRN20150616[00000169]'', '' [ GRN20150616[00000169] ]'', ''8'', ''2015-05-11'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.080399990081787', '2015-06-16 04:25:59'),
(13824, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''169'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041876792907715', '2015-06-16 04:25:59'),
(13825, 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'', ''PO20150200000013'', 1, ''[6239]PERODUA ALZA'', ''38'', 49482.58, ''1'', ''1'', ''49482.58'', ''2'', ''2015'', ''1'', ''GRN20150616[00000169]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053137063980103', '2015-06-16 04:25:59'),
(13826, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000013'', ''[6239]PERODUA ALZA'', ''21'', 49482.58, ''1'', ''1'', ''49482.58'', ''2'', ''2015'', ''GRN20150616[00000175]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033519983291626', '2015-06-16 04:25:59'),
(13827, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49482.58, `total_amount_cr` = 49482.58, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000013''', 'purchasetransaction/receiveItemPost', '0.054371118545532', '2015-06-16 04:25:59'),
(13828, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''661''', 'Gltransaction/journalPosting', '0.095950126647949', '2015-06-16 04:26:55'),
(13829, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000013''', 'Gltransaction/journalPosting', '0.054348945617676', '2015-06-16 04:26:55'),
(13830, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035194873809814', '2015-06-16 04:26:55'),
(13831, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.029817819595337', '2015-06-16 04:26:55'),
(13832, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''9787'', ''PERODUA MYVI'', ''PM2M602S002229787'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.077610969543457', '2015-06-16 04:31:07'),
(13833, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-12'', ''IV02130939'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11654496192932', '2015-06-16 04:32:35'),
(13834, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (174, ''2'', ''170'', ''1'', ''PM2M602S002229787'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.043864011764526', '2015-06-16 04:32:35'),
(13835, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  174', 'aptransaction/savePurchaseRow', '0.056822776794434', '2015-06-16 04:32:35'),
(13836, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =174', 'aptransaction/savePurchaseRow', '0.04433798789978', '2015-06-16 04:32:35'),
(13837, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''174'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.050247192382812', '2015-06-16 04:32:52'),
(13838, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-12'', ''0'', ''IV02130939'', ''2'')', 'Aptransaction/invoicePosting', '0.13123607635498', '2015-06-16 04:32:52');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13839, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (176, ''174'', ''2'', ''170'', ''1'', -1, ''PM2M602S002229787'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.055315017700195', '2015-06-16 04:32:52'),
(13840, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 177 WHERE `ID` =  ''175''', 'Aptransaction/invoicePosting', '0.032294034957886', '2015-06-16 04:32:53'),
(13841, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.041336059570312', '2015-06-16 04:32:53'),
(13842, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000040'' WHERE `ID` =  ''174''', 'Aptransaction/invoicePosting', '0.032234907150269', '2015-06-16 04:32:53'),
(13843, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000040'', ''PI20150616[00000168]'', ''Purchase Invoice Confirm [ PI20150616[00000168] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.059024095535278', '2015-06-16 04:32:53'),
(13844, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000040'', 1, ''[9787]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150616[00000168]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052046060562134', '2015-06-16 04:32:53'),
(13845, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000040'', ''[9787]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''PI20150616[00000168]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032760858535767', '2015-06-16 04:32:53'),
(13846, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000040'', ''[9787]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150616[00000168]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02997899055481', '2015-06-16 04:32:53'),
(13847, 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, ''AP20150200000040'', ''[9787]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''2'', ''2015'', ''1'', ''PI20150616[00000168]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032741069793701', '2015-06-16 04:32:53'),
(13848, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000040''', 'Aptransaction/invoicePosting', '0.032102108001709', '2015-06-16 04:32:53'),
(13849, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''662''', 'Gltransaction/journalPosting', '0.29462385177612', '2015-06-16 04:34:30'),
(13850, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000040''', 'Gltransaction/journalPosting', '0.042775869369507', '2015-06-16 04:34:30'),
(13851, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035678863525391', '2015-06-16 04:34:30'),
(13852, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030082225799561', '2015-06-16 04:34:30'),
(13853, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032098054885864', '2015-06-16 04:34:30'),
(13854, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030099868774414', '2015-06-16 04:34:30'),
(13855, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''176''', 'purchasetransaction/receiveItemPost', '0.046866178512573', '2015-06-16 04:35:18'),
(13856, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 14 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.050487995147705', '2015-06-16 04:35:18'),
(13857, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000014'' WHERE `ID` =  ''176''', 'purchasetransaction/receiveItemPost', '0.043285131454468', '2015-06-16 04:35:18'),
(13858, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000014'', ''GRN20150616[00000170]'', '' [ GRN20150616[00000170] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048283815383911', '2015-06-16 04:35:18'),
(13859, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''170'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.04125189781189', '2015-06-16 04:35:18'),
(13860, 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'', ''PO20150200000014'', 1, ''[9787]PERODUA MYVI'', ''38'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''1'', ''GRN20150616[00000170]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032805204391479', '2015-06-16 04:35:18'),
(13861, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000014'', ''[9787]PERODUA MYVI'', ''21'', 38636.79, ''1'', ''1'', ''38636.79'', ''2'', ''2015'', ''GRN20150616[00000176]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031829833984375', '2015-06-16 04:35:18'),
(13862, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38636.79, `total_amount_cr` = 38636.79, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000014''', 'purchasetransaction/receiveItemPost', '0.066383123397827', '2015-06-16 04:35:18'),
(13863, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''663''', 'Gltransaction/journalPosting', '0.090521097183228', '2015-06-16 04:36:21'),
(13864, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000014''', 'Gltransaction/journalPosting', '0.054320812225342', '2015-06-16 04:36:21'),
(13865, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029531002044678', '2015-06-16 04:36:21'),
(13866, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.031316041946411', '2015-06-16 04:36:21'),
(13867, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''9703'', ''PERODUA AXIA'', ''PM2B200S003069703'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.08916187286377', '2015-06-16 04:43:56'),
(13868, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-12'', ''IV02130625'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.095623970031738', '2015-06-16 04:46:23'),
(13869, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (175, ''2'', ''171'', ''1'', ''PM2B200S003069703'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.066272974014282', '2015-06-16 04:46:23'),
(13870, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  175', 'aptransaction/savePurchaseRow', '0.030905961990356', '2015-06-16 04:46:24'),
(13871, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =175', 'aptransaction/savePurchaseRow', '0.055922985076904', '2015-06-16 04:46:24'),
(13872, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''175'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.032615900039673', '2015-06-16 04:46:55'),
(13873, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-12'', ''0'', ''IV02130625'', ''2'')', 'Aptransaction/invoicePosting', '0.08064603805542', '2015-06-16 04:46:55'),
(13874, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (177, ''175'', ''2'', ''171'', ''1'', -1, ''PM2B200S003069703'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.055384874343872', '2015-06-16 04:46:55'),
(13875, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 178 WHERE `ID` =  ''176''', 'Aptransaction/invoicePosting', '0.042742967605591', '2015-06-16 04:46:55'),
(13876, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.031098127365112', '2015-06-16 04:46:55'),
(13877, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000041'' WHERE `ID` =  ''175''', 'Aptransaction/invoicePosting', '0.055507898330688', '2015-06-16 04:46:55'),
(13878, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000041'', ''PI20150616[00000169]'', ''Purchase Invoice Confirm [ PI20150616[00000169] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.05842113494873', '2015-06-16 04:46:55'),
(13879, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000041'', 1, ''[9703]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000169]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04223895072937', '2015-06-16 04:46:55'),
(13880, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000041'', ''[9703]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000169]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031534910202026', '2015-06-16 04:46:55'),
(13881, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000041'', ''[9703]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000169]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031907081604004', '2015-06-16 04:46:55'),
(13882, 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, ''AP20150200000041'', ''[9703]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000169]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030679941177368', '2015-06-16 04:46:55'),
(13883, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30136.16, `total_amount_cr` = 30136.16, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000041''', 'Aptransaction/invoicePosting', '0.044486045837402', '2015-06-16 04:46:55'),
(13884, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''664''', 'Gltransaction/journalPosting', '0.093999862670898', '2015-06-16 04:47:41'),
(13885, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000041''', 'Gltransaction/journalPosting', '0.065284967422485', '2015-06-16 04:47:41'),
(13886, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.057803869247437', '2015-06-16 04:47:41'),
(13887, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030540943145752', '2015-06-16 04:47:42'),
(13888, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.031552076339722', '2015-06-16 04:47:42'),
(13889, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030388116836548', '2015-06-16 04:47:42'),
(13890, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''177''', 'purchasetransaction/receiveItemPost', '0.040654897689819', '2015-06-16 04:48:15'),
(13891, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 15 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.040500164031982', '2015-06-16 04:48:15'),
(13892, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000015'' WHERE `ID` =  ''177''', 'purchasetransaction/receiveItemPost', '0.033313035964966', '2015-06-16 04:48:15'),
(13893, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000015'', ''GRN20150616[00000171]'', '' [ GRN20150616[00000171] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058296918869019', '2015-06-16 04:48:15'),
(13894, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''171'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041867971420288', '2015-06-16 04:48:15'),
(13895, 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'', ''PO20150200000015'', 1, ''[9703]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''GRN20150616[00000171]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042824983596802', '2015-06-16 04:48:15'),
(13896, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000015'', ''[9703]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''GRN20150616[00000177]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032967805862427', '2015-06-16 04:48:15'),
(13897, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000015''', 'purchasetransaction/receiveItemPost', '0.032125949859619', '2015-06-16 04:48:15'),
(13898, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''665''', 'Gltransaction/journalPosting', '0.07155179977417', '2015-06-16 04:48:50'),
(13899, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000015''', 'Gltransaction/journalPosting', '0.043305158615112', '2015-06-16 04:48:50'),
(13900, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035678148269653', '2015-06-16 04:48:50'),
(13901, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030442953109741', '2015-06-16 04:48:50'),
(13902, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''9950'', ''PERODUA AXIA'', ''PM2B200S003069950'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.075969934463501', '2015-06-16 05:07:07'),
(13903, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-12'', ''IV02130644'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.096682071685791', '2015-06-16 05:08:41'),
(13904, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (176, ''2'', ''172'', ''1'', ''PM2B200S003069950'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.043199062347412', '2015-06-16 05:08:41'),
(13905, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  176', 'aptransaction/savePurchaseRow', '0.055294036865234', '2015-06-16 05:08:41'),
(13906, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =176', 'aptransaction/savePurchaseRow', '0.043784856796265', '2015-06-16 05:08:41'),
(13907, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''176'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.095431089401245', '2015-06-16 05:08:58'),
(13908, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-12'', ''0'', ''IV02130644'', ''2'')', 'Aptransaction/invoicePosting', '0.048455953598022', '2015-06-16 05:08:58'),
(13909, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (178, ''176'', ''2'', ''172'', ''1'', -1, ''PM2B200S003069950'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.06536602973938', '2015-06-16 05:08:58'),
(13910, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 179 WHERE `ID` =  ''177''', 'Aptransaction/invoicePosting', '0.05553412437439', '2015-06-16 05:08:58'),
(13911, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.050234079360962', '2015-06-16 05:08:58'),
(13912, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000042'' WHERE `ID` =  ''176''', 'Aptransaction/invoicePosting', '0.044320106506348', '2015-06-16 05:08:58'),
(13913, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000042'', ''PI20150616[00000170]'', ''Purchase Invoice Confirm [ PI20150616[00000170] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.035975933074951', '2015-06-16 05:08:58'),
(13914, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000042'', 1, ''[9950]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000170]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042901992797852', '2015-06-16 05:08:58'),
(13915, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000042'', ''[9950]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000170]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052953004837036', '2015-06-16 05:08:58'),
(13916, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000042'', ''[9950]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000170]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042730093002319', '2015-06-16 05:08:58'),
(13917, 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, ''AP20150200000042'', ''[9950]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000170]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052895069122314', '2015-06-16 05:08:58'),
(13918, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30136.16, `total_amount_cr` = 30136.16, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000042''', 'Aptransaction/invoicePosting', '0.055227994918823', '2015-06-16 05:08:58'),
(13919, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''666''', 'Gltransaction/journalPosting', '0.29498505592346', '2015-06-16 05:09:38'),
(13920, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000042''', 'Gltransaction/journalPosting', '0.077033042907715', '2015-06-16 05:09:38'),
(13921, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.046471834182739', '2015-06-16 05:09:38'),
(13922, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031223058700562', '2015-06-16 05:09:38'),
(13923, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030709981918335', '2015-06-16 05:09:38'),
(13924, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.031348943710327', '2015-06-16 05:09:38'),
(13925, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''178''', 'purchasetransaction/receiveItemPost', '0.036085844039917', '2015-06-16 05:10:08'),
(13926, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 16 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.052673816680908', '2015-06-16 05:10:08'),
(13927, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000016'' WHERE `ID` =  ''178''', 'purchasetransaction/receiveItemPost', '0.033709049224854', '2015-06-16 05:10:09'),
(13928, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000016'', ''GRN20150616[00000172]'', '' [ GRN20150616[00000172] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070376873016357', '2015-06-16 05:10:09'),
(13929, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''172'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030592918395996', '2015-06-16 05:10:09'),
(13930, 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'', ''PO20150200000016'', 1, ''[9950]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''GRN20150616[00000172]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043411016464233', '2015-06-16 05:10:09'),
(13931, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000016'', ''[9950]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''GRN20150616[00000178]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054551124572754', '2015-06-16 05:10:09'),
(13932, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000016''', 'purchasetransaction/receiveItemPost', '0.054755926132202', '2015-06-16 05:10:09'),
(13933, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''667''', 'Gltransaction/journalPosting', '0.094322919845581', '2015-06-16 05:10:50'),
(13934, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000016''', 'Gltransaction/journalPosting', '0.032454967498779', '2015-06-16 05:10:50'),
(13935, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05218505859375', '2015-06-16 05:10:50'),
(13936, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053054094314575', '2015-06-16 05:10:50'),
(13937, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''0123'', ''PERODUA AXIA'', ''PM2B200S003070123'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.066034078598022', '2015-06-16 05:13:29'),
(13938, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-12'', ''IV02130699'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.075652122497559', '2015-06-16 05:15:05'),
(13939, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (177, ''2'', ''173'', ''1'', ''PM2B200S003070123'', ''1'', ''16'', ''25678.15'', ''25678.15'', ''15'', ''6'', ''1540.69'', ''27218.84'')', 'aptransaction/savePurchaseRow', '0.054671049118042', '2015-06-16 05:15:05'),
(13940, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1540.69'', `totalAmount` = ''27218.84'' WHERE `ID` =  177', 'aptransaction/savePurchaseRow', '0.032554864883423', '2015-06-16 05:15:05'),
(13941, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =177', 'aptransaction/savePurchaseRow', '0.032974004745483', '2015-06-16 05:15:05'),
(13942, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''177'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.039213895797729', '2015-06-16 05:15:30'),
(13943, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-12'', ''0'', ''IV02130699'', ''2'')', 'Aptransaction/invoicePosting', '0.081084012985229', '2015-06-16 05:15:31'),
(13944, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (179, ''177'', ''2'', ''173'', ''1'', -1, ''PM2B200S003070123'', ''1'', ''1'', ''1'', ''25678.15'', 25678.15)', 'Aptransaction/invoicePosting', '0.054725885391235', '2015-06-16 05:15:31'),
(13945, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 180 WHERE `ID` =  ''178''', 'Aptransaction/invoicePosting', '0.032731056213379', '2015-06-16 05:15:31'),
(13946, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.032721042633057', '2015-06-16 05:15:31'),
(13947, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000043'' WHERE `ID` =  ''177''', 'Aptransaction/invoicePosting', '0.032814025878906', '2015-06-16 05:15:31'),
(13948, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000043'', ''PI20150616[00000171]'', ''Purchase Invoice Confirm [ PI20150616[00000171] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 27218.84, 27218.84, ''2'')', 'Aptransaction/invoicePosting', '0.081027030944824', '2015-06-16 05:15:31'),
(13949, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000043'', 1, ''[0123]'', ''138'', ''PERODUA SALES SDN BHD'', 25678.15, ''1'', ''1'', ''25678.15'', ''2'', ''2015'', ''1'', ''PI20150616[00000171]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064460039138794', '2015-06-16 05:15:31'),
(13950, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150200000043'', ''[0123]'', ''38'', ''PERODUA SALES SDN BHD'', 25678.15, ''1'', ''1'', ''25678.15'', ''2'', ''2015'', ''1'', ''PI20150616[00000171]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030002117156982', '2015-06-16 05:15:31'),
(13951, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000043'', ''[0123]'', ''34'', ''PERODUA SALES SDN BHD'', 1540.69, ''1'', ''1'', ''1540.69'', ''2'', ''2015'', ''1'', ''PI20150616[00000171]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032533884048462', '2015-06-16 05:15:31'),
(13952, 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, ''AP20150200000043'', ''[0123]'', ''138'', ''PERODUA SALES SDN BHD'', 1540.69, ''1'', ''1'', ''1540.69'', ''2'', ''2015'', ''1'', ''PI20150616[00000171]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030072927474976', '2015-06-16 05:15:31'),
(13953, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 27218.84, `total_amount_cr` = 27218.84, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000043''', 'Aptransaction/invoicePosting', '0.034049987792969', '2015-06-16 05:15:31'),
(13954, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''668''', 'Gltransaction/journalPosting', '0.073254108428955', '2015-06-16 05:16:17'),
(13955, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000043''', 'Gltransaction/journalPosting', '0.05485987663269', '2015-06-16 05:16:17'),
(13956, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036872863769531', '2015-06-16 05:16:17'),
(13957, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029805898666382', '2015-06-16 05:16:17'),
(13958, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.054425954818726', '2015-06-16 05:16:17'),
(13959, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053200960159302', '2015-06-16 05:16:17'),
(13960, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''179''', 'purchasetransaction/receiveItemPost', '0.060382127761841', '2015-06-16 05:16:51'),
(13961, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 17 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.048337936401367', '2015-06-16 05:16:51'),
(13962, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000017'' WHERE `ID` =  ''179''', 'purchasetransaction/receiveItemPost', '0.044893026351929', '2015-06-16 05:16:51'),
(13963, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000017'', ''GRN20150616[00000173]'', '' [ GRN20150616[00000173] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047899961471558', '2015-06-16 05:16:51'),
(13964, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''173'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032536029815674', '2015-06-16 05:16:51'),
(13965, 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'', ''PO20150200000017'', 1, ''[0123]PERODUA AXIA'', ''38'', 25678.15, ''1'', ''1'', ''25678.15'', ''2'', ''2015'', ''1'', ''GRN20150616[00000173]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032274007797241', '2015-06-16 05:16:51');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(13966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000017'', ''[0123]PERODUA AXIA'', ''21'', 25678.15, ''1'', ''1'', ''25678.15'', ''2'', ''2015'', ''GRN20150616[00000179]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030658006668091', '2015-06-16 05:16:51'),
(13967, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 25678.15, `total_amount_cr` = 25678.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000017''', 'purchasetransaction/receiveItemPost', '0.056392908096313', '2015-06-16 05:16:51'),
(13968, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''669''', 'Gltransaction/journalPosting', '0.10238599777222', '2015-06-16 05:17:30'),
(13969, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000017''', 'Gltransaction/journalPosting', '0.07698392868042', '2015-06-16 05:17:30'),
(13970, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036920070648193', '2015-06-16 05:17:30'),
(13971, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.029588937759399', '2015-06-16 05:17:30'),
(13972, 2, 2, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''2'', ''0331'', ''PERODUA AXIA'', ''PM2B200S003070331'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.077905893325806', '2015-06-16 05:19:33'),
(13973, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150616'', ''2015-05-12'', ''IV02130749'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1062970161438', '2015-06-16 05:20:59'),
(13974, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (178, ''2'', ''174'', ''1'', ''PM2B200S003070331'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.044926166534424', '2015-06-16 05:20:59'),
(13975, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  178', 'aptransaction/savePurchaseRow', '0.033208847045898', '2015-06-16 05:20:59'),
(13976, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =178', 'aptransaction/savePurchaseRow', '0.053382873535156', '2015-06-16 05:20:59'),
(13977, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''178'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.047460079193115', '2015-06-16 05:21:15'),
(13978, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150616'', ''2015-05-12'', ''0'', ''IV02130749'', ''2'')', 'Aptransaction/invoicePosting', '0.06885814666748', '2015-06-16 05:21:15'),
(13979, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (180, ''178'', ''2'', ''174'', ''1'', -1, ''PM2B200S003070331'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.044867992401123', '2015-06-16 05:21:15'),
(13980, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 181 WHERE `ID` =  ''179''', 'Aptransaction/invoicePosting', '0.032792806625366', '2015-06-16 05:21:15'),
(13981, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.04255199432373', '2015-06-16 05:21:15'),
(13982, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000044'' WHERE `ID` =  ''178''', 'Aptransaction/invoicePosting', '0.056545972824097', '2015-06-16 05:21:15'),
(13983, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''2'', ''AP20150200000044'', ''PI20150616[00000172]'', ''Purchase Invoice Confirm [ PI20150616[00000172] ]'', ''3'', ''2015-05-12'', ''2015'', ''2'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.047693967819214', '2015-06-16 05:21:15'),
(13984, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150200000044'', 1, ''[0331]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000172]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053468942642212', '2015-06-16 05:21:15'),
(13985, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000044'', ''[0331]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150616[00000172]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029676914215088', '2015-06-16 05:21:15'),
(13986, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150200000044'', ''[0331]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000172]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.055159091949463', '2015-06-16 05:21:15'),
(13987, 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, ''AP20150200000044'', ''[0331]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150616[00000172]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029675960540771', '2015-06-16 05:21:15'),
(13988, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30136.16, `total_amount_cr` = 30136.16, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000044''', 'Aptransaction/invoicePosting', '0.056524991989136', '2015-06-16 05:21:15'),
(13989, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''670''', 'Gltransaction/journalPosting', '0.065678119659424', '2015-06-16 05:21:55'),
(13990, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000044''', 'Gltransaction/journalPosting', '0.076966047286987', '2015-06-16 05:21:56'),
(13991, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.037113904953003', '2015-06-16 05:21:56'),
(13992, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029566049575806', '2015-06-16 05:21:56'),
(13993, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032526016235352', '2015-06-16 05:21:56'),
(13994, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.029544115066528', '2015-06-16 05:21:56'),
(13995, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''180''', 'purchasetransaction/receiveItemPost', '0.03784704208374', '2015-06-16 05:22:36'),
(13996, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 18 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.033140182495117', '2015-06-16 05:22:36'),
(13997, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000018'' WHERE `ID` =  ''180''', 'purchasetransaction/receiveItemPost', '0.032818794250488', '2015-06-16 05:22:36'),
(13998, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000018'', ''GRN20150616[00000174]'', '' [ GRN20150616[00000174] ]'', ''8'', ''2015-05-12'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.08121919631958', '2015-06-16 05:22:36'),
(13999, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''174'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033057928085327', '2015-06-16 05:22:36'),
(14000, 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'', ''PO20150200000018'', 1, ''[0331]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''GRN20150616[00000174]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043308973312378', '2015-06-16 05:22:36'),
(14001, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `createdBy`) VALUES (''2'', 2, ''PO20150200000018'', ''[0331]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''GRN20150616[00000180]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043374061584473', '2015-06-16 05:22:36'),
(14002, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000018''', 'purchasetransaction/receiveItemPost', '0.054823875427246', '2015-06-16 05:22:36'),
(14003, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''671''', 'Gltransaction/journalPosting', '0.092290163040161', '2015-06-16 05:23:16'),
(14004, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000018''', 'Gltransaction/journalPosting', '0.034817934036255', '2015-06-16 05:23:16'),
(14005, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027662038803101', '2015-06-16 05:23:16'),
(14006, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.033180952072144', '2015-06-16 05:23:16'),
(14007, 2, 2, '::1', 'update', 'update _ref_tax_master set defaultTaxAccount = ''810040000'', taxClass = 1 where id = 18', 'spsupgrator/index', '0.0014138221740723', '2015-06-16 15:31:24'),
(14008, 2, 2, '::1', 'update', 'UPDATE `tax_master` SET `taxAccount` = ''106'' WHERE `ID` =  ''19''', 'spsupgrator/index', '0.060518980026245', '2015-06-16 15:31:24'),
(14009, 2, 2, '::1', 'update', 'UPDATE `tax_master` SET `taxAccount` = ''251'' WHERE `ID` =  ''54''', 'spsupgrator/index', '0.041368961334229', '2015-06-16 15:31:24'),
(14010, 2, 2, '::1', 'update', 'update _ref_tax_master set defaultTaxAccount = ''810040000'', taxClass = 1 where id = 18', 'fixtax/index', '0.0010919570922852', '2015-06-16 15:39:58'),
(14011, 2, 2, '::1', 'update', 'update _ref_tax_master set defaultTaxAccount = ''810040000'', taxClass = 1 where id = 18', 'fixtax/index', '0.053250074386597', '2015-06-16 15:41:58');

-- --------------------------------------------------------

--
