INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4259, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''169''', 'Gltransaction/journalPosting', '0.054248809814453', '2015-05-17 00:53:37'),
(4260, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000079''', 'Gltransaction/journalPosting', '0.044270992279053', '2015-05-17 00:53:37'),
(4261, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.059009075164795', '2015-05-17 00:53:37'),
(4262, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.05359411239624', '2015-05-17 00:53:37'),
(4263, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.02851414680481', '2015-05-17 00:53:37'),
(4264, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.044723033905029', '2015-05-17 00:53:37'),
(4265, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''83''', 'purchasetransaction/receiveItemPost', '0.092329978942871', '2015-05-17 00:54:18'),
(4266, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027055025100708', '2015-05-17 00:54:19'),
(4267, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000077'' WHERE `ID` =  ''83''', 'purchasetransaction/receiveItemPost', '0.046390056610107', '2015-05-17 00:54:19'),
(4268, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000077'', ''GRN20150517[00000080]'', '' [ GRN20150517[00000080] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058351993560791', '2015-05-17 00:54:19'),
(4269, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''81'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.055597066879272', '2015-05-17 00:54:19'),
(4270, 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'', ''PO20150100000077'', 1, ''[5576]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000080]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054001092910767', '2015-05-17 00:54:19'),
(4271, 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, ''PO20150100000077'', ''[5576]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000083]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054917812347412', '2015-05-17 00:54:19'),
(4272, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000077''', 'purchasetransaction/receiveItemPost', '0.10762882232666', '2015-05-17 00:54:19'),
(4273, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''170''', 'Gltransaction/journalPosting', '0.30945491790771', '2015-05-17 00:55:35'),
(4274, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000077''', 'Gltransaction/journalPosting', '0.043269872665405', '2015-05-17 00:55:35'),
(4275, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.036131858825684', '2015-05-17 00:55:35'),
(4276, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.031808853149414', '2015-05-17 00:55:35'),
(4277, 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'', ''6907'', ''PERODUA MYVI'', ''PM2M603S002116907'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.055797100067139', '2015-05-17 01:02:27'),
(4278, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105900'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.072834014892578', '2015-05-17 01:03:53'),
(4279, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (83, ''2'', ''82'', ''1'', ''PM2M603S002116907'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.043109893798828', '2015-05-17 01:03:53'),
(4280, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  83', 'aptransaction/savePurchaseRow', '0.062666893005371', '2015-05-17 01:03:53'),
(4281, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =83', 'aptransaction/savePurchaseRow', '0.032524108886719', '2015-05-17 01:03:53'),
(4282, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''83'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.073153972625732', '2015-05-17 01:04:11'),
(4283, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105900'', ''2'')', 'Aptransaction/invoicePosting', '0.047149896621704', '2015-05-17 01:04:11'),
(4284, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (84, ''83'', ''2'', ''82'', ''1'', -1, ''PM2M603S002116907'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.065327882766724', '2015-05-17 01:04:11'),
(4285, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 85 WHERE `ID` =  ''84''', 'Aptransaction/invoicePosting', '0.044451951980591', '2015-05-17 01:04:11'),
(4286, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 80 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.053810834884644', '2015-05-17 01:04:11'),
(4287, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000080'' WHERE `ID` =  ''83''', 'Aptransaction/invoicePosting', '0.044378042221069', '2015-05-17 01:04:11'),
(4288, 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'', ''AP20150100000080'', ''PI20150517[00000080]'', ''Purchase Invoice Confirm [ PI20150517[00000080] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.058378934860229', '2015-05-17 01:04:11'),
(4289, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000080'', 1, ''[6907]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000080]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042791843414307', '2015-05-17 01:04:11'),
(4290, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000080'', ''[6907]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000080]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030065059661865', '2015-05-17 01:04:11'),
(4291, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000080'', ''[6907]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000080]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054802179336548', '2015-05-17 01:04:11'),
(4292, 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, ''AP20150100000080'', ''[6907]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000080]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030013084411621', '2015-05-17 01:04:11'),
(4293, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000080''', 'Aptransaction/invoicePosting', '0.034017086029053', '2015-05-17 01:04:11'),
(4294, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''171''', 'Gltransaction/journalPosting', '0.067231893539429', '2015-05-17 01:05:03'),
(4295, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000080''', 'Gltransaction/journalPosting', '0.044287919998169', '2015-05-17 01:05:03'),
(4296, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.036327123641968', '2015-05-17 01:05:03'),
(4297, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.032039165496826', '2015-05-17 01:05:03'),
(4298, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.029783010482788', '2015-05-17 01:05:03'),
(4299, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.031932830810547', '2015-05-17 01:05:03'),
(4300, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''84''', 'purchasetransaction/receiveItemPost', '0.041734933853149', '2015-05-17 01:05:31'),
(4301, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.03180193901062', '2015-05-17 01:05:31'),
(4302, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000078'' WHERE `ID` =  ''84''', 'purchasetransaction/receiveItemPost', '0.032209873199463', '2015-05-17 01:05:31'),
(4303, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000078'', ''GRN20150517[00000081]'', '' [ GRN20150517[00000081] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059605121612549', '2015-05-17 01:05:31'),
(4304, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''82'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032007932662964', '2015-05-17 01:05:31'),
(4305, 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'', ''PO20150100000078'', 1, ''[6907]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000081]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043848037719727', '2015-05-17 01:05:32'),
(4306, 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, ''PO20150100000078'', ''[6907]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000084]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065106868743896', '2015-05-17 01:05:32'),
(4307, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000078''', 'purchasetransaction/receiveItemPost', '0.033238887786865', '2015-05-17 01:05:32'),
(4308, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''172''', 'Gltransaction/journalPosting', '0.087480068206787', '2015-05-17 01:06:05'),
(4309, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000078''', 'Gltransaction/journalPosting', '0.04320502281189', '2015-05-17 01:06:05'),
(4310, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052496910095215', '2015-05-17 01:06:05'),
(4311, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.07411003112793', '2015-05-17 01:06:05'),
(4312, 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'', ''8671'', ''PERODUA MYVI'', ''PM2M603S002118671'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053528070449829', '2015-05-17 01:07:59'),
(4313, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105956'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12257719039917', '2015-05-17 01:09:24'),
(4314, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (84, ''2'', ''83'', ''1'', ''PM2M603S002118671'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.044108152389526', '2015-05-17 01:09:24'),
(4315, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  84', 'aptransaction/savePurchaseRow', '0.028640985488892', '2015-05-17 01:09:24'),
(4316, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =84', 'aptransaction/savePurchaseRow', '0.033611059188843', '2015-05-17 01:09:24'),
(4317, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''84'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.044965028762817', '2015-05-17 01:09:40'),
(4318, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105956'', ''2'')', 'Aptransaction/invoicePosting', '0.064754009246826', '2015-05-17 01:09:40'),
(4319, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (85, ''84'', ''2'', ''83'', ''1'', -1, ''PM2M603S002118671'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.04422402381897', '2015-05-17 01:09:40'),
(4320, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 86 WHERE `ID` =  ''85''', 'Aptransaction/invoicePosting', '0.032395124435425', '2015-05-17 01:09:40'),
(4321, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 81 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032135963439941', '2015-05-17 01:09:40'),
(4322, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000081'' WHERE `ID` =  ''84''', 'Aptransaction/invoicePosting', '0.032248020172119', '2015-05-17 01:09:40'),
(4323, 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'', ''AP20150100000081'', ''PI20150517[00000081]'', ''Purchase Invoice Confirm [ PI20150517[00000081] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.048352956771851', '2015-05-17 01:09:40'),
(4324, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000081'', 1, ''[8671]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000081]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04184103012085', '2015-05-17 01:09:41'),
(4325, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000081'', ''[8671]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000081]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031073093414307', '2015-05-17 01:09:41'),
(4326, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000081'', ''[8671]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000081]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031666994094849', '2015-05-17 01:09:41'),
(4327, 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, ''AP20150100000081'', ''[8671]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000081]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031854867935181', '2015-05-17 01:09:41'),
(4328, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000081''', 'Aptransaction/invoicePosting', '0.032104969024658', '2015-05-17 01:09:41'),
(4329, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''173''', 'Gltransaction/journalPosting', '0.2974259853363', '2015-05-17 01:10:32'),
(4330, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000081''', 'Gltransaction/journalPosting', '0.065923929214478', '2015-05-17 01:10:33'),
(4331, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.036591053009033', '2015-05-17 01:10:33'),
(4332, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.053392887115479', '2015-05-17 01:10:33'),
(4333, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.053658962249756', '2015-05-17 01:10:33'),
(4334, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.05261492729187', '2015-05-17 01:10:33'),
(4335, 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'', ''9479'', ''PERODUA MYVI'', ''PM2M603S002119479'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.048375129699707', '2015-05-17 08:48:36'),
(4336, 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'', ''PI20150517'', ''2015-04-08'', ''IV02106003'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1179780960083', '2015-05-17 08:50:22'),
(4337, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (85, ''2'', ''84'', ''1'', ''PM2M603S002119479'', ''1'', ''16'', ''46219.76'', ''46219.76'', ''15'', ''6'', ''2773.19'', ''48992.95'')', 'aptransaction/savePurchaseRow', '0.041337966918945', '2015-05-17 08:50:22'),
(4338, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2773.19'', `totalAmount` = ''48992.95'' WHERE `ID` =  85', 'aptransaction/savePurchaseRow', '0.034940958023071', '2015-05-17 08:50:22'),
(4339, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =85', 'aptransaction/savePurchaseRow', '0.032218933105469', '2015-05-17 08:50:22'),
(4340, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''85'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.031422138214111', '2015-05-17 08:50:41'),
(4341, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02106003'', ''2'')', 'Aptransaction/invoicePosting', '0.07565712928772', '2015-05-17 08:50:41'),
(4342, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (86, ''85'', ''2'', ''84'', ''1'', -1, ''PM2M603S002119479'', ''1'', ''1'', ''1'', ''46219.76'', 46219.76)', 'Aptransaction/invoicePosting', '0.041470050811768', '2015-05-17 08:50:41'),
(4343, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 87 WHERE `ID` =  ''86''', 'Aptransaction/invoicePosting', '0.031484127044678', '2015-05-17 08:50:41'),
(4344, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 82 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.031874179840088', '2015-05-17 08:50:41'),
(4345, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000082'' WHERE `ID` =  ''85''', 'Aptransaction/invoicePosting', '0.098859071731567', '2015-05-17 08:50:41'),
(4346, 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'', ''AP20150100000082'', ''PI20150517[00000082]'', ''Purchase Invoice Confirm [ PI20150517[00000082] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 48992.95, 48992.95, ''2'')', 'Aptransaction/invoicePosting', '0.060658931732178', '2015-05-17 08:50:41'),
(4347, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000082'', 1, ''[9479]'', ''138'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000082]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059986114501953', '2015-05-17 08:50:41'),
(4348, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000082'', ''[9479]'', ''38'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000082]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.049643993377686', '2015-05-17 08:50:41'),
(4349, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000082'', ''[9479]'', ''34'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000082]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03606915473938', '2015-05-17 08:50:42'),
(4350, 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, ''AP20150100000082'', ''[9479]'', ''138'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000082]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036771774291992', '2015-05-17 08:50:42'),
(4351, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48992.95, `total_amount_cr` = 48992.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000082''', 'Aptransaction/invoicePosting', '0.076297044754028', '2015-05-17 08:50:42'),
(4352, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''174''', 'Gltransaction/journalPosting', '0.065091133117676', '2015-05-17 08:52:07'),
(4353, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000082''', 'Gltransaction/journalPosting', '0.064774990081787', '2015-05-17 08:52:07'),
(4354, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.065649032592773', '2015-05-17 08:52:07'),
(4355, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.047280788421631', '2015-05-17 08:52:07'),
(4356, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045993804931641', '2015-05-17 08:52:07'),
(4357, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.062345027923584', '2015-05-17 08:52:07'),
(4358, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''86''', 'purchasetransaction/receiveItemPost', '0.063894033432007', '2015-05-17 08:52:35'),
(4359, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 79 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039566040039062', '2015-05-17 08:52:35'),
(4360, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000079'' WHERE `ID` =  ''86''', 'purchasetransaction/receiveItemPost', '0.044508934020996', '2015-05-17 08:52:35'),
(4361, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000079'', ''GRN20150517[00000083]'', '' [ GRN20150517[00000083] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043911933898926', '2015-05-17 08:52:35'),
(4362, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''84'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041704177856445', '2015-05-17 08:52:35'),
(4363, 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'', ''PO20150100000079'', 1, ''[9479]PERODUA MYVI'', ''38'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000083]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029546976089478', '2015-05-17 08:52:35'),
(4364, 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, ''PO20150100000079'', ''[9479]PERODUA MYVI'', ''21'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''GRN20150517[00000086]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029818058013916', '2015-05-17 08:52:35'),
(4365, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46219.76, `total_amount_cr` = 46219.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000079''', 'purchasetransaction/receiveItemPost', '0.053046941757202', '2015-05-17 08:52:35'),
(4366, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''175''', 'Gltransaction/journalPosting', '0.031048059463501', '2015-05-17 08:54:05'),
(4367, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000079''', 'Gltransaction/journalPosting', '0.044135808944702', '2015-05-17 08:54:05'),
(4368, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.09784197807312', '2015-05-17 08:54:05'),
(4369, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.091137170791626', '2015-05-17 08:54:05'),
(4370, 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'', ''3759'', ''PERODUA MYVI'', ''PM2M603S002113759'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.047379016876221', '2015-05-17 08:55:52'),
(4371, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105861'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14201807975769', '2015-05-17 08:57:29'),
(4372, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (86, ''2'', ''85'', ''1'', ''PM2M603S002113759'', ''1'', ''16'', ''43818.93'', ''43818.93'', ''15'', ''6'', ''2629.14'', ''46448.07'')', 'aptransaction/savePurchaseRow', '0.097845077514648', '2015-05-17 08:57:29'),
(4373, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2629.14'', `totalAmount` = ''46448.07'' WHERE `ID` =  86', 'aptransaction/savePurchaseRow', '0.036446809768677', '2015-05-17 08:57:29'),
(4374, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =86', 'aptransaction/savePurchaseRow', '0.044159173965454', '2015-05-17 08:57:29'),
(4375, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''86'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.066632986068726', '2015-05-17 08:57:54'),
(4376, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105861'', ''2'')', 'Aptransaction/invoicePosting', '0.096094846725464', '2015-05-17 08:57:54'),
(4377, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (87, ''86'', ''2'', ''85'', ''1'', -1, ''PM2M603S002113759'', ''1'', ''1'', ''1'', ''43818.93'', 43818.93)', 'Aptransaction/invoicePosting', '0.064277172088623', '2015-05-17 08:57:55'),
(4378, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 88 WHERE `ID` =  ''87''', 'Aptransaction/invoicePosting', '0.031333923339844', '2015-05-17 08:57:55'),
(4379, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 83 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.031649112701416', '2015-05-17 08:57:55'),
(4380, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000083'' WHERE `ID` =  ''86''', 'Aptransaction/invoicePosting', '0.031481981277466', '2015-05-17 08:57:55'),
(4381, 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'', ''AP20150100000083'', ''PI20150517[00000083]'', ''Purchase Invoice Confirm [ PI20150517[00000083] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 46448.07, 46448.07, ''2'')', 'Aptransaction/invoicePosting', '0.046576023101807', '2015-05-17 08:57:55'),
(4382, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000083'', 1, ''[3759]'', ''138'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000083]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037055969238281', '2015-05-17 08:57:55'),
(4383, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000083'', ''[3759]'', ''38'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000083]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037770986557007', '2015-05-17 08:57:55'),
(4384, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000083'', ''[3759]'', ''34'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000083]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037073850631714', '2015-05-17 08:57:55'),
(4385, 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, ''AP20150100000083'', ''[3759]'', ''138'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000083]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037686824798584', '2015-05-17 08:57:55');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4386, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46448.07, `total_amount_cr` = 46448.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000083''', 'Aptransaction/invoicePosting', '0.064316987991333', '2015-05-17 08:57:55'),
(4387, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''176''', 'Gltransaction/journalPosting', '0.06110692024231', '2015-05-17 09:11:32'),
(4388, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000083''', 'Gltransaction/journalPosting', '0.04371190071106', '2015-05-17 09:11:32'),
(4389, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.051542043685913', '2015-05-17 09:11:32'),
(4390, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.053288221359253', '2015-05-17 09:11:32'),
(4391, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069471120834351', '2015-05-17 09:11:32'),
(4392, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057770013809204', '2015-05-17 09:11:32'),
(4393, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''87''', 'purchasetransaction/receiveItemPost', '0.033121109008789', '2015-05-17 09:12:06'),
(4394, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 80 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.031984090805054', '2015-05-17 09:12:06'),
(4395, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000080'' WHERE `ID` =  ''87''', 'purchasetransaction/receiveItemPost', '0.030793905258179', '2015-05-17 09:12:06'),
(4396, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000080'', ''GRN20150517[00000084]'', '' [ GRN20150517[00000084] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051984786987305', '2015-05-17 09:12:06'),
(4397, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''85'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041613101959229', '2015-05-17 09:12:06'),
(4398, 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'', ''PO20150100000080'', 1, ''[3759]PERODUA MYVI'', ''38'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''GRN20150517[00000084]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062973022460938', '2015-05-17 09:12:07'),
(4399, 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, ''PO20150100000080'', ''[3759]PERODUA MYVI'', ''21'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''GRN20150517[00000087]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028931140899658', '2015-05-17 09:12:07'),
(4400, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43818.93, `total_amount_cr` = 43818.93, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000080''', 'purchasetransaction/receiveItemPost', '0.031949043273926', '2015-05-17 09:12:07'),
(4401, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''177''', 'Gltransaction/journalPosting', '0.039223909378052', '2015-05-17 09:14:03'),
(4402, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000080''', 'Gltransaction/journalPosting', '0.12008905410767', '2015-05-17 09:14:03'),
(4403, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.066057920455933', '2015-05-17 09:14:03'),
(4404, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045909881591797', '2015-05-17 09:14:03'),
(4405, 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'', ''6330'', ''PERODUA MYVI'', ''PM2M603S002116330'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.056634902954102', '2015-05-17 09:15:49'),
(4406, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105883'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10902118682861', '2015-05-17 09:17:20'),
(4407, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (87, ''2'', ''86'', ''1'', ''PM2M603S002116330'', ''1'', ''16'', ''43467.58'', ''43467.58'', ''15'', ''6'', ''2608.05'', ''46075.63'')', 'aptransaction/savePurchaseRow', '0.063962936401367', '2015-05-17 09:17:20'),
(4408, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2608.05'', `totalAmount` = ''46075.63'' WHERE `ID` =  87', 'aptransaction/savePurchaseRow', '0.057969093322754', '2015-05-17 09:17:20'),
(4409, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =87', 'aptransaction/savePurchaseRow', '0.0330491065979', '2015-05-17 09:17:20'),
(4410, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''87'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036592960357666', '2015-05-17 09:17:49'),
(4411, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105883'', ''2'')', 'Aptransaction/invoicePosting', '0.12921905517578', '2015-05-17 09:17:49'),
(4412, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (88, ''87'', ''2'', ''86'', ''1'', -1, ''PM2M603S002116330'', ''1'', ''1'', ''1'', ''43467.58'', 43467.58)', 'Aptransaction/invoicePosting', '0.11804294586182', '2015-05-17 09:17:49'),
(4413, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 89 WHERE `ID` =  ''88''', 'Aptransaction/invoicePosting', '0.033522129058838', '2015-05-17 09:17:50'),
(4414, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 84 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032712936401367', '2015-05-17 09:17:50'),
(4415, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000084'' WHERE `ID` =  ''87''', 'Aptransaction/invoicePosting', '0.030951023101807', '2015-05-17 09:17:50'),
(4416, 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'', ''AP20150100000084'', ''PI20150517[00000084]'', ''Purchase Invoice Confirm [ PI20150517[00000084] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 46075.63, 46075.63, ''2'')', 'Aptransaction/invoicePosting', '0.044610977172852', '2015-05-17 09:17:50'),
(4417, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000084'', 1, ''[6330]'', ''138'', ''PERODUA SALES SDN BHD'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''PI20150517[00000084]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059521913528442', '2015-05-17 09:17:50'),
(4418, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000084'', ''[6330]'', ''38'', ''PERODUA SALES SDN BHD'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''PI20150517[00000084]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037562847137451', '2015-05-17 09:17:50'),
(4419, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000084'', ''[6330]'', ''34'', ''PERODUA SALES SDN BHD'', 2608.05, ''1'', ''1'', ''2608.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000084]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03749418258667', '2015-05-17 09:17:50'),
(4420, 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, ''AP20150100000084'', ''[6330]'', ''138'', ''PERODUA SALES SDN BHD'', 2608.05, ''1'', ''1'', ''2608.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000084]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037611961364746', '2015-05-17 09:17:50'),
(4421, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46075.63, `total_amount_cr` = 46075.63, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000084''', 'Aptransaction/invoicePosting', '0.030478000640869', '2015-05-17 09:17:50'),
(4422, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''178''', 'Gltransaction/journalPosting', '0.079828977584839', '2015-05-17 09:19:07'),
(4423, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000084''', 'Gltransaction/journalPosting', '0.030678987503052', '2015-05-17 09:19:07'),
(4424, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.066632032394409', '2015-05-17 09:19:07'),
(4425, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.080302953720093', '2015-05-17 09:19:07'),
(4426, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.046066999435425', '2015-05-17 09:19:07'),
(4427, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.07029390335083', '2015-05-17 09:19:07'),
(4428, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''88''', 'purchasetransaction/receiveItemPost', '0.064666986465454', '2015-05-17 09:19:39'),
(4429, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 81 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.032613039016724', '2015-05-17 09:19:39'),
(4430, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000081'' WHERE `ID` =  ''88''', 'purchasetransaction/receiveItemPost', '0.064766883850098', '2015-05-17 09:19:39'),
(4431, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000081'', ''GRN20150517[00000085]'', '' [ GRN20150517[00000085] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054728031158447', '2015-05-17 09:19:39'),
(4432, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''86'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031265020370483', '2015-05-17 09:19:39'),
(4433, 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'', ''PO20150100000081'', 1, ''[6330]PERODUA MYVI'', ''38'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''GRN20150517[00000085]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.02922511100769', '2015-05-17 09:19:39'),
(4434, 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, ''PO20150100000081'', ''[6330]PERODUA MYVI'', ''21'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''GRN20150517[00000088]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030237197875977', '2015-05-17 09:19:39'),
(4435, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43467.58, `total_amount_cr` = 43467.58, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000081''', 'purchasetransaction/receiveItemPost', '0.030694961547852', '2015-05-17 09:19:39'),
(4436, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''179''', 'Gltransaction/journalPosting', '0.31754302978516', '2015-05-17 09:20:55'),
(4437, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000081''', 'Gltransaction/journalPosting', '0.073662996292114', '2015-05-17 09:20:56'),
(4438, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.06578803062439', '2015-05-17 09:20:56'),
(4439, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045941829681396', '2015-05-17 09:20:56'),
(4440, 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'', ''9123'', ''PERODUA MYVI'', ''PM2M603S002119123'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.060187101364136', '2015-05-17 09:22:27'),
(4441, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105979'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10555005073547', '2015-05-17 09:23:53'),
(4442, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (88, ''2'', ''87'', ''1'', ''PM2M603S002119123'', ''1'', ''16'', ''43818.93'', ''43818.93'', ''15'', ''6'', ''2629.14'', ''46448.07'')', 'aptransaction/savePurchaseRow', '0.053927183151245', '2015-05-17 09:23:53'),
(4443, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2629.14'', `totalAmount` = ''46448.07'' WHERE `ID` =  88', 'aptransaction/savePurchaseRow', '0.049860954284668', '2015-05-17 09:23:53'),
(4444, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =88', 'aptransaction/savePurchaseRow', '0.056331872940063', '2015-05-17 09:23:53'),
(4445, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''88'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.063881874084473', '2015-05-17 09:25:14'),
(4446, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105979'', ''2'')', 'Aptransaction/invoicePosting', '0.08495306968689', '2015-05-17 09:25:14'),
(4447, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (89, ''88'', ''2'', ''87'', ''1'', -1, ''PM2M603S002119123'', ''1'', ''1'', ''1'', ''43818.93'', 43818.93)', 'Aptransaction/invoicePosting', '0.064182043075562', '2015-05-17 09:25:14'),
(4448, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 90 WHERE `ID` =  ''89''', 'Aptransaction/invoicePosting', '0.031131029129028', '2015-05-17 09:25:14'),
(4449, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 85 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.03279709815979', '2015-05-17 09:25:14'),
(4450, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000085'' WHERE `ID` =  ''88''', 'Aptransaction/invoicePosting', '0.05300498008728', '2015-05-17 09:25:14'),
(4451, 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'', ''AP20150100000085'', ''PI20150517[00000085]'', ''Purchase Invoice Confirm [ PI20150517[00000085] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 46448.07, 46448.07, ''2'')', 'Aptransaction/invoicePosting', '0.058354139328003', '2015-05-17 09:25:14'),
(4452, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000085'', 1, ''[9123]'', ''138'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000085]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059772968292236', '2015-05-17 09:25:14'),
(4453, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000085'', ''[9123]'', ''38'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000085]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048431873321533', '2015-05-17 09:25:14'),
(4454, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000085'', ''[9123]'', ''34'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000085]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048598051071167', '2015-05-17 09:25:14'),
(4455, 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, ''AP20150100000085'', ''[9123]'', ''138'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000085]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037475109100342', '2015-05-17 09:25:14'),
(4456, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46448.07, `total_amount_cr` = 46448.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000085''', 'Aptransaction/invoicePosting', '0.030451059341431', '2015-05-17 09:25:14'),
(4457, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''180''', 'Gltransaction/journalPosting', '0.30470204353333', '2015-05-17 09:26:32'),
(4458, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000085''', 'Gltransaction/journalPosting', '0.053435802459717', '2015-05-17 09:26:32'),
(4459, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.067675113677979', '2015-05-17 09:26:32'),
(4460, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.046826839447021', '2015-05-17 09:26:32'),
(4461, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069224834442139', '2015-05-17 09:26:32'),
(4462, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057832956314087', '2015-05-17 09:26:32'),
(4463, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''89''', 'purchasetransaction/receiveItemPost', '0.033984899520874', '2015-05-17 09:27:00'),
(4464, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 82 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.033247947692871', '2015-05-17 09:27:00'),
(4465, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000082'' WHERE `ID` =  ''89''', 'purchasetransaction/receiveItemPost', '0.030172109603882', '2015-05-17 09:27:00'),
(4466, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000082'', ''GRN20150517[00000086]'', '' [ GRN20150517[00000086] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.071280956268311', '2015-05-17 09:27:00'),
(4467, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''87'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031548023223877', '2015-05-17 09:27:00'),
(4468, 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'', ''PO20150100000082'', 1, ''[9123]PERODUA MYVI'', ''38'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''GRN20150517[00000086]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062920093536377', '2015-05-17 09:27:00'),
(4469, 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, ''PO20150100000082'', ''[9123]PERODUA MYVI'', ''21'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''GRN20150517[00000089]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028440952301025', '2015-05-17 09:27:00'),
(4470, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43818.93, `total_amount_cr` = 43818.93, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000082''', 'purchasetransaction/receiveItemPost', '0.03248405456543', '2015-05-17 09:27:00'),
(4471, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''181''', 'Gltransaction/journalPosting', '0.076166868209839', '2015-05-17 09:27:53'),
(4472, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000082''', 'Gltransaction/journalPosting', '0.086623907089233', '2015-05-17 09:27:53'),
(4473, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.079018115997314', '2015-05-17 09:27:53'),
(4474, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034342050552368', '2015-05-17 09:27:53'),
(4475, 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'', ''9054'', ''PERODUA ALZA'', ''PM2M502G002239054'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050894021987915', '2015-05-17 09:29:13'),
(4476, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105369'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.095263004302979', '2015-05-17 09:30:41'),
(4477, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (89, ''2'', ''88'', ''1'', ''PM2M502G002239054'', ''1'', ''16'', ''57265.78'', ''57265.78'', ''15'', ''6'', ''3435.95'', ''60701.73'')', 'aptransaction/savePurchaseRow', '0.0431809425354', '2015-05-17 09:30:41'),
(4478, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  89', 'aptransaction/savePurchaseRow', '0.036216020584106', '2015-05-17 09:30:41'),
(4479, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =89', 'aptransaction/savePurchaseRow', '0.06600284576416', '2015-05-17 09:30:41'),
(4480, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''89'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.065325975418091', '2015-05-17 09:31:07'),
(4481, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105369'', ''2'')', 'Aptransaction/invoicePosting', '0.04029107093811', '2015-05-17 09:31:07'),
(4482, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (90, ''89'', ''2'', ''88'', ''1'', -1, ''PM2M502G002239054'', ''1'', ''1'', ''1'', ''57265.78'', 57265.78)', 'Aptransaction/invoicePosting', '0.03191614151001', '2015-05-17 09:31:07'),
(4483, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 91 WHERE `ID` =  ''90''', 'Aptransaction/invoicePosting', '0.042993068695068', '2015-05-17 09:31:07'),
(4484, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 86 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.034193992614746', '2015-05-17 09:31:07'),
(4485, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000086'' WHERE `ID` =  ''89''', 'Aptransaction/invoicePosting', '0.076545000076294', '2015-05-17 09:31:07'),
(4486, 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'', ''AP20150100000086'', ''PI20150517[00000086]'', ''Purchase Invoice Confirm [ PI20150517[00000086] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/invoicePosting', '0.038110971450806', '2015-05-17 09:31:07'),
(4487, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000086'', 1, ''[9054]'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000086]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03698992729187', '2015-05-17 09:31:07'),
(4488, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000086'', ''[9054]'', ''38'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000086]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04877495765686', '2015-05-17 09:31:07'),
(4489, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000086'', ''[9054]'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000086]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03654408454895', '2015-05-17 09:31:07'),
(4490, 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, ''AP20150100000086'', ''[9054]'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000086]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038636207580566', '2015-05-17 09:31:07'),
(4491, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60701.73, `total_amount_cr` = 60701.73, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000086''', 'Aptransaction/invoicePosting', '0.043729066848755', '2015-05-17 09:31:07'),
(4492, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''182''', 'Gltransaction/journalPosting', '0.065231084823608', '2015-05-17 09:32:02'),
(4493, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000086''', 'Gltransaction/journalPosting', '0.054697036743164', '2015-05-17 09:32:02'),
(4494, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.079237937927246', '2015-05-17 09:32:02'),
(4495, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045974016189575', '2015-05-17 09:32:02'),
(4496, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.038795948028564', '2015-05-17 09:32:02'),
(4497, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045546054840088', '2015-05-17 09:32:02'),
(4498, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''90''', 'purchasetransaction/receiveItemPost', '0.032810926437378', '2015-05-17 09:32:34'),
(4499, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 83 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.033637046813965', '2015-05-17 09:32:34'),
(4500, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000083'' WHERE `ID` =  ''90''', 'purchasetransaction/receiveItemPost', '0.030411005020142', '2015-05-17 09:32:34'),
(4501, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000083'', ''GRN20150517[00000087]'', '' [ GRN20150517[00000087] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059282064437866', '2015-05-17 09:32:34'),
(4502, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''88'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031569957733154', '2015-05-17 09:32:34'),
(4503, 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'', ''PO20150100000083'', 1, ''[9054]PERODUA ALZA'', ''38'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''GRN20150517[00000087]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051691055297852', '2015-05-17 09:32:34'),
(4504, 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, ''PO20150100000083'', ''[9054]PERODUA ALZA'', ''21'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''GRN20150517[00000090]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027659893035889', '2015-05-17 09:32:34'),
(4505, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 57265.78, `total_amount_cr` = 57265.78, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000083''', 'purchasetransaction/receiveItemPost', '0.033050060272217', '2015-05-17 09:32:34'),
(4506, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''183''', 'Gltransaction/journalPosting', '0.32207798957825', '2015-05-17 09:33:38'),
(4507, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000083''', 'Gltransaction/journalPosting', '0.053467988967896', '2015-05-17 09:33:38'),
(4508, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.05335807800293', '2015-05-17 09:33:38'),
(4509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034259080886841', '2015-05-17 09:33:38'),
(4510, 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'', ''4192'', ''PERODUA MYVI'', ''PM2M602S002224192'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.057429075241089', '2015-05-17 09:36:11'),
(4511, 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'', ''PI20150517'', ''2015-04-08'', ''IV02105681'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11914396286011', '2015-05-17 09:37:49'),
(4512, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (90, ''2'', ''89'', ''1'', ''PM2M602S002224192'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.065026998519897', '2015-05-17 09:37:49');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4513, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  90', 'aptransaction/savePurchaseRow', '0.038676023483276', '2015-05-17 09:37:49'),
(4514, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =90', 'aptransaction/savePurchaseRow', '0.055306911468506', '2015-05-17 09:37:49'),
(4515, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''90'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.090276956558228', '2015-05-17 09:38:11'),
(4516, 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'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105681'', ''2'')', 'Aptransaction/invoicePosting', '0.074492216110229', '2015-05-17 09:38:11'),
(4517, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (91, ''90'', ''2'', ''89'', ''1'', -1, ''PM2M602S002224192'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.04311990737915', '2015-05-17 09:38:11'),
(4518, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 92 WHERE `ID` =  ''91''', 'Aptransaction/invoicePosting', '0.030916929244995', '2015-05-17 09:38:11'),
(4519, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 87 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033359050750732', '2015-05-17 09:38:11'),
(4520, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000087'' WHERE `ID` =  ''90''', 'Aptransaction/invoicePosting', '0.043317079544067', '2015-05-17 09:38:11'),
(4521, 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'', ''AP20150100000087'', ''PI20150517[00000087]'', ''Purchase Invoice Confirm [ PI20150517[00000087] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.042763948440552', '2015-05-17 09:38:11'),
(4522, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000087'', 1, ''[4192]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000087]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059613943099976', '2015-05-17 09:38:11'),
(4523, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000087'', ''[4192]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000087]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037489891052246', '2015-05-17 09:38:11'),
(4524, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000087'', ''[4192]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000087]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037560939788818', '2015-05-17 09:38:11'),
(4525, 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, ''AP20150100000087'', ''[4192]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000087]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037587881088257', '2015-05-17 09:38:11'),
(4526, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41037.68, `total_amount_cr` = 41037.68, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000087''', 'Aptransaction/invoicePosting', '0.029776096343994', '2015-05-17 09:38:11'),
(4527, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''184''', 'Gltransaction/journalPosting', '0.072275876998901', '2015-05-17 09:39:08'),
(4528, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000087''', 'Gltransaction/journalPosting', '0.033222198486328', '2015-05-17 09:39:08'),
(4529, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.068527936935425', '2015-05-17 09:39:08'),
(4530, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045570135116577', '2015-05-17 09:39:08'),
(4531, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.068467140197754', '2015-05-17 09:39:08'),
(4532, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.058520793914795', '2015-05-17 09:39:08'),
(4533, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''91''', 'purchasetransaction/receiveItemPost', '0.047653913497925', '2015-05-17 09:39:36'),
(4534, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 84 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035394906997681', '2015-05-17 09:39:36'),
(4535, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000084'' WHERE `ID` =  ''91''', 'purchasetransaction/receiveItemPost', '0.064984798431396', '2015-05-17 09:39:36'),
(4536, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000084'', ''GRN20150517[00000088]'', '' [ GRN20150517[00000088] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05457592010498', '2015-05-17 09:39:36'),
(4537, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''89'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041029930114746', '2015-05-17 09:39:36'),
(4538, 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'', ''PO20150100000084'', 1, ''[4192]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150517[00000088]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04128098487854', '2015-05-17 09:39:36'),
(4539, 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, ''PO20150100000084'', ''[4192]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150517[00000091]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064391136169434', '2015-05-17 09:39:36'),
(4540, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38714.79, `total_amount_cr` = 38714.79, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000084''', 'purchasetransaction/receiveItemPost', '0.051836967468262', '2015-05-17 09:39:36'),
(4541, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''185''', 'Gltransaction/journalPosting', '0.4267098903656', '2015-05-17 09:40:44'),
(4542, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000084''', 'Gltransaction/journalPosting', '0.044650077819824', '2015-05-17 09:40:44'),
(4543, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057456970214844', '2015-05-17 09:40:45'),
(4544, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.071079969406128', '2015-05-17 09:40:45'),
(4545, 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'', ''2164'', ''PERODUA MYVI'', ''PM2M602S002222164'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.060693025588989', '2015-05-17 09:42:12'),
(4546, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107381'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10712003707886', '2015-05-17 09:43:48'),
(4547, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (91, ''2'', ''90'', ''1'', ''PM2M602S002222164'', ''1'', ''16'', ''35585.25'', ''35585.25'', ''15'', ''6'', ''2135.11'', ''37720.37'')', 'aptransaction/savePurchaseRow', '0.064093112945557', '2015-05-17 09:43:48'),
(4548, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2135.11'', `totalAmount` = ''37720.37'' WHERE `ID` =  91', 'aptransaction/savePurchaseRow', '0.03925085067749', '2015-05-17 09:43:48'),
(4549, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =91', 'aptransaction/savePurchaseRow', '0.085957050323486', '2015-05-17 09:43:48'),
(4550, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''91'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.10399913787842', '2015-05-17 09:44:16'),
(4551, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107381'', ''2'')', 'Aptransaction/invoicePosting', '0.060225963592529', '2015-05-17 09:44:16'),
(4552, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (92, ''91'', ''2'', ''90'', ''1'', -1, ''PM2M602S002222164'', ''1'', ''1'', ''1'', ''35585.25'', 35585.25)', 'Aptransaction/invoicePosting', '0.075390100479126', '2015-05-17 09:44:16'),
(4553, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 93 WHERE `ID` =  ''92''', 'Aptransaction/invoicePosting', '0.029915809631348', '2015-05-17 09:44:16'),
(4554, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 88 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032787084579468', '2015-05-17 09:44:16'),
(4555, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000088'' WHERE `ID` =  ''91''', 'Aptransaction/invoicePosting', '0.029313087463379', '2015-05-17 09:44:16'),
(4556, 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'', ''AP20150100000088'', ''PI20150517[00000088]'', ''Purchase Invoice Confirm [ PI20150517[00000088] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 37720.37, 37720.37, ''2'')', 'Aptransaction/invoicePosting', '0.054151773452759', '2015-05-17 09:44:16'),
(4557, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000088'', 1, ''[2164]'', ''138'', ''PERODUA SALES SDN BHD'', 35585.25, ''1'', ''1'', ''35585.25'', ''1'', ''2015'', ''1'', ''PI20150517[00000088]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048256158828735', '2015-05-17 09:44:16'),
(4558, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000088'', ''[2164]'', ''38'', ''PERODUA SALES SDN BHD'', 35585.25, ''1'', ''1'', ''35585.25'', ''1'', ''2015'', ''1'', ''PI20150517[00000088]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.070472002029419', '2015-05-17 09:44:16'),
(4559, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000088'', ''[2164]'', ''34'', ''PERODUA SALES SDN BHD'', 2135.11, ''1'', ''1'', ''2135.11'', ''1'', ''2015'', ''1'', ''PI20150517[00000088]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037338972091675', '2015-05-17 09:44:16'),
(4560, 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, ''AP20150100000088'', ''[2164]'', ''138'', ''PERODUA SALES SDN BHD'', 2135.11, ''1'', ''1'', ''2135.11'', ''1'', ''2015'', ''1'', ''PI20150517[00000088]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037375926971436', '2015-05-17 09:44:16'),
(4561, 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` =  ''AP20150100000088''', 'Aptransaction/invoicePosting', '0.053241014480591', '2015-05-17 09:44:16'),
(4562, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''186''', 'Gltransaction/journalPosting', '0.081862926483154', '2015-05-17 09:45:21'),
(4563, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000088''', 'Gltransaction/journalPosting', '0.09801983833313', '2015-05-17 09:45:21'),
(4564, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057939052581787', '2015-05-17 09:45:21'),
(4565, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.046689033508301', '2015-05-17 09:45:21'),
(4566, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.038249969482422', '2015-05-17 09:45:21'),
(4567, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.043915987014771', '2015-05-17 09:45:21'),
(4568, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''92''', 'purchasetransaction/receiveItemPost', '0.033120155334473', '2015-05-17 09:45:49'),
(4569, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 85 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.034687995910645', '2015-05-17 09:45:49'),
(4570, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000085'' WHERE `ID` =  ''92''', 'purchasetransaction/receiveItemPost', '0.083708047866821', '2015-05-17 09:45:49'),
(4571, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000085'', ''GRN20150517[00000089]'', '' [ GRN20150517[00000089] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070189952850342', '2015-05-17 09:45:49'),
(4572, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''90'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032608032226562', '2015-05-17 09:45:49'),
(4573, 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'', ''PO20150100000085'', 1, ''[2164]PERODUA MYVI'', ''38'', 35585.25, ''1'', ''1'', ''35585.25'', ''1'', ''2015'', ''1'', ''GRN20150517[00000089]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051876783370972', '2015-05-17 09:45:49'),
(4574, 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, ''PO20150100000085'', ''[2164]PERODUA MYVI'', ''21'', 35585.25, ''1'', ''1'', ''35585.25'', ''1'', ''2015'', ''GRN20150517[00000092]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.02715802192688', '2015-05-17 09:45:49'),
(4575, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 35585.25, `total_amount_cr` = 35585.25, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000085''', 'purchasetransaction/receiveItemPost', '0.033767938613892', '2015-05-17 09:45:49'),
(4576, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''187''', 'Gltransaction/journalPosting', '0.077485799789429', '2015-05-17 09:47:01'),
(4577, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000085''', 'Gltransaction/journalPosting', '0.083966016769409', '2015-05-17 09:47:01'),
(4578, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.10032391548157', '2015-05-17 09:47:01'),
(4579, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.077683925628662', '2015-05-17 09:47:01'),
(4580, 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'', ''6413'', ''PERODUA ALZA'', ''PM2M502G002226413'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.061470031738281', '2015-05-17 09:48:46'),
(4581, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107029'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.071493148803711', '2015-05-17 09:50:05'),
(4582, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (92, ''2'', ''91'', ''1'', ''PM2M502G002226413'', ''1'', ''16'', ''48843.18'', ''48843.18'', ''15'', ''6'', ''2930.59'', ''51773.77'')', 'aptransaction/savePurchaseRow', '0.065706968307495', '2015-05-17 09:50:05'),
(4583, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2930.59'', `totalAmount` = ''51773.77'' WHERE `ID` =  92', 'aptransaction/savePurchaseRow', '0.037998914718628', '2015-05-17 09:50:05'),
(4584, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =92', 'aptransaction/savePurchaseRow', '0.030645132064819', '2015-05-17 09:50:05'),
(4585, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''92'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.031921863555908', '2015-05-17 09:50:27'),
(4586, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107029'', ''2'')', 'Aptransaction/invoicePosting', '0.068503856658936', '2015-05-17 09:50:27'),
(4587, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (93, ''92'', ''2'', ''91'', ''1'', -1, ''PM2M502G002226413'', ''1'', ''1'', ''1'', ''48843.18'', 48843.18)', 'Aptransaction/invoicePosting', '0.064620971679688', '2015-05-17 09:50:27'),
(4588, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 94 WHERE `ID` =  ''93''', 'Aptransaction/invoicePosting', '0.1205198764801', '2015-05-17 09:50:27'),
(4589, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 89 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033229112625122', '2015-05-17 09:50:27'),
(4590, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000089'' WHERE `ID` =  ''92''', 'Aptransaction/invoicePosting', '0.029646873474121', '2015-05-17 09:50:27'),
(4591, 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'', ''AP20150100000089'', ''PI20150517[00000089]'', ''Purchase Invoice Confirm [ PI20150517[00000089] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 51773.77, 51773.77, ''2'')', 'Aptransaction/invoicePosting', '0.060091972351074', '2015-05-17 09:50:27'),
(4592, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000089'', 1, ''[6413]'', ''138'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000089]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.079729080200195', '2015-05-17 09:50:27'),
(4593, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000089'', ''[6413]'', ''38'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000089]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.039508819580078', '2015-05-17 09:50:27'),
(4594, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000089'', ''[6413]'', ''34'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000089]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037452936172485', '2015-05-17 09:50:27'),
(4595, 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, ''AP20150100000089'', ''[6413]'', ''138'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000089]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037511825561523', '2015-05-17 09:50:27'),
(4596, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51773.77, `total_amount_cr` = 51773.77, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000089''', 'Aptransaction/invoicePosting', '0.06456995010376', '2015-05-17 09:50:27'),
(4597, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''188''', 'Gltransaction/journalPosting', '0.068397998809814', '2015-05-17 09:51:31'),
(4598, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000089''', 'Gltransaction/journalPosting', '0.064543962478638', '2015-05-17 09:51:31'),
(4599, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.091980934143066', '2015-05-17 09:51:31'),
(4600, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069047927856445', '2015-05-17 09:51:31'),
(4601, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.058264970779419', '2015-05-17 09:51:31'),
(4602, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069322109222412', '2015-05-17 09:51:31'),
(4603, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''93''', 'purchasetransaction/receiveItemPost', '0.041642189025879', '2015-05-17 09:51:58'),
(4604, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 86 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.036659002304077', '2015-05-17 09:51:58'),
(4605, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000086'' WHERE `ID` =  ''93''', 'purchasetransaction/receiveItemPost', '0.051287889480591', '2015-05-17 09:51:58'),
(4606, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000086'', ''GRN20150517[00000090]'', '' [ GRN20150517[00000090] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.050529956817627', '2015-05-17 09:51:58'),
(4607, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''91'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043165922164917', '2015-05-17 09:51:58'),
(4608, 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'', ''PO20150100000086'', 1, ''[6413]PERODUA ALZA'', ''38'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''GRN20150517[00000090]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027239084243774', '2015-05-17 09:51:58'),
(4609, 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, ''PO20150100000086'', ''[6413]PERODUA ALZA'', ''21'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''GRN20150517[00000093]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031958103179932', '2015-05-17 09:51:59'),
(4610, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48843.18, `total_amount_cr` = 48843.18, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000086''', 'purchasetransaction/receiveItemPost', '0.02886700630188', '2015-05-17 09:51:59'),
(4611, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''189''', 'Gltransaction/journalPosting', '0.39359498023987', '2015-05-17 09:53:06'),
(4612, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000086''', 'Gltransaction/journalPosting', '0.056514024734497', '2015-05-17 09:53:06'),
(4613, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.058363914489746', '2015-05-17 09:53:06'),
(4614, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.066617012023926', '2015-05-17 09:53:06'),
(4615, 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'', ''6166'', ''PERODUA ALZA'', ''PM2M502G002236166'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049114942550659', '2015-05-17 09:54:27'),
(4616, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107075'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10190510749817', '2015-05-17 09:55:47'),
(4617, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (93, ''2'', ''92'', ''1'', ''PM2M502G002236166'', ''1'', ''16'', ''48843.18'', ''48843.18'', ''15'', ''6'', ''2930.59'', ''51773.77'')', 'aptransaction/savePurchaseRow', '0.046010971069336', '2015-05-17 09:55:47'),
(4618, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2930.59'', `totalAmount` = ''51773.77'' WHERE `ID` =  93', 'aptransaction/savePurchaseRow', '0.044530868530273', '2015-05-17 09:55:47'),
(4619, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =93', 'aptransaction/savePurchaseRow', '0.035866975784302', '2015-05-17 09:55:47'),
(4620, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''93'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.098700046539307', '2015-05-17 09:56:05'),
(4621, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107075'', ''2'')', 'Aptransaction/invoicePosting', '0.070342063903809', '2015-05-17 09:56:05'),
(4622, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (94, ''93'', ''2'', ''92'', ''1'', -1, ''PM2M502G002236166'', ''1'', ''1'', ''1'', ''48843.18'', 48843.18)', 'Aptransaction/invoicePosting', '0.044378042221069', '2015-05-17 09:56:05'),
(4623, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 95 WHERE `ID` =  ''94''', 'Aptransaction/invoicePosting', '0.054137945175171', '2015-05-17 09:56:05'),
(4624, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 90 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.045648097991943', '2015-05-17 09:56:05'),
(4625, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000090'' WHERE `ID` =  ''93''', 'Aptransaction/invoicePosting', '0.053759098052979', '2015-05-17 09:56:05'),
(4626, 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'', ''AP20150100000090'', ''PI20150517[00000090]'', ''Purchase Invoice Confirm [ PI20150517[00000090] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 51773.77, 51773.77, ''2'')', 'Aptransaction/invoicePosting', '0.055801868438721', '2015-05-17 09:56:05'),
(4627, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000090'', 1, ''[6166]'', ''138'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000090]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04859185218811', '2015-05-17 09:56:05'),
(4628, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000090'', ''[6166]'', ''38'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000090]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037577152252197', '2015-05-17 09:56:05'),
(4629, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000090'', ''[6166]'', ''34'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000090]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037545919418335', '2015-05-17 09:56:05'),
(4630, 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, ''AP20150100000090'', ''[6166]'', ''138'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000090]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037511825561523', '2015-05-17 09:56:05'),
(4631, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51773.77, `total_amount_cr` = 51773.77, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000090''', 'Aptransaction/invoicePosting', '0.053380966186523', '2015-05-17 09:56:05'),
(4632, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''190''', 'Gltransaction/journalPosting', '0.07981014251709', '2015-05-17 09:57:07'),
(4633, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000090''', 'Gltransaction/journalPosting', '0.052836894989014', '2015-05-17 09:57:07'),
(4634, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.056012868881226', '2015-05-17 09:57:07'),
(4635, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.054744958877563', '2015-05-17 09:57:07'),
(4636, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.050607919692993', '2015-05-17 09:57:07'),
(4637, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057809114456177', '2015-05-17 09:57:07'),
(4638, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''94''', 'purchasetransaction/receiveItemPost', '0.034548997879028', '2015-05-17 09:57:30'),
(4639, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 87 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.034915924072266', '2015-05-17 09:57:30'),
(4640, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000087'' WHERE `ID` =  ''94''', 'purchasetransaction/receiveItemPost', '0.028345108032227', '2015-05-17 09:57:30'),
(4641, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000087'', ''GRN20150517[00000091]'', '' [ GRN20150517[00000091] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.093508005142212', '2015-05-17 09:57:30'),
(4642, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''92'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043478012084961', '2015-05-17 09:57:30');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4643, 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'', ''PO20150100000087'', 1, ''[6166]PERODUA ALZA'', ''38'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''GRN20150517[00000091]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051853895187378', '2015-05-17 09:57:30'),
(4644, 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, ''PO20150100000087'', ''[6166]PERODUA ALZA'', ''21'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''GRN20150517[00000094]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.074109077453613', '2015-05-17 09:57:30'),
(4645, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48843.18, `total_amount_cr` = 48843.18, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000087''', 'purchasetransaction/receiveItemPost', '0.097501993179321', '2015-05-17 09:57:30'),
(4646, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''191''', 'Gltransaction/journalPosting', '0.07141900062561', '2015-05-17 09:58:37'),
(4647, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000087''', 'Gltransaction/journalPosting', '0.034358978271484', '2015-05-17 09:58:37'),
(4648, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069896936416626', '2015-05-17 09:58:37'),
(4649, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.054567098617554', '2015-05-17 09:58:37'),
(4650, 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'', ''8643'', ''PERODUA ALZA'', ''PM2M502G002238643'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.048171997070312', '2015-05-17 10:01:36'),
(4651, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107110'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11259698867798', '2015-05-17 10:03:22'),
(4652, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (94, ''2'', ''93'', ''1'', ''PM2M502G002238643'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.045323848724365', '2015-05-17 10:03:22'),
(4653, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  94', 'aptransaction/savePurchaseRow', '0.058638095855713', '2015-05-17 10:03:22'),
(4654, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =94', 'aptransaction/savePurchaseRow', '0.054671049118042', '2015-05-17 10:03:22'),
(4655, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''94'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.037904977798462', '2015-05-17 10:03:45'),
(4656, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107110'', ''2'')', 'Aptransaction/invoicePosting', '0.053129911422729', '2015-05-17 10:03:45'),
(4657, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (95, ''94'', ''2'', ''93'', ''1'', -1, ''PM2M502G002238643'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.045346021652222', '2015-05-17 10:03:45'),
(4658, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 96 WHERE `ID` =  ''95''', 'Aptransaction/invoicePosting', '0.028733968734741', '2015-05-17 10:03:45'),
(4659, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 91 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.034554958343506', '2015-05-17 10:03:45'),
(4660, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000091'' WHERE `ID` =  ''94''', 'Aptransaction/invoicePosting', '0.028249979019165', '2015-05-17 10:03:45'),
(4661, 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'', ''AP20150100000091'', ''PI20150517[00000091]'', ''Purchase Invoice Confirm [ PI20150517[00000091] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.050447940826416', '2015-05-17 10:03:45'),
(4662, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000091'', 1, ''[8643]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000091]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.070665121078491', '2015-05-17 10:03:45'),
(4663, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000091'', ''[8643]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000091]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037673950195312', '2015-05-17 10:03:45'),
(4664, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000091'', ''[8643]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000091]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037545919418335', '2015-05-17 10:03:45'),
(4665, 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, ''AP20150100000091'', ''[8643]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000091]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037523984909058', '2015-05-17 10:03:45'),
(4666, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51301.33, `total_amount_cr` = 51301.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000091''', 'Aptransaction/invoicePosting', '0.028091907501221', '2015-05-17 10:03:45'),
(4667, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''192''', 'Gltransaction/journalPosting', '0.090139150619507', '2015-05-17 10:04:38'),
(4668, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000091''', 'Gltransaction/journalPosting', '0.038845062255859', '2015-05-17 10:04:38'),
(4669, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.068840026855469', '2015-05-17 10:04:38'),
(4670, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045176982879639', '2015-05-17 10:04:38'),
(4671, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.04299783706665', '2015-05-17 10:04:38'),
(4672, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069123029708862', '2015-05-17 10:04:38'),
(4673, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''95''', 'purchasetransaction/receiveItemPost', '0.049837112426758', '2015-05-17 10:05:12'),
(4674, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 88 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051367044448853', '2015-05-17 10:05:12'),
(4675, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000088'' WHERE `ID` =  ''95''', 'purchasetransaction/receiveItemPost', '0.053664207458496', '2015-05-17 10:05:12'),
(4676, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000088'', ''GRN20150517[00000092]'', '' [ GRN20150517[00000092] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.044559001922607', '2015-05-17 10:05:12'),
(4677, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''93'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043376922607422', '2015-05-17 10:05:12'),
(4678, 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'', ''PO20150100000088'', 1, ''[8643]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150517[00000092]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.073982954025269', '2015-05-17 10:05:12'),
(4679, 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, ''PO20150100000088'', ''[8643]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150517[00000095]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.026824951171875', '2015-05-17 10:05:12'),
(4680, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48397.48, `total_amount_cr` = 48397.48, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000088''', 'purchasetransaction/receiveItemPost', '0.045086860656738', '2015-05-17 10:05:12'),
(4681, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''193''', 'Gltransaction/journalPosting', '0.080708980560303', '2015-05-17 10:06:05'),
(4682, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000088''', 'Gltransaction/journalPosting', '0.028211832046509', '2015-05-17 10:06:05'),
(4683, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.056432962417603', '2015-05-17 10:06:05'),
(4684, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.054714918136597', '2015-05-17 10:06:05'),
(4685, 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'', ''0930'', ''PERODUA ALZA'', ''PM2M502G002240930'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.059221029281616', '2015-05-17 10:12:05'),
(4686, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107227'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10324811935425', '2015-05-17 10:15:24'),
(4687, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (95, ''2'', ''94'', ''1'', ''PM2M502G002240930'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.056850910186768', '2015-05-17 10:15:24'),
(4688, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  95', 'aptransaction/savePurchaseRow', '0.037030935287476', '2015-05-17 10:15:24'),
(4689, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =95', 'aptransaction/savePurchaseRow', '0.051223993301392', '2015-05-17 10:15:24'),
(4690, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''95'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.13133001327515', '2015-05-17 10:15:42'),
(4691, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107227'', ''2'')', 'Aptransaction/invoicePosting', '0.074498891830444', '2015-05-17 10:15:42'),
(4692, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (96, ''95'', ''2'', ''94'', ''1'', -1, ''PM2M502G002240930'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.06423282623291', '2015-05-17 10:15:42'),
(4693, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 97 WHERE `ID` =  ''96''', 'Aptransaction/invoicePosting', '0.039963960647583', '2015-05-17 10:15:42'),
(4694, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 92 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041429996490479', '2015-05-17 10:15:42'),
(4695, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000092'' WHERE `ID` =  ''95''', 'Aptransaction/invoicePosting', '0.056936025619507', '2015-05-17 10:15:42'),
(4696, 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'', ''AP20150100000092'', ''PI20150517[00000092]'', ''Purchase Invoice Confirm [ PI20150517[00000092] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.066193103790283', '2015-05-17 10:15:42'),
(4697, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000092'', 1, ''[0930]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000092]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.099974155426025', '2015-05-17 10:15:42'),
(4698, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000092'', ''[0930]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000092]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.040463924407959', '2015-05-17 10:15:42'),
(4699, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000092'', ''[0930]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000092]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037445068359375', '2015-05-17 10:15:43'),
(4700, 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, ''AP20150100000092'', ''[0930]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000092]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037657976150513', '2015-05-17 10:15:43'),
(4701, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51301.33, `total_amount_cr` = 51301.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000092''', 'Aptransaction/invoicePosting', '0.039230108261108', '2015-05-17 10:15:43'),
(4702, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''194''', 'Gltransaction/journalPosting', '0.098047971725464', '2015-05-17 10:16:45'),
(4703, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000092''', 'Gltransaction/journalPosting', '0.027626991271973', '2015-05-17 10:16:45'),
(4704, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.091250896453857', '2015-05-17 10:16:45'),
(4705, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.043182849884033', '2015-05-17 10:16:45'),
(4706, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.050166130065918', '2015-05-17 10:16:45'),
(4707, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.043086051940918', '2015-05-17 10:16:45'),
(4708, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''96''', 'purchasetransaction/receiveItemPost', '0.036133050918579', '2015-05-17 10:17:18'),
(4709, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 89 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.036081075668335', '2015-05-17 10:17:18'),
(4710, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000089'' WHERE `ID` =  ''96''', 'purchasetransaction/receiveItemPost', '0.038109064102173', '2015-05-17 10:17:18'),
(4711, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000089'', ''GRN20150517[00000093]'', '' [ GRN20150517[00000093] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064157962799072', '2015-05-17 10:17:18'),
(4712, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''94'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.051460027694702', '2015-05-17 10:17:18'),
(4713, 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'', ''PO20150100000089'', 1, ''[0930]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150517[00000093]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053082942962646', '2015-05-17 10:17:18'),
(4714, 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, ''PO20150100000089'', ''[0930]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150517[00000096]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033009052276611', '2015-05-17 10:17:18'),
(4715, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48397.48, `total_amount_cr` = 48397.48, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000089''', 'purchasetransaction/receiveItemPost', '0.027498006820679', '2015-05-17 10:17:18'),
(4716, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''195''', 'Gltransaction/journalPosting', '0.082619190216064', '2015-05-17 10:17:57'),
(4717, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000089''', 'Gltransaction/journalPosting', '0.10169982910156', '2015-05-17 10:17:57'),
(4718, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.10247898101807', '2015-05-17 10:17:57'),
(4719, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.080135107040405', '2015-05-17 10:17:57'),
(4720, 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'', ''4707'', ''PERODUA MYVI'', ''PM2M603S002114707'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.062042951583862', '2015-05-17 10:20:13'),
(4721, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107667'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.15035796165466', '2015-05-17 10:21:50'),
(4722, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (96, ''2'', ''95'', ''1'', ''PM2M603S002114707'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.045686006546021', '2015-05-17 10:21:50'),
(4723, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  96', 'aptransaction/savePurchaseRow', '0.051737070083618', '2015-05-17 10:21:50'),
(4724, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =96', 'aptransaction/savePurchaseRow', '0.048604965209961', '2015-05-17 10:21:50'),
(4725, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''96'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.091352939605713', '2015-05-17 10:22:15'),
(4726, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107667'', ''2'')', 'Aptransaction/invoicePosting', '0.083779096603394', '2015-05-17 10:22:15'),
(4727, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (97, ''96'', ''2'', ''95'', ''1'', -1, ''PM2M603S002114707'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.026883840560913', '2015-05-17 10:22:15'),
(4728, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 98 WHERE `ID` =  ''97''', 'Aptransaction/invoicePosting', '0.047363996505737', '2015-05-17 10:22:15'),
(4729, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 93 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.031429052352905', '2015-05-17 10:22:15'),
(4730, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000093'' WHERE `ID` =  ''96''', 'Aptransaction/invoicePosting', '0.043170928955078', '2015-05-17 10:22:15'),
(4731, 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'', ''AP20150100000093'', ''PI20150517[00000093]'', ''Purchase Invoice Confirm [ PI20150517[00000093] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.02909517288208', '2015-05-17 10:22:15'),
(4732, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000093'', 1, ''[4707]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000093]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041635990142822', '2015-05-17 10:22:15'),
(4733, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000093'', ''[4707]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000093]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.05483078956604', '2015-05-17 10:22:15'),
(4734, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000093'', ''[4707]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000093]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037566184997559', '2015-05-17 10:22:15'),
(4735, 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, ''AP20150100000093'', ''[4707]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000093]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.051483869552612', '2015-05-17 10:22:15'),
(4736, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000093''', 'Aptransaction/invoicePosting', '0.04205584526062', '2015-05-17 10:22:15'),
(4737, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''196''', 'Gltransaction/journalPosting', '0.073111057281494', '2015-05-17 10:23:16'),
(4738, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000093''', 'Gltransaction/journalPosting', '0.026972770690918', '2015-05-17 10:23:16'),
(4739, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.068915128707886', '2015-05-17 10:23:16'),
(4740, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.08021092414856', '2015-05-17 10:23:16'),
(4741, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.065253019332886', '2015-05-17 10:23:16'),
(4742, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057489156723022', '2015-05-17 10:23:16'),
(4743, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''97''', 'purchasetransaction/receiveItemPost', '0.069037914276123', '2015-05-17 10:23:40'),
(4744, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 90 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.023521900177002', '2015-05-17 10:23:40'),
(4745, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000090'' WHERE `ID` =  ''97''', 'purchasetransaction/receiveItemPost', '0.055298089981079', '2015-05-17 10:23:40'),
(4746, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000090'', ''GRN20150517[00000094]'', '' [ GRN20150517[00000094] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.050697088241577', '2015-05-17 10:23:40'),
(4747, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''95'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030448913574219', '2015-05-17 10:23:40'),
(4748, 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'', ''PO20150100000090'', 1, ''[4707]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000094]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033505916595459', '2015-05-17 10:23:40'),
(4749, 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, ''PO20150100000090'', ''[4707]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000097]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.025937080383301', '2015-05-17 10:23:40'),
(4750, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000090''', 'purchasetransaction/receiveItemPost', '0.041688919067383', '2015-05-17 10:23:40'),
(4751, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''197''', 'Gltransaction/journalPosting', '0.33270907402039', '2015-05-17 10:24:42'),
(4752, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000090''', 'Gltransaction/journalPosting', '0.068686962127686', '2015-05-17 10:24:42'),
(4753, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.097548007965088', '2015-05-17 10:24:42'),
(4754, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.047120094299316', '2015-05-17 10:24:42'),
(4755, 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'', ''7455'', ''PERODUA MYVI'', ''PM2M603S002117455'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.051437854766846', '2015-05-17 10:26:37'),
(4756, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107686'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11050415039062', '2015-05-17 10:28:00'),
(4757, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (97, ''2'', ''96'', ''1'', ''PM2M603S002117455'', ''1'', ''16'', ''46219.76'', ''46219.76'', ''15'', ''6'', ''2773.19'', ''48992.95'')', 'aptransaction/savePurchaseRow', '0.090505838394165', '2015-05-17 10:28:00'),
(4758, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2773.19'', `totalAmount` = ''48992.95'' WHERE `ID` =  97', 'aptransaction/savePurchaseRow', '0.030102968215942', '2015-05-17 10:28:00'),
(4759, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =97', 'aptransaction/savePurchaseRow', '0.059731006622314', '2015-05-17 10:28:00'),
(4760, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''97'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.043848991394043', '2015-05-17 10:28:26'),
(4761, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107686'', ''2'')', 'Aptransaction/invoicePosting', '0.068606853485107', '2015-05-17 10:28:26'),
(4762, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (98, ''97'', ''2'', ''96'', ''1'', -1, ''PM2M603S002117455'', ''1'', ''1'', ''1'', ''46219.76'', 46219.76)', 'Aptransaction/invoicePosting', '0.04629111289978', '2015-05-17 10:28:26'),
(4763, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 99 WHERE `ID` =  ''98''', 'Aptransaction/invoicePosting', '0.027756929397583', '2015-05-17 10:28:26'),
(4764, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 94 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.035470008850098', '2015-05-17 10:28:26'),
(4765, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000094'' WHERE `ID` =  ''97''', 'Aptransaction/invoicePosting', '0.02849292755127', '2015-05-17 10:28:26'),
(4766, 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'', ''AP20150100000094'', ''PI20150517[00000094]'', ''Purchase Invoice Confirm [ PI20150517[00000094] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 48992.95, 48992.95, ''2'')', 'Aptransaction/invoicePosting', '0.047507047653198', '2015-05-17 10:28:26'),
(4767, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000094'', 1, ''[7455]'', ''138'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000094]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.13281512260437', '2015-05-17 10:28:26'),
(4768, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000094'', ''[7455]'', ''38'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000094]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032320976257324', '2015-05-17 10:28:27'),
(4769, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000094'', ''[7455]'', ''34'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000094]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048511028289795', '2015-05-17 10:28:27'),
(4770, 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, ''AP20150100000094'', ''[7455]'', ''138'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000094]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03357982635498', '2015-05-17 10:28:27');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4771, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48992.95, `total_amount_cr` = 48992.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000094''', 'Aptransaction/invoicePosting', '0.041778087615967', '2015-05-17 10:28:27'),
(4772, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''198''', 'Gltransaction/journalPosting', '0.32919001579285', '2015-05-17 10:29:37'),
(4773, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000094''', 'Gltransaction/journalPosting', '0.037714004516602', '2015-05-17 10:29:37'),
(4774, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.082257986068726', '2015-05-17 10:29:37'),
(4775, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.069253921508789', '2015-05-17 10:29:37'),
(4776, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.047394037246704', '2015-05-17 10:29:37'),
(4777, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.05284309387207', '2015-05-17 10:29:37'),
(4778, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''98''', 'purchasetransaction/receiveItemPost', '0.035878896713257', '2015-05-17 10:30:09'),
(4779, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 91 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035468816757202', '2015-05-17 10:30:09'),
(4780, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000091'' WHERE `ID` =  ''98''', 'purchasetransaction/receiveItemPost', '0.027381896972656', '2015-05-17 10:30:09'),
(4781, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000091'', ''GRN20150517[00000095]'', '' [ GRN20150517[00000095] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.087646007537842', '2015-05-17 10:30:09'),
(4782, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''96'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030450820922852', '2015-05-17 10:30:09'),
(4783, 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'', ''PO20150100000091'', 1, ''[7455]PERODUA MYVI'', ''38'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000095]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062448978424072', '2015-05-17 10:30:09'),
(4784, 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, ''PO20150100000091'', ''[7455]PERODUA MYVI'', ''21'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''GRN20150517[00000098]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034480810165405', '2015-05-17 10:30:09'),
(4785, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46219.76, `total_amount_cr` = 46219.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000091''', 'purchasetransaction/receiveItemPost', '0.02637505531311', '2015-05-17 10:30:09'),
(4786, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''199''', 'Gltransaction/journalPosting', '0.35329413414001', '2015-05-17 10:31:02'),
(4787, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000091''', 'Gltransaction/journalPosting', '0.031976938247681', '2015-05-17 10:31:02'),
(4788, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.077714204788208', '2015-05-17 10:31:02'),
(4789, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.040690898895264', '2015-05-17 10:31:02'),
(4790, 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'', ''9734'', ''PERODUA MYVI'', ''PM2M603S002119734'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053258180618286', '2015-05-17 10:33:06'),
(4791, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107712'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10182785987854', '2015-05-17 10:34:34'),
(4792, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (98, ''2'', ''97'', ''1'', ''PM2M603S002119734'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.045825004577637', '2015-05-17 10:34:34'),
(4793, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  98', 'aptransaction/savePurchaseRow', '0.04606819152832', '2015-05-17 10:34:34'),
(4794, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =98', 'aptransaction/savePurchaseRow', '0.055099010467529', '2015-05-17 10:34:34'),
(4795, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''98'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.10535502433777', '2015-05-17 10:34:58'),
(4796, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107712'', ''2'')', 'Aptransaction/invoicePosting', '0.045142889022827', '2015-05-17 10:34:58'),
(4797, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (99, ''98'', ''2'', ''97'', ''1'', -1, ''PM2M603S002119734'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.035749912261963', '2015-05-17 10:34:58'),
(4798, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 100 WHERE `ID` =  ''99''', 'Aptransaction/invoicePosting', '0.049018144607544', '2015-05-17 10:34:58'),
(4799, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 95 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.15856313705444', '2015-05-17 10:34:58'),
(4800, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000095'' WHERE `ID` =  ''98''', 'Aptransaction/invoicePosting', '0.047441005706787', '2015-05-17 10:34:58'),
(4801, 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'', ''AP20150100000095'', ''PI20150517[00000095]'', ''Purchase Invoice Confirm [ PI20150517[00000095] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.038527011871338', '2015-05-17 10:34:58'),
(4802, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000095'', 1, ''[9734]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000095]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048036098480225', '2015-05-17 10:34:58'),
(4803, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000095'', ''[9734]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000095]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043587923049927', '2015-05-17 10:34:59'),
(4804, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000095'', ''[9734]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000095]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042566061019897', '2015-05-17 10:34:59'),
(4805, 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, ''AP20150100000095'', ''[9734]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000095]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043311834335327', '2015-05-17 10:34:59'),
(4806, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000095''', 'Aptransaction/invoicePosting', '0.058099031448364', '2015-05-17 10:34:59'),
(4807, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''200''', 'Gltransaction/journalPosting', '0.29041600227356', '2015-05-17 10:36:01'),
(4808, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000095''', 'Gltransaction/journalPosting', '0.068969011306763', '2015-05-17 10:36:01'),
(4809, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.06031608581543', '2015-05-17 10:36:01'),
(4810, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.05317497253418', '2015-05-17 10:36:01'),
(4811, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.074454069137573', '2015-05-17 10:36:01'),
(4812, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.064069032669067', '2015-05-17 10:36:02'),
(4813, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''99''', 'purchasetransaction/receiveItemPost', '0.035647869110107', '2015-05-17 10:36:32'),
(4814, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 92 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.037030935287476', '2015-05-17 10:36:32'),
(4815, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000092'' WHERE `ID` =  ''99''', 'purchasetransaction/receiveItemPost', '0.07600212097168', '2015-05-17 10:36:33'),
(4816, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000092'', ''GRN20150517[00000096]'', '' [ GRN20150517[00000096] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065850973129272', '2015-05-17 10:36:33'),
(4817, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''97'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.045398950576782', '2015-05-17 10:36:33'),
(4818, 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'', ''PO20150100000092'', 1, ''[9734]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000096]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035340070724487', '2015-05-17 10:36:33'),
(4819, 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, ''PO20150100000092'', ''[9734]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000099]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034921169281006', '2015-05-17 10:36:33'),
(4820, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000092''', 'purchasetransaction/receiveItemPost', '0.053239822387695', '2015-05-17 10:36:33'),
(4821, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''201''', 'Gltransaction/journalPosting', '0.10824179649353', '2015-05-17 10:37:08'),
(4822, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000092''', 'Gltransaction/journalPosting', '0.048804044723511', '2015-05-17 10:37:08'),
(4823, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057824850082397', '2015-05-17 10:37:08'),
(4824, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.046972036361694', '2015-05-17 10:37:08'),
(4825, 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'', ''9976'', ''PERODUA MYVI'', ''PM2M603S002119976'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046386957168579', '2015-05-17 10:38:59'),
(4826, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107716'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10837006568909', '2015-05-17 10:40:26'),
(4827, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (99, ''2'', ''98'', ''1'', ''PM2M603S002119976'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.047495126724243', '2015-05-17 10:40:26'),
(4828, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  99', 'aptransaction/savePurchaseRow', '0.035207986831665', '2015-05-17 10:40:26'),
(4829, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =99', 'aptransaction/savePurchaseRow', '0.028414964675903', '2015-05-17 10:40:26'),
(4830, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''99'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.027559995651245', '2015-05-17 10:40:46'),
(4831, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107716'', ''2'')', 'Aptransaction/invoicePosting', '0.072715044021606', '2015-05-17 10:40:46'),
(4832, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (100, ''99'', ''2'', ''98'', ''1'', -1, ''PM2M603S002119976'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.046825170516968', '2015-05-17 10:40:46'),
(4833, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 101 WHERE `ID` =  ''100''', 'Aptransaction/invoicePosting', '0.027131795883179', '2015-05-17 10:40:46'),
(4834, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 96 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.036358118057251', '2015-05-17 10:40:46'),
(4835, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000096'' WHERE `ID` =  ''99''', 'Aptransaction/invoicePosting', '0.054335117340088', '2015-05-17 10:40:46'),
(4836, 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'', ''AP20150100000096'', ''PI20150517[00000096]'', ''Purchase Invoice Confirm [ PI20150517[00000096] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.062731981277466', '2015-05-17 10:40:46'),
(4837, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000096'', 1, ''[9976]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000096]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.081223964691162', '2015-05-17 10:40:46'),
(4838, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000096'', ''[9976]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000096]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043820858001709', '2015-05-17 10:40:46'),
(4839, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000096'', ''[9976]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000096]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042186975479126', '2015-05-17 10:40:46'),
(4840, 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, ''AP20150100000096'', ''[9976]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000096]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043614149093628', '2015-05-17 10:40:46'),
(4841, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000096''', 'Aptransaction/invoicePosting', '0.036050081253052', '2015-05-17 10:40:46'),
(4842, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''202''', 'Gltransaction/journalPosting', '0.07179594039917', '2015-05-17 10:41:44'),
(4843, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000096''', 'Gltransaction/journalPosting', '0.036710023880005', '2015-05-17 10:41:44'),
(4844, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.060662031173706', '2015-05-17 10:41:44'),
(4845, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.041910171508789', '2015-05-17 10:41:44'),
(4846, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.062364101409912', '2015-05-17 10:41:44'),
(4847, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.061517000198364', '2015-05-17 10:41:44'),
(4848, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''100''', 'purchasetransaction/receiveItemPost', '0.11093020439148', '2015-05-17 10:42:15'),
(4849, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 93 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.055356025695801', '2015-05-17 10:42:15'),
(4850, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000093'' WHERE `ID` =  ''100''', 'purchasetransaction/receiveItemPost', '0.059163093566895', '2015-05-17 10:42:15'),
(4851, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000093'', ''GRN20150517[00000097]'', '' [ GRN20150517[00000097] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.0504469871521', '2015-05-17 10:42:15'),
(4852, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''98'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.042285919189453', '2015-05-17 10:42:15'),
(4853, 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'', ''PO20150100000093'', 1, ''[9976]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000097]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062397956848145', '2015-05-17 10:42:16'),
(4854, 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, ''PO20150100000093'', ''[9976]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000100]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.052304029464722', '2015-05-17 10:42:16'),
(4855, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000093''', 'purchasetransaction/receiveItemPost', '0.052828073501587', '2015-05-17 10:42:16'),
(4856, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''203''', 'Gltransaction/journalPosting', '0.074340105056763', '2015-05-17 10:43:21'),
(4857, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000093''', 'Gltransaction/journalPosting', '0.047420978546143', '2015-05-17 10:43:21'),
(4858, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.049431085586548', '2015-05-17 10:43:21'),
(4859, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.046929121017456', '2015-05-17 10:43:21'),
(4860, 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'', ''0594'', ''PERODUA MYVI'', ''PM2M603S002120594'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.068682909011841', '2015-05-17 10:44:43'),
(4861, 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'', ''PI20150517'', ''2015-04-09'', ''IN02107727'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.098963022232056', '2015-05-17 10:46:04'),
(4862, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (100, ''2'', ''99'', ''1'', ''PM2M603S002120594'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.06551194190979', '2015-05-17 10:46:04'),
(4863, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  100', 'aptransaction/savePurchaseRow', '0.03062891960144', '2015-05-17 10:46:04'),
(4864, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =100', 'aptransaction/savePurchaseRow', '0.061177968978882', '2015-05-17 10:46:04'),
(4865, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''100'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.028828859329224', '2015-05-17 10:46:22'),
(4866, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IN02107727'', ''2'')', 'Aptransaction/invoicePosting', '0.085788011550903', '2015-05-17 10:46:22'),
(4867, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (101, ''100'', ''2'', ''99'', ''1'', -1, ''PM2M603S002120594'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.047507047653198', '2015-05-17 10:46:23'),
(4868, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 102 WHERE `ID` =  ''101''', 'Aptransaction/invoicePosting', '0.037630081176758', '2015-05-17 10:46:23'),
(4869, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 97 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.036801099777222', '2015-05-17 10:46:23'),
(4870, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000097'' WHERE `ID` =  ''100''', 'Aptransaction/invoicePosting', '0.05988883972168', '2015-05-17 10:46:23'),
(4871, 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'', ''AP20150100000097'', ''PI20150517[00000097]'', ''Purchase Invoice Confirm [ PI20150517[00000097] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.052090883255005', '2015-05-17 10:46:23'),
(4872, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000097'', 1, ''[0594]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000097]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048172950744629', '2015-05-17 10:46:23'),
(4873, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000097'', ''[0594]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000097]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032509088516235', '2015-05-17 10:46:23'),
(4874, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000097'', ''[0594]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000097]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03120493888855', '2015-05-17 10:46:23'),
(4875, 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, ''AP20150100000097'', ''[0594]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000097]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043385982513428', '2015-05-17 10:46:23'),
(4876, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000097''', 'Aptransaction/invoicePosting', '0.063907146453857', '2015-05-17 10:46:23'),
(4877, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''204''', 'Gltransaction/journalPosting', '0.099903106689453', '2015-05-17 10:47:25'),
(4878, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000097''', 'Gltransaction/journalPosting', '0.059826850891113', '2015-05-17 10:47:25'),
(4879, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.050026893615723', '2015-05-17 10:47:25'),
(4880, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052587985992432', '2015-05-17 10:47:25'),
(4881, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.040841102600098', '2015-05-17 10:47:25'),
(4882, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052942037582397', '2015-05-17 10:47:26'),
(4883, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''101''', 'purchasetransaction/receiveItemPost', '0.037689924240112', '2015-05-17 10:47:56'),
(4884, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 94 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.036211967468262', '2015-05-17 10:47:56'),
(4885, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000094'' WHERE `ID` =  ''101''', 'purchasetransaction/receiveItemPost', '0.036850929260254', '2015-05-17 10:47:56'),
(4886, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000094'', ''GRN20150517[00000098]'', '' [ GRN20150517[00000098] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.0625159740448', '2015-05-17 10:47:56'),
(4887, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''99'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041101932525635', '2015-05-17 10:47:56'),
(4888, 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'', ''PO20150100000094'', 1, ''[0594]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000098]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.046549081802368', '2015-05-17 10:47:56'),
(4889, 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, ''PO20150100000094'', ''[0594]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000101]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034949064254761', '2015-05-17 10:47:56'),
(4890, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000094''', 'purchasetransaction/receiveItemPost', '0.063724994659424', '2015-05-17 10:47:56'),
(4891, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''205''', 'Gltransaction/journalPosting', '0.11311602592468', '2015-05-17 10:49:02'),
(4892, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000094''', 'Gltransaction/journalPosting', '0.037271976470947', '2015-05-17 10:49:03'),
(4893, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.058284997940063', '2015-05-17 10:49:03'),
(4894, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.047497987747192', '2015-05-17 10:49:03'),
(4895, 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'', ''1595'', ''PERODUA MYVI'', ''PM2M603S002121595'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.068168163299561', '2015-05-17 10:51:24'),
(4896, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107743'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14031219482422', '2015-05-17 10:52:57'),
(4897, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (101, ''2'', ''100'', ''1'', ''PM2M603S002121595'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.054482936859131', '2015-05-17 10:52:57');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4898, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  101', 'aptransaction/savePurchaseRow', '0.02561092376709', '2015-05-17 10:52:57'),
(4899, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =101', 'aptransaction/savePurchaseRow', '0.038290023803711', '2015-05-17 10:52:57'),
(4900, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''101'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.050037145614624', '2015-05-17 10:53:18'),
(4901, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107743'', ''2'')', 'Aptransaction/invoicePosting', '0.067397117614746', '2015-05-17 10:53:18'),
(4902, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (102, ''101'', ''2'', ''100'', ''1'', -1, ''PM2M603S002121595'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.053323984146118', '2015-05-17 10:53:18'),
(4903, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 103 WHERE `ID` =  ''102''', 'Aptransaction/invoicePosting', '0.037559032440186', '2015-05-17 10:53:18'),
(4904, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 98 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.025479078292847', '2015-05-17 10:53:18'),
(4905, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000098'' WHERE `ID` =  ''101''', 'Aptransaction/invoicePosting', '0.059741973876953', '2015-05-17 10:53:18'),
(4906, 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'', ''AP20150100000098'', ''PI20150517[00000098]'', ''Purchase Invoice Confirm [ PI20150517[00000098] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.03810715675354', '2015-05-17 10:53:18'),
(4907, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000098'', 1, ''[1595]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000098]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.090831995010376', '2015-05-17 10:53:18'),
(4908, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000098'', ''[1595]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000098]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031489133834839', '2015-05-17 10:53:18'),
(4909, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000098'', ''[1595]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000098]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043209075927734', '2015-05-17 10:53:18'),
(4910, 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, ''AP20150100000098'', ''[1595]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000098]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031643867492676', '2015-05-17 10:53:18'),
(4911, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000098''', 'Aptransaction/invoicePosting', '0.036886930465698', '2015-05-17 10:53:18'),
(4912, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''206''', 'Gltransaction/journalPosting', '0.067017793655396', '2015-05-17 10:54:19'),
(4913, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000098''', 'Gltransaction/journalPosting', '0.075577020645142', '2015-05-17 10:54:19'),
(4914, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.071511030197144', '2015-05-17 10:54:19'),
(4915, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.080306768417358', '2015-05-17 10:54:19'),
(4916, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.062997102737427', '2015-05-17 10:54:19'),
(4917, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.064348936080933', '2015-05-17 10:54:19'),
(4918, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''102''', 'purchasetransaction/receiveItemPost', '0.038087129592896', '2015-05-17 10:54:47'),
(4919, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 95 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.025259971618652', '2015-05-17 10:54:47'),
(4920, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000095'' WHERE `ID` =  ''102''', 'purchasetransaction/receiveItemPost', '0.059834003448486', '2015-05-17 10:54:47'),
(4921, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000095'', ''GRN20150517[00000099]'', '' [ GRN20150517[00000099] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053791999816895', '2015-05-17 10:54:47'),
(4922, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''100'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.035128116607666', '2015-05-17 10:54:47'),
(4923, 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'', ''PO20150100000095'', 1, ''[1595]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000099]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035086154937744', '2015-05-17 10:54:47'),
(4924, 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, ''PO20150100000095'', ''[1595]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000102]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.024157047271729', '2015-05-17 10:54:47'),
(4925, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000095''', 'purchasetransaction/receiveItemPost', '0.058919906616211', '2015-05-17 10:54:47'),
(4926, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''207''', 'Gltransaction/journalPosting', '0.30317902565002', '2015-05-17 10:56:08'),
(4927, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000095''', 'Gltransaction/journalPosting', '0.059087038040161', '2015-05-17 10:56:08'),
(4928, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.050594091415405', '2015-05-17 10:56:08'),
(4929, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.036611080169678', '2015-05-17 10:56:08'),
(4930, 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'', ''2092'', ''PERODUA MYVI'', ''PM2M603S002122092'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046883821487427', '2015-05-17 12:57:49'),
(4931, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107758'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10794901847839', '2015-05-17 12:59:14'),
(4932, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (102, ''2'', ''101'', ''1'', ''PM2M603S002122092'', ''1'', ''16'', ''46219.76'', ''46219.76'', ''15'', ''6'', ''2773.19'', ''48992.95'')', 'aptransaction/savePurchaseRow', '0.05512809753418', '2015-05-17 12:59:14'),
(4933, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2773.19'', `totalAmount` = ''48992.95'' WHERE `ID` =  102', 'aptransaction/savePurchaseRow', '0.05233097076416', '2015-05-17 12:59:14'),
(4934, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =102', 'aptransaction/savePurchaseRow', '0.055719137191772', '2015-05-17 12:59:14'),
(4935, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''102'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.049312114715576', '2015-05-17 12:59:31'),
(4936, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107758'', ''2'')', 'Aptransaction/invoicePosting', '0.06499195098877', '2015-05-17 12:59:31'),
(4937, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (103, ''102'', ''2'', ''101'', ''1'', -1, ''PM2M603S002122092'', ''1'', ''1'', ''1'', ''46219.76'', 46219.76)', 'Aptransaction/invoicePosting', '0.054280996322632', '2015-05-17 12:59:31'),
(4938, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 104 WHERE `ID` =  ''103''', 'Aptransaction/invoicePosting', '0.038887023925781', '2015-05-17 12:59:32'),
(4939, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 99 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.05460000038147', '2015-05-17 12:59:32'),
(4940, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000099'' WHERE `ID` =  ''102''', 'Aptransaction/invoicePosting', '0.055386066436768', '2015-05-17 12:59:32'),
(4941, 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'', ''AP20150100000099'', ''PI20150517[00000099]'', ''Purchase Invoice Confirm [ PI20150517[00000099] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 48992.95, 48992.95, ''2'')', 'Aptransaction/invoicePosting', '0.053506135940552', '2015-05-17 12:59:32'),
(4942, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000099'', 1, ''[2092]'', ''138'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000099]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04232120513916', '2015-05-17 12:59:32'),
(4943, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000099'', ''[2092]'', ''38'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000099]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036507129669189', '2015-05-17 12:59:32'),
(4944, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000099'', ''[2092]'', ''34'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000099]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026247024536133', '2015-05-17 12:59:32'),
(4945, 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, ''AP20150100000099'', ''[2092]'', ''138'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000099]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.080783843994141', '2015-05-17 12:59:32'),
(4946, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48992.95, `total_amount_cr` = 48992.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000099''', 'Aptransaction/invoicePosting', '0.03869891166687', '2015-05-17 12:59:32'),
(4947, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''208''', 'Gltransaction/journalPosting', '0.063064813613892', '2015-05-17 13:00:36'),
(4948, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000099''', 'Gltransaction/journalPosting', '0.088081836700439', '2015-05-17 13:00:36'),
(4949, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.032880783081055', '2015-05-17 13:00:36'),
(4950, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.035616874694824', '2015-05-17 13:00:36'),
(4951, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.026484966278076', '2015-05-17 13:00:36'),
(4952, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.035714149475098', '2015-05-17 13:00:36'),
(4953, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''103''', 'purchasetransaction/receiveItemPost', '0.041750907897949', '2015-05-17 13:01:00'),
(4954, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 96 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027013063430786', '2015-05-17 13:01:00'),
(4955, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000096'' WHERE `ID` =  ''103''', 'purchasetransaction/receiveItemPost', '0.048904895782471', '2015-05-17 13:01:00'),
(4956, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000096'', ''GRN20150517[00000100]'', '' [ GRN20150517[00000100] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.080127954483032', '2015-05-17 13:01:00'),
(4957, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''101'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043352127075195', '2015-05-17 13:01:00'),
(4958, 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'', ''PO20150100000096'', 1, ''[2092]PERODUA MYVI'', ''38'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000100]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.093719959259033', '2015-05-17 13:01:00'),
(4959, 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, ''PO20150100000096'', ''[2092]PERODUA MYVI'', ''21'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''GRN20150517[00000103]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059067964553833', '2015-05-17 13:01:00'),
(4960, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46219.76, `total_amount_cr` = 46219.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000096''', 'purchasetransaction/receiveItemPost', '0.076929807662964', '2015-05-17 13:01:00'),
(4961, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''209''', 'Gltransaction/journalPosting', '0.072616100311279', '2015-05-17 13:01:38'),
(4962, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000096''', 'Gltransaction/journalPosting', '0.028165102005005', '2015-05-17 13:01:38'),
(4963, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034286022186279', '2015-05-17 13:01:38'),
(4964, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.059695959091187', '2015-05-17 13:01:38'),
(4965, 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'', ''2324'', ''PERODUA MYVI'', ''PM2M603S002122324'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.066468000411987', '2015-05-17 13:03:22'),
(4966, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107765'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14214897155762', '2015-05-17 13:04:35'),
(4967, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (103, ''2'', ''102'', ''1'', ''PM2M603S002122324'', ''1'', ''16'', ''46219.76'', ''46219.76'', ''15'', ''6'', ''2773.19'', ''48992.95'')', 'aptransaction/savePurchaseRow', '0.083492994308472', '2015-05-17 13:04:35'),
(4968, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2773.19'', `totalAmount` = ''48992.95'' WHERE `ID` =  103', 'aptransaction/savePurchaseRow', '0.036263942718506', '2015-05-17 13:04:35'),
(4969, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =103', 'aptransaction/savePurchaseRow', '0.038038015365601', '2015-05-17 13:04:35'),
(4970, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''103'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.028862953186035', '2015-05-17 13:04:52'),
(4971, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107765'', ''2'')', 'Aptransaction/invoicePosting', '0.075166940689087', '2015-05-17 13:04:52'),
(4972, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (104, ''103'', ''2'', ''102'', ''1'', -1, ''PM2M603S002122324'', ''1'', ''1'', ''1'', ''46219.76'', 46219.76)', 'Aptransaction/invoicePosting', '0.11649799346924', '2015-05-17 13:04:52'),
(4973, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 105 WHERE `ID` =  ''104''', 'Aptransaction/invoicePosting', '0.037581920623779', '2015-05-17 13:04:52'),
(4974, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 100 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.027247905731201', '2015-05-17 13:04:52'),
(4975, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000100'' WHERE `ID` =  ''103''', 'Aptransaction/invoicePosting', '0.048592090606689', '2015-05-17 13:04:52'),
(4976, 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'', ''AP20150100000100'', ''PI20150517[00000100]'', ''Purchase Invoice Confirm [ PI20150517[00000100] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 48992.95, 48992.95, ''2'')', 'Aptransaction/invoicePosting', '0.07643985748291', '2015-05-17 13:04:53'),
(4977, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000100'', 1, ''[2324]'', ''138'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000100]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07565712928772', '2015-05-17 13:04:53'),
(4978, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000100'', ''[2324]'', ''38'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000100]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036566019058228', '2015-05-17 13:04:53'),
(4979, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000100'', ''[2324]'', ''34'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000100]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026135921478271', '2015-05-17 13:04:53'),
(4980, 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, ''AP20150100000100'', ''[2324]'', ''138'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150517[00000100]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036669969558716', '2015-05-17 13:04:53'),
(4981, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48992.95, `total_amount_cr` = 48992.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000100''', 'Aptransaction/invoicePosting', '0.027326107025146', '2015-05-17 13:04:53'),
(4982, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''210''', 'Gltransaction/journalPosting', '0.089677810668945', '2015-05-17 13:05:49'),
(4983, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000100''', 'Gltransaction/journalPosting', '0.050581932067871', '2015-05-17 13:05:50'),
(4984, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.059653997421265', '2015-05-17 13:05:50'),
(4985, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.048869848251343', '2015-05-17 13:05:50'),
(4986, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.057411193847656', '2015-05-17 13:05:50'),
(4987, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.048925161361694', '2015-05-17 13:05:50'),
(4988, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''104''', 'purchasetransaction/receiveItemPost', '0.085075855255127', '2015-05-17 13:06:14'),
(4989, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 97 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.036257982254028', '2015-05-17 13:06:14'),
(4990, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000097'' WHERE `ID` =  ''104''', 'purchasetransaction/receiveItemPost', '0.091541051864624', '2015-05-17 13:06:14'),
(4991, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000097'', ''GRN20150517[00000101]'', '' [ GRN20150517[00000101] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070851802825928', '2015-05-17 13:06:14'),
(4992, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''102'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.066639184951782', '2015-05-17 13:06:14'),
(4993, 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'', ''PO20150100000097'', 1, ''[2324]PERODUA MYVI'', ''38'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000101]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054013967514038', '2015-05-17 13:06:14'),
(4994, 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, ''PO20150100000097'', ''[2324]PERODUA MYVI'', ''21'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''GRN20150517[00000104]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03918194770813', '2015-05-17 13:06:14'),
(4995, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46219.76, `total_amount_cr` = 46219.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000097''', 'purchasetransaction/receiveItemPost', '0.08119797706604', '2015-05-17 13:06:14'),
(4996, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''211''', 'Gltransaction/journalPosting', '0.080142974853516', '2015-05-17 13:07:19'),
(4997, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000097''', 'Gltransaction/journalPosting', '0.072841882705688', '2015-05-17 13:07:19'),
(4998, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.044431924819946', '2015-05-17 13:07:19'),
(4999, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.03572678565979', '2015-05-17 13:07:19'),
(5000, 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'', ''2485'', ''PERODUA MYVI'', ''PM2M603S002122485'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.061291933059692', '2015-05-17 13:10:56'),
(5001, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107769'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.099227905273438', '2015-05-17 13:13:49'),
(5002, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (104, ''2'', ''103'', ''1'', ''PM2M603S002122485'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.054383993148804', '2015-05-17 13:13:49'),
(5003, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  104', 'aptransaction/savePurchaseRow', '0.062081813812256', '2015-05-17 13:13:49'),
(5004, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =104', 'aptransaction/savePurchaseRow', '0.065063953399658', '2015-05-17 13:13:49'),
(5005, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''104'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.064716100692749', '2015-05-17 13:14:07'),
(5006, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107769'', ''2'')', 'Aptransaction/invoicePosting', '0.049053192138672', '2015-05-17 13:14:07'),
(5007, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (105, ''104'', ''2'', ''103'', ''1'', -1, ''PM2M603S002122485'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.054322957992554', '2015-05-17 13:14:07'),
(5008, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 106 WHERE `ID` =  ''105''', 'Aptransaction/invoicePosting', '0.072831153869629', '2015-05-17 13:14:07'),
(5009, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 101 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039072036743164', '2015-05-17 13:14:08'),
(5010, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000101'' WHERE `ID` =  ''104''', 'Aptransaction/invoicePosting', '0.037642002105713', '2015-05-17 13:14:08'),
(5011, 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'', ''AP20150100000101'', ''PI20150517[00000101]'', ''Purchase Invoice Confirm [ PI20150517[00000101] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.058044910430908', '2015-05-17 13:14:08'),
(5012, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000101'', 1, ''[2485]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000101]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037983894348145', '2015-05-17 13:14:08'),
(5013, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000101'', ''[2485]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000101]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035722970962524', '2015-05-17 13:14:08'),
(5014, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000101'', ''[2485]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000101]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026992082595825', '2015-05-17 13:14:08'),
(5015, 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, ''AP20150100000101'', ''[2485]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000101]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035733222961426', '2015-05-17 13:14:08'),
(5016, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49365.39, `total_amount_cr` = 49365.39, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000101''', 'Aptransaction/invoicePosting', '0.044261932373047', '2015-05-17 13:14:08'),
(5017, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''212''', 'Gltransaction/journalPosting', '0.051067113876343', '2015-05-17 13:15:04'),
(5018, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000101''', 'Gltransaction/journalPosting', '0.088061094284058', '2015-05-17 13:15:04'),
(5019, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.055726051330566', '2015-05-17 13:15:04'),
(5020, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034810066223145', '2015-05-17 13:15:04'),
(5021, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.027024030685425', '2015-05-17 13:15:04'),
(5022, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.03485894203186', '2015-05-17 13:15:04'),
(5023, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''105''', 'purchasetransaction/receiveItemPost', '0.026762008666992', '2015-05-17 13:15:42'),
(5024, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 98 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028214931488037', '2015-05-17 13:15:42'),
(5025, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000098'' WHERE `ID` =  ''105''', 'purchasetransaction/receiveItemPost', '0.037124872207642', '2015-05-17 13:15:42'),
(5026, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000098'', ''GRN20150517[00000102]'', '' [ GRN20150517[00000102] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05429482460022', '2015-05-17 13:15:42');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5027, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''103'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.028999090194702', '2015-05-17 13:15:42'),
(5028, 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'', ''PO20150100000098'', 1, ''[2485]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000102]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058349132537842', '2015-05-17 13:15:42'),
(5029, 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, ''PO20150100000098'', ''[2485]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000105]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07269811630249', '2015-05-17 13:15:42'),
(5030, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46571.12, `total_amount_cr` = 46571.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000098''', 'purchasetransaction/receiveItemPost', '0.12514185905457', '2015-05-17 13:15:42'),
(5031, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''213''', 'Gltransaction/journalPosting', '0.090086936950684', '2015-05-17 13:16:33'),
(5032, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000098''', 'Gltransaction/journalPosting', '0.043256044387817', '2015-05-17 13:16:33'),
(5033, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052540063858032', '2015-05-17 13:16:33'),
(5034, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.048965930938721', '2015-05-17 13:16:33'),
(5035, 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'', ''1022'', ''PERODUA MYVI'', ''PM2M603S002121022'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.04755711555481', '2015-05-17 13:17:54'),
(5036, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107735'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11250400543213', '2015-05-17 13:19:07'),
(5037, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (105, ''2'', ''104'', ''1'', ''PM2M603S002121022'', ''1'', ''16'', ''43818.93'', ''43818.93'', ''15'', ''6'', ''2629.14'', ''46448.07'')', 'aptransaction/savePurchaseRow', '0.053826808929443', '2015-05-17 13:19:07'),
(5038, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2629.14'', `totalAmount` = ''46448.07'' WHERE `ID` =  105', 'aptransaction/savePurchaseRow', '0.025470018386841', '2015-05-17 13:19:07'),
(5039, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =105', 'aptransaction/savePurchaseRow', '0.036735057830811', '2015-05-17 13:19:07'),
(5040, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''105'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.028496980667114', '2015-05-17 13:19:23'),
(5041, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107735'', ''2'')', 'Aptransaction/invoicePosting', '0.05828595161438', '2015-05-17 13:19:23'),
(5042, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (106, ''105'', ''2'', ''104'', ''1'', -1, ''PM2M603S002121022'', ''1'', ''1'', ''1'', ''43818.93'', 43818.93)', 'Aptransaction/invoicePosting', '0.058808088302612', '2015-05-17 13:19:23'),
(5043, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 107 WHERE `ID` =  ''106''', 'Aptransaction/invoicePosting', '0.028817176818848', '2015-05-17 13:19:23'),
(5044, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 102 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028425931930542', '2015-05-17 13:19:23'),
(5045, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000102'' WHERE `ID` =  ''105''', 'Aptransaction/invoicePosting', '0.037375926971436', '2015-05-17 13:19:23'),
(5046, 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'', ''AP20150100000102'', ''PI20150517[00000102]'', ''Purchase Invoice Confirm [ PI20150517[00000102] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 46448.07, 46448.07, ''2'')', 'Aptransaction/invoicePosting', '0.058473825454712', '2015-05-17 13:19:23'),
(5047, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000102'', 1, ''[1022]'', ''138'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000102]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.071582078933716', '2015-05-17 13:19:23'),
(5048, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000102'', ''[1022]'', ''38'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000102]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053493022918701', '2015-05-17 13:19:23'),
(5049, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000102'', ''[1022]'', ''34'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000102]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035942077636719', '2015-05-17 13:19:23'),
(5050, 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, ''AP20150100000102'', ''[1022]'', ''138'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000102]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02675986289978', '2015-05-17 13:19:23'),
(5051, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46448.07, `total_amount_cr` = 46448.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000102''', 'Aptransaction/invoicePosting', '0.03724217414856', '2015-05-17 13:19:23'),
(5052, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''214''', 'Gltransaction/journalPosting', '0.063078165054321', '2015-05-17 13:20:20'),
(5053, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000102''', 'Gltransaction/journalPosting', '0.062397003173828', '2015-05-17 13:20:20'),
(5054, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.070569038391113', '2015-05-17 13:20:20'),
(5055, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.03856086730957', '2015-05-17 13:20:20'),
(5056, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045641899108887', '2015-05-17 13:20:20'),
(5057, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.027467012405396', '2015-05-17 13:20:20'),
(5058, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''106''', 'purchasetransaction/receiveItemPost', '0.059685945510864', '2015-05-17 13:20:59'),
(5059, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 99 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051043033599854', '2015-05-17 13:20:59'),
(5060, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000099'' WHERE `ID` =  ''106''', 'purchasetransaction/receiveItemPost', '0.044367074966431', '2015-05-17 13:20:59'),
(5061, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000099'', ''GRN20150517[00000103]'', '' [ GRN20150517[00000103] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058033227920532', '2015-05-17 13:20:59'),
(5062, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''104'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043810129165649', '2015-05-17 13:20:59'),
(5063, 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'', ''PO20150100000099'', 1, ''[1022]PERODUA MYVI'', ''38'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''GRN20150517[00000103]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.039350032806396', '2015-05-17 13:20:59'),
(5064, 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, ''PO20150100000099'', ''[1022]PERODUA MYVI'', ''21'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''GRN20150517[00000106]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.0363450050354', '2015-05-17 13:20:59'),
(5065, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43818.93, `total_amount_cr` = 43818.93, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000099''', 'purchasetransaction/receiveItemPost', '0.028584003448486', '2015-05-17 13:20:59'),
(5066, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''215''', 'Gltransaction/journalPosting', '0.10898518562317', '2015-05-17 13:21:58'),
(5067, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000099''', 'Gltransaction/journalPosting', '0.10027718544006', '2015-05-17 13:21:58'),
(5068, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.03402304649353', '2015-05-17 13:21:58'),
(5069, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034331083297729', '2015-05-17 13:21:58'),
(5070, 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'', ''2531'', ''PERODUA ALZA'', ''PM2M502G002232531'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.040877103805542', '2015-05-17 13:24:28'),
(5071, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107061'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10781717300415', '2015-05-17 13:27:03'),
(5072, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (106, ''2'', ''105'', ''1'', ''PM2M502G002232531'', ''1'', ''16'', ''52338.76'', ''52338.76'', ''15'', ''6'', ''3140.33'', ''55479.09'')', 'aptransaction/savePurchaseRow', '0.053953886032104', '2015-05-17 13:27:03'),
(5073, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  106', 'aptransaction/savePurchaseRow', '0.03889799118042', '2015-05-17 13:27:03'),
(5074, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =106', 'aptransaction/savePurchaseRow', '0.029236078262329', '2015-05-17 13:27:03'),
(5075, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''106'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.087450981140137', '2015-05-17 13:27:19'),
(5076, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107061'', ''2'')', 'Aptransaction/invoicePosting', '0.070148944854736', '2015-05-17 13:27:19'),
(5077, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (107, ''106'', ''2'', ''105'', ''1'', -1, ''PM2M502G002232531'', ''1'', ''1'', ''1'', ''52338.76'', 52338.76)', 'Aptransaction/invoicePosting', '0.044229030609131', '2015-05-17 13:27:19'),
(5078, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 108 WHERE `ID` =  ''107''', 'Aptransaction/invoicePosting', '0.054475069046021', '2015-05-17 13:27:19'),
(5079, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 103 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.043396949768066', '2015-05-17 13:27:19'),
(5080, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000103'' WHERE `ID` =  ''106''', 'Aptransaction/invoicePosting', '0.054445028305054', '2015-05-17 13:27:19'),
(5081, 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'', ''AP20150100000103'', ''PI20150517[00000103]'', ''Purchase Invoice Confirm [ PI20150517[00000103] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/invoicePosting', '0.070433139801025', '2015-05-17 13:27:19'),
(5082, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000103'', 1, ''[2531]'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000103]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038142919540405', '2015-05-17 13:27:19'),
(5083, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000103'', ''[2531]'', ''38'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000103]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03550386428833', '2015-05-17 13:27:19'),
(5084, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000103'', ''[2531]'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000103]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027148008346558', '2015-05-17 13:27:19'),
(5085, 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, ''AP20150100000103'', ''[2531]'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000103]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035587072372437', '2015-05-17 13:27:19'),
(5086, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 55479.09, `total_amount_cr` = 55479.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000103''', 'Aptransaction/invoicePosting', '0.028481006622314', '2015-05-17 13:27:19'),
(5087, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''216''', 'Gltransaction/journalPosting', '0.31907796859741', '2015-05-17 13:30:00'),
(5088, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000103''', 'Gltransaction/journalPosting', '0.073765993118286', '2015-05-17 13:30:00'),
(5089, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.056375980377197', '2015-05-17 13:30:00'),
(5090, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034723997116089', '2015-05-17 13:30:00'),
(5091, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.027181148529053', '2015-05-17 13:30:00'),
(5092, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034770011901855', '2015-05-17 13:30:00'),
(5093, 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'', ''9259'', ''PERODUA ALZA'', ''PM2M502G002239259'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050899982452393', '2015-05-17 13:32:17'),
(5094, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107119'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12496280670166', '2015-05-17 13:34:04'),
(5095, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (107, ''2'', ''106'', ''1'', ''PM2M502G002239259'', ''1'', ''16'', ''52338.76'', ''52338.76'', ''15'', ''6'', ''3140.33'', ''55479.09'')', 'aptransaction/savePurchaseRow', '0.057785987854004', '2015-05-17 13:34:04'),
(5096, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  107', 'aptransaction/savePurchaseRow', '0.06190299987793', '2015-05-17 13:34:04'),
(5097, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =107', 'aptransaction/savePurchaseRow', '0.029431104660034', '2015-05-17 13:34:04'),
(5098, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''107'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.064810991287231', '2015-05-17 13:34:37'),
(5099, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107119'', ''2'')', 'Aptransaction/invoicePosting', '0.069710969924927', '2015-05-17 13:34:37'),
(5100, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (108, ''107'', ''2'', ''106'', ''1'', -1, ''PM2M502G002239259'', ''1'', ''1'', ''1'', ''52338.76'', 52338.76)', 'Aptransaction/invoicePosting', '0.044170141220093', '2015-05-17 13:34:37'),
(5101, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 109 WHERE `ID` =  ''108''', 'Aptransaction/invoicePosting', '0.029146909713745', '2015-05-17 13:34:37'),
(5102, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 104 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029150009155273', '2015-05-17 13:34:37'),
(5103, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000104'' WHERE `ID` =  ''107''', 'Aptransaction/invoicePosting', '0.047114849090576', '2015-05-17 13:34:37'),
(5104, 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'', ''AP20150100000104'', ''PI20150517[00000104]'', ''Purchase Invoice Confirm [ PI20150517[00000104] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/invoicePosting', '0.077406883239746', '2015-05-17 13:34:37'),
(5105, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000104'', 1, ''[9259]'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000104]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04229211807251', '2015-05-17 13:34:37'),
(5106, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000104'', ''[9259]'', ''38'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000104]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034502983093262', '2015-05-17 13:34:37'),
(5107, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000104'', ''[9259]'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000104]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028146982192993', '2015-05-17 13:34:37'),
(5108, 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, ''AP20150100000104'', ''[9259]'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000104]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034574031829834', '2015-05-17 13:34:37'),
(5109, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 55479.09, `total_amount_cr` = 55479.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000104''', 'Aptransaction/invoicePosting', '0.066425800323486', '2015-05-17 13:34:37'),
(5110, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''217''', 'Gltransaction/journalPosting', '0.052900791168213', '2015-05-17 13:36:22'),
(5111, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000104''', 'Gltransaction/journalPosting', '0.055395126342773', '2015-05-17 13:36:22'),
(5112, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.073405981063843', '2015-05-17 13:36:22'),
(5113, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.13888096809387', '2015-05-17 13:36:22'),
(5114, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.10069108009338', '2015-05-17 13:36:22'),
(5115, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.097327947616577', '2015-05-17 13:36:22'),
(5116, 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'', ''0218'', ''PERODUA ALZA'', ''PM2M502G002240218'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.04747200012207', '2015-05-17 13:37:55'),
(5117, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107157'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11832904815674', '2015-05-17 13:39:21'),
(5118, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (108, ''2'', ''107'', ''1'', ''PM2M502G002240218'', ''1'', ''16'', ''57265.78'', ''57265.78'', ''15'', ''6'', ''3435.95'', ''60701.73'')', 'aptransaction/savePurchaseRow', '0.051996946334839', '2015-05-17 13:39:21'),
(5119, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  108', 'aptransaction/savePurchaseRow', '0.060297012329102', '2015-05-17 13:39:21'),
(5120, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =108', 'aptransaction/savePurchaseRow', '0.030261039733887', '2015-05-17 13:39:21'),
(5121, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''108'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.073890209197998', '2015-05-17 13:39:39'),
(5122, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107157'', ''2'')', 'Aptransaction/invoicePosting', '0.095782041549683', '2015-05-17 13:39:39'),
(5123, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (109, ''108'', ''2'', ''107'', ''1'', -1, ''PM2M502G002240218'', ''1'', ''1'', ''1'', ''57265.78'', 57265.78)', 'Aptransaction/invoicePosting', '0.043169975280762', '2015-05-17 13:39:39'),
(5124, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 110 WHERE `ID` =  ''109''', 'Aptransaction/invoicePosting', '0.030173063278198', '2015-05-17 13:39:39'),
(5125, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 105 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029392004013062', '2015-05-17 13:39:39'),
(5126, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000105'' WHERE `ID` =  ''108''', 'Aptransaction/invoicePosting', '0.058155059814453', '2015-05-17 13:39:39'),
(5127, 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'', ''AP20150100000105'', ''PI20150517[00000105]'', ''Purchase Invoice Confirm [ PI20150517[00000105] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/invoicePosting', '0.047137975692749', '2015-05-17 13:39:39'),
(5128, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000105'', 1, ''[0218]'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000105]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064975023269653', '2015-05-17 13:39:39'),
(5129, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000105'', ''[0218]'', ''38'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000105]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028187990188599', '2015-05-17 13:39:39'),
(5130, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000105'', ''[0218]'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000105]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034554004669189', '2015-05-17 13:39:39'),
(5131, 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, ''AP20150100000105'', ''[0218]'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000105]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028198003768921', '2015-05-17 13:39:40'),
(5132, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60701.73, `total_amount_cr` = 60701.73, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000105''', 'Aptransaction/invoicePosting', '0.067918062210083', '2015-05-17 13:39:40'),
(5133, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''218''', 'Gltransaction/journalPosting', '0.085200071334839', '2015-05-17 13:40:30'),
(5134, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000105''', 'Gltransaction/journalPosting', '0.044291973114014', '2015-05-17 13:40:30'),
(5135, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.070114135742188', '2015-05-17 13:40:30'),
(5136, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.053601026535034', '2015-05-17 13:40:30'),
(5137, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052566051483154', '2015-05-17 13:40:30'),
(5138, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.028467178344727', '2015-05-17 13:40:31'),
(5139, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''109''', 'purchasetransaction/receiveItemPost', '0.041400909423828', '2015-05-17 13:41:11'),
(5140, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 100 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.042520046234131', '2015-05-17 13:41:11'),
(5141, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000100'' WHERE `ID` =  ''109''', 'purchasetransaction/receiveItemPost', '0.041363000869751', '2015-05-17 13:41:11'),
(5142, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000100'', ''GRN20150517[00000106]'', '' [ GRN20150517[00000106] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.072287082672119', '2015-05-17 13:41:11'),
(5143, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''107'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043731212615967', '2015-05-17 13:41:11'),
(5144, 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'', ''PO20150100000100'', 1, ''[0218]PERODUA ALZA'', ''38'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''GRN20150517[00000106]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06511402130127', '2015-05-17 13:41:11'),
(5145, 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, ''PO20150100000100'', ''[0218]PERODUA ALZA'', ''21'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''GRN20150517[00000109]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029886960983276', '2015-05-17 13:41:11'),
(5146, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 57265.78, `total_amount_cr` = 57265.78, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000100''', 'purchasetransaction/receiveItemPost', '0.035122871398926', '2015-05-17 13:41:11'),
(5147, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''219''', 'Gltransaction/journalPosting', '0.072370052337646', '2015-05-17 13:42:03'),
(5148, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000100''', 'Gltransaction/journalPosting', '0.068810939788818', '2015-05-17 13:42:03'),
(5149, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.045624971389771', '2015-05-17 13:42:03'),
(5150, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.033877849578857', '2015-05-17 13:42:03'),
(5151, 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'', ''1617'', ''PERODUA MYVI'', ''PM2M602S002211617'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052659034729004', '2015-05-17 13:44:06');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5152, 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'', ''PI20150517'', ''2015-04-09'', ''IN02107355'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.059836149215698', '2015-05-17 13:45:17'),
(5153, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (109, ''2'', ''108'', ''1'', ''PM2M602S002211617'', ''1'', ''16'', ''40989.62'', ''40989.62'', ''15'', ''6'', ''2459.38'', ''43449'')', 'aptransaction/savePurchaseRow', '0.084689140319824', '2015-05-17 13:45:17'),
(5154, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2459.38'', `totalAmount` = ''43449'' WHERE `ID` =  109', 'aptransaction/savePurchaseRow', '0.049560070037842', '2015-05-17 13:45:17'),
(5155, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =109', 'aptransaction/savePurchaseRow', '0.052231073379517', '2015-05-17 13:45:18'),
(5156, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''109'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.043532848358154', '2015-05-17 13:45:33'),
(5157, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IN02107355'', ''2'')', 'Aptransaction/invoicePosting', '0.1013331413269', '2015-05-17 13:45:33'),
(5158, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (110, ''109'', ''2'', ''108'', ''1'', -1, ''PM2M602S002211617'', ''1'', ''1'', ''1'', ''40989.62'', 40989.62)', 'Aptransaction/invoicePosting', '0.057085990905762', '2015-05-17 13:45:33'),
(5159, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 111 WHERE `ID` =  ''110''', 'Aptransaction/invoicePosting', '0.030534982681274', '2015-05-17 13:45:33'),
(5160, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 106 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029940843582153', '2015-05-17 13:45:33'),
(5161, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000106'' WHERE `ID` =  ''109''', 'Aptransaction/invoicePosting', '0.035578012466431', '2015-05-17 13:45:33'),
(5162, 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'', ''AP20150100000106'', ''PI20150517[00000106]'', ''Purchase Invoice Confirm [ PI20150517[00000106] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 43449, 43449, ''2'')', 'Aptransaction/invoicePosting', '0.047147989273071', '2015-05-17 13:45:33'),
(5163, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000106'', 1, ''[1617]'', ''138'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150517[00000106]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.062160015106201', '2015-05-17 13:45:33'),
(5164, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000106'', ''[1617]'', ''38'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150517[00000106]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033486843109131', '2015-05-17 13:45:33'),
(5165, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000106'', ''[1617]'', ''34'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150517[00000106]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.051079034805298', '2015-05-17 13:45:33'),
(5166, 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, ''AP20150100000106'', ''[1617]'', ''138'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150517[00000106]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03346586227417', '2015-05-17 13:45:34'),
(5167, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43449, `total_amount_cr` = 43449, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000106''', 'Aptransaction/invoicePosting', '0.030350923538208', '2015-05-17 13:45:34'),
(5168, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''220''', 'Gltransaction/journalPosting', '0.078227043151855', '2015-05-17 13:47:18'),
(5169, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000106''', 'Gltransaction/journalPosting', '0.030577898025513', '2015-05-17 13:47:18'),
(5170, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.04648494720459', '2015-05-17 13:47:18'),
(5171, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.077927112579346', '2015-05-17 13:47:18'),
(5172, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052654981613159', '2015-05-17 13:47:18'),
(5173, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.028741836547852', '2015-05-17 13:47:18'),
(5174, 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'', ''2335'', ''PERODUA MYVI'', ''PM2M602S002222335'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.061382055282593', '2015-05-17 13:48:32'),
(5175, 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'', ''PI20150517'', ''2015-04-09'', ''IV02107388'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.084151983261108', '2015-05-17 13:49:54'),
(5176, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (110, ''2'', ''109'', ''1'', ''PM2M602S002222335'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.030524015426636', '2015-05-17 13:49:54'),
(5177, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  110', 'aptransaction/savePurchaseRow', '0.06560492515564', '2015-05-17 13:49:54'),
(5178, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =110', 'aptransaction/savePurchaseRow', '0.033582925796509', '2015-05-17 13:49:54'),
(5179, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''110'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.092766046524048', '2015-05-17 13:50:10'),
(5180, 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'', ''GRN20150517'', ''2015-04-09'', ''0'', ''IV02107388'', ''2'')', 'Aptransaction/invoicePosting', '0.048485040664673', '2015-05-17 13:50:10'),
(5181, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (111, ''110'', ''2'', ''109'', ''1'', -1, ''PM2M602S002222335'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.029680013656616', '2015-05-17 13:50:10'),
(5182, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 112 WHERE `ID` =  ''111''', 'Aptransaction/invoicePosting', '0.0468430519104', '2015-05-17 13:50:10'),
(5183, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 107 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.043971061706543', '2015-05-17 13:50:10'),
(5184, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000107'' WHERE `ID` =  ''110''', 'Aptransaction/invoicePosting', '0.051461935043335', '2015-05-17 13:50:10'),
(5185, 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'', ''AP20150100000107'', ''PI20150517[00000107]'', ''Purchase Invoice Confirm [ PI20150517[00000107] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.047924041748047', '2015-05-17 13:50:10'),
(5186, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000107'', 1, ''[2335]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000107]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052853107452393', '2015-05-17 13:50:10'),
(5187, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000107'', ''[2335]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000107]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053890943527222', '2015-05-17 13:50:10'),
(5188, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000107'', ''[2335]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000107]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052834033966064', '2015-05-17 13:50:10'),
(5189, 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, ''AP20150100000107'', ''[2335]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000107]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.10887718200684', '2015-05-17 13:50:10'),
(5190, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000107''', 'Aptransaction/invoicePosting', '0.23288893699646', '2015-05-17 13:50:10'),
(5191, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''221''', 'Gltransaction/journalPosting', '0.31117796897888', '2015-05-17 13:51:27'),
(5192, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000107''', 'Gltransaction/journalPosting', '0.07649302482605', '2015-05-17 13:51:27'),
(5193, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.034855127334595', '2015-05-17 13:51:27'),
(5194, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.032970905303955', '2015-05-17 13:51:27'),
(5195, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.052444934844971', '2015-05-17 13:51:27'),
(5196, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.042804956436157', '2015-05-17 13:51:27'),
(5197, 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'', ''7543'', ''PERODUA AXIA'', ''PM2B200S003057543'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.044021129608154', '2015-05-17 15:04:51'),
(5198, 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'', ''PI20150517'', ''2015-04-10'', ''IV02108017'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.086342096328735', '2015-05-17 15:06:34'),
(5199, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (111, ''2'', ''110'', ''1'', ''PM2B200S003057543'', ''1'', ''16'', ''25730.15'', ''25730.15'', ''15'', ''6'', ''1543.81'', ''27273.96'')', 'aptransaction/savePurchaseRow', '0.045905113220215', '2015-05-17 15:06:34'),
(5200, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1543.81'', `totalAmount` = ''27273.96'' WHERE `ID` =  111', 'aptransaction/savePurchaseRow', '0.02566385269165', '2015-05-17 15:06:34'),
(5201, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =111', 'aptransaction/savePurchaseRow', '0.035604953765869', '2015-05-17 15:06:34'),
(5202, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''111'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.059387922286987', '2015-05-17 15:06:58'),
(5203, 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'', ''GRN20150517'', ''2015-04-10'', ''0'', ''IV02108017'', ''2'')', 'Aptransaction/invoicePosting', '0.081632137298584', '2015-05-17 15:06:58'),
(5204, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (112, ''111'', ''2'', ''110'', ''1'', -1, ''PM2B200S003057543'', ''1'', ''1'', ''1'', ''25730.15'', 25730.15)', 'Aptransaction/invoicePosting', '0.04318904876709', '2015-05-17 15:06:58'),
(5205, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 113 WHERE `ID` =  ''112''', 'Aptransaction/invoicePosting', '0.055564880371094', '2015-05-17 15:06:58'),
(5206, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 108 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.31833291053772', '2015-05-17 15:06:58'),
(5207, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000108'' WHERE `ID` =  ''111''', 'Aptransaction/invoicePosting', '0.075370073318481', '2015-05-17 15:06:58'),
(5208, 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'', ''AP20150100000108'', ''PI20150517[00000108]'', ''Purchase Invoice Confirm [ PI20150517[00000108] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 27273.96, 27273.96, ''2'')', 'Aptransaction/invoicePosting', '0.072652101516724', '2015-05-17 15:06:58'),
(5209, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000108'', 1, ''[7543]'', ''138'', ''PERODUA SALES SDN BHD'', 25730.15, ''1'', ''1'', ''25730.15'', ''1'', ''2015'', ''1'', ''PI20150517[00000108]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.068931102752686', '2015-05-17 15:06:58'),
(5210, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000108'', ''[7543]'', ''38'', ''PERODUA SALES SDN BHD'', 25730.15, ''1'', ''1'', ''25730.15'', ''1'', ''2015'', ''1'', ''PI20150517[00000108]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052824020385742', '2015-05-17 15:06:58'),
(5211, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000108'', ''[7543]'', ''34'', ''PERODUA SALES SDN BHD'', 1543.81, ''1'', ''1'', ''1543.81'', ''1'', ''2015'', ''1'', ''PI20150517[00000108]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042938947677612', '2015-05-17 15:06:58'),
(5212, 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, ''AP20150100000108'', ''[7543]'', ''138'', ''PERODUA SALES SDN BHD'', 1543.81, ''1'', ''1'', ''1543.81'', ''1'', ''2015'', ''1'', ''PI20150517[00000108]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041721820831299', '2015-05-17 15:06:58'),
(5213, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 27273.96, `total_amount_cr` = 27273.96, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000108''', 'Aptransaction/invoicePosting', '0.044245958328247', '2015-05-17 15:06:58'),
(5214, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''222''', 'Gltransaction/journalPosting', '0.091069936752319', '2015-05-17 15:10:06'),
(5215, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000108''', 'Gltransaction/journalPosting', '0.066404104232788', '2015-05-17 15:10:06'),
(5216, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.038600206375122', '2015-05-17 15:10:06'),
(5217, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.040333986282349', '2015-05-17 15:10:06'),
(5218, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.054672002792358', '2015-05-17 15:10:06'),
(5219, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.042458057403564', '2015-05-17 15:10:06'),
(5220, 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'', ''3990'', ''PERODUA MYVI'', ''PM2M603S002123990'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046385049819946', '2015-05-17 15:13:32'),
(5221, 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'', ''PI20150517'', ''2015-04-10'', ''IV02108741'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10395216941833', '2015-05-17 15:15:05'),
(5222, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (112, ''2'', ''111'', ''1'', ''PM2M603S002123990'', ''1'', ''16'', ''43467.58'', ''43467.58'', ''15'', ''6'', ''2608.05'', ''46075.63'')', 'aptransaction/savePurchaseRow', '0.064656972885132', '2015-05-17 15:15:05'),
(5223, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2608.05'', `totalAmount` = ''46075.63'' WHERE `ID` =  112', 'aptransaction/savePurchaseRow', '0.026396989822388', '2015-05-17 15:15:05'),
(5224, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =112', 'aptransaction/savePurchaseRow', '0.034620046615601', '2015-05-17 15:15:06'),
(5225, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''112'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.032821178436279', '2015-05-17 15:15:22'),
(5226, 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'', ''GRN20150517'', ''2015-04-10'', ''0'', ''IV02108741'', ''2'')', 'Aptransaction/invoicePosting', '0.080964088439941', '2015-05-17 15:15:22'),
(5227, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (113, ''112'', ''2'', ''111'', ''1'', -1, ''PM2M603S002123990'', ''1'', ''1'', ''1'', ''43467.58'', 43467.58)', 'Aptransaction/invoicePosting', '0.044291019439697', '2015-05-17 15:15:22'),
(5228, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 114 WHERE `ID` =  ''113''', 'Aptransaction/invoicePosting', '0.030420064926147', '2015-05-17 15:15:22'),
(5229, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 109 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039828062057495', '2015-05-17 15:15:22'),
(5230, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000109'' WHERE `ID` =  ''112''', 'Aptransaction/invoicePosting', '0.030447006225586', '2015-05-17 15:15:22'),
(5231, 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'', ''AP20150100000109'', ''PI20150517[00000109]'', ''Purchase Invoice Confirm [ PI20150517[00000109] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 46075.63, 46075.63, ''2'')', 'Aptransaction/invoicePosting', '0.03886604309082', '2015-05-17 15:15:22'),
(5232, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000109'', 1, ''[3990]'', ''138'', ''PERODUA SALES SDN BHD'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''PI20150517[00000109]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048598051071167', '2015-05-17 15:15:22'),
(5233, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000109'', ''[3990]'', ''38'', ''PERODUA SALES SDN BHD'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''PI20150517[00000109]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029526948928833', '2015-05-17 15:15:22'),
(5234, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000109'', ''[3990]'', ''34'', ''PERODUA SALES SDN BHD'', 2608.05, ''1'', ''1'', ''2608.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000109]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033154964447021', '2015-05-17 15:15:22'),
(5235, 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, ''AP20150100000109'', ''[3990]'', ''138'', ''PERODUA SALES SDN BHD'', 2608.05, ''1'', ''1'', ''2608.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000109]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02951192855835', '2015-05-17 15:15:22'),
(5236, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46075.63, `total_amount_cr` = 46075.63, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000109''', 'Aptransaction/invoicePosting', '0.034525156021118', '2015-05-17 15:15:22'),
(5237, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''223''', 'Gltransaction/journalPosting', '0.064513206481934', '2015-05-17 15:16:27'),
(5238, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000109''', 'Gltransaction/journalPosting', '0.065371036529541', '2015-05-17 15:16:27'),
(5239, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.039124965667725', '2015-05-17 15:16:27'),
(5240, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.028934955596924', '2015-05-17 15:16:27'),
(5241, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.032940149307251', '2015-05-17 15:16:27'),
(5242, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.063752889633179', '2015-05-17 15:16:27'),
(5243, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''113''', 'purchasetransaction/receiveItemPost', '0.035559892654419', '2015-05-17 15:17:15'),
(5244, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 101 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039047002792358', '2015-05-17 15:17:15'),
(5245, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000101'' WHERE `ID` =  ''113''', 'purchasetransaction/receiveItemPost', '0.055388927459717', '2015-05-17 15:17:15'),
(5246, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000101'', ''GRN20150517[00000110]'', '' [ GRN20150517[00000110] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04742693901062', '2015-05-17 15:17:15'),
(5247, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''111'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034859895706177', '2015-05-17 15:17:15'),
(5248, 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'', ''PO20150100000101'', 1, ''[3990]PERODUA MYVI'', ''38'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''1'', ''GRN20150517[00000110]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053997039794922', '2015-05-17 15:17:15'),
(5249, 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, ''PO20150100000101'', ''[3990]PERODUA MYVI'', ''21'', 43467.58, ''1'', ''1'', ''43467.58'', ''1'', ''2015'', ''GRN20150517[00000113]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032783985137939', '2015-05-17 15:17:16'),
(5250, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43467.58, `total_amount_cr` = 43467.58, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000101''', 'purchasetransaction/receiveItemPost', '0.043292999267578', '2015-05-17 15:17:16'),
(5251, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''224''', 'Gltransaction/journalPosting', '0.095781803131104', '2015-05-17 15:18:25'),
(5252, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000101''', 'Gltransaction/journalPosting', '0.044281959533691', '2015-05-17 15:18:25'),
(5253, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.040393829345703', '2015-05-17 15:18:25'),
(5254, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.029700994491577', '2015-05-17 15:18:25'),
(5255, 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'', ''2156'', ''PERODUA ALZA'', ''PM2M502G002242156'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053349018096924', '2015-05-17 15:24:19'),
(5256, 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'', ''PI20150517'', ''2015-04-10'', ''IV02108420'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11329102516174', '2015-05-17 15:26:22'),
(5257, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (113, ''2'', ''112'', ''1'', ''PM2M502G002242156'', ''1'', ''16'', ''52338.76'', ''52338.76'', ''15'', ''6'', ''3140.33'', ''55479.09'')', 'aptransaction/savePurchaseRow', '0.065398931503296', '2015-05-17 15:26:22'),
(5258, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  113', 'aptransaction/savePurchaseRow', '0.025364875793457', '2015-05-17 15:26:22'),
(5259, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =113', 'aptransaction/savePurchaseRow', '0.034080982208252', '2015-05-17 15:26:22'),
(5260, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''113'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.029500961303711', '2015-05-17 15:26:40'),
(5261, 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'', ''GRN20150517'', ''2015-04-10'', ''0'', ''IV02108420'', ''2'')', 'Aptransaction/invoicePosting', '0.081214904785156', '2015-05-17 15:26:40'),
(5262, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (114, ''113'', ''2'', ''112'', ''1'', -1, ''PM2M502G002242156'', ''1'', ''1'', ''1'', ''52338.76'', 52338.76)', 'Aptransaction/invoicePosting', '0.055310964584351', '2015-05-17 15:26:40'),
(5263, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 115 WHERE `ID` =  ''114''', 'Aptransaction/invoicePosting', '0.032290935516357', '2015-05-17 15:26:40'),
(5264, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 110 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028825044631958', '2015-05-17 15:26:40'),
(5265, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000110'' WHERE `ID` =  ''113''', 'Aptransaction/invoicePosting', '0.065407037734985', '2015-05-17 15:26:40'),
(5266, 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'', ''AP20150100000110'', ''PI20150517[00000110]'', ''Purchase Invoice Confirm [ PI20150517[00000110] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/invoicePosting', '0.059435844421387', '2015-05-17 15:26:40'),
(5267, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000110'', 1, ''[2156]'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000110]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.06403112411499', '2015-05-17 15:26:40'),
(5268, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000110'', ''[2156]'', ''38'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000110]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029816865921021', '2015-05-17 15:26:40'),
(5269, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000110'', ''[2156]'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000110]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032931089401245', '2015-05-17 15:26:40'),
(5270, 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, ''AP20150100000110'', ''[2156]'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000110]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029803037643433', '2015-05-17 15:26:40'),
(5271, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 55479.09, `total_amount_cr` = 55479.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000110''', 'Aptransaction/invoicePosting', '0.034271001815796', '2015-05-17 15:26:41'),
(5272, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''225''', 'Gltransaction/journalPosting', '0.036937952041626', '2015-05-17 15:28:10'),
(5273, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000110''', 'Gltransaction/journalPosting', '0.032166957855225', '2015-05-17 15:28:11'),
(5274, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.072394132614136', '2015-05-17 15:28:11'),
(5275, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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` =  ''1''', 'Gltransaction/journalPosting', '0.029296875', '2015-05-17 15:28:11');
