INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5276, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054766893386841', '2015-05-17 15:28:11'),
(5277, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041615962982178', '2015-05-17 15:28:11'),
(5278, 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'', ''5004'', ''PERODUA MYVI'', ''PM2M602S002225004'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.044250011444092', '2015-05-17 15:31:14'),
(5279, 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'', ''IV02108586'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.090447902679443', '2015-05-17 15:32:44'),
(5280, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (114, ''2'', ''113'', ''1'', ''PM2M602S002225004'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.066272020339966', '2015-05-17 15:32:44'),
(5281, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  114', 'aptransaction/savePurchaseRow', '0.036581039428711', '2015-05-17 15:32:44'),
(5282, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =114', 'aptransaction/savePurchaseRow', '0.033674955368042', '2015-05-17 15:32:44'),
(5283, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''114'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.039227962493896', '2015-05-17 15:33:03'),
(5284, 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'', ''IV02108586'', ''2'')', 'Aptransaction/invoicePosting', '0.070466995239258', '2015-05-17 15:33:03'),
(5285, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (115, ''114'', ''2'', ''113'', ''1'', -1, ''PM2M602S002225004'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.043184995651245', '2015-05-17 15:33:03'),
(5286, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 116 WHERE `ID` =  ''115''', 'Aptransaction/invoicePosting', '0.033401012420654', '2015-05-17 15:33:03'),
(5287, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 111 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028258800506592', '2015-05-17 15:33:03'),
(5288, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000111'' WHERE `ID` =  ''114''', 'Aptransaction/invoicePosting', '0.055433988571167', '2015-05-17 15:33:03'),
(5289, 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'', ''AP20150100000111'', ''PI20150517[00000111]'', ''Purchase Invoice Confirm [ PI20150517[00000111] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.058107852935791', '2015-05-17 15:33:03'),
(5290, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000111'', 1, ''[5004]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000111]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.065007209777832', '2015-05-17 15:33:03'),
(5291, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000111'', ''[5004]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000111]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029539823532104', '2015-05-17 15:33:03'),
(5292, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000111'', ''[5004]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000111]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033133983612061', '2015-05-17 15:33:03'),
(5293, 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, ''AP20150100000111'', ''[5004]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000111]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029551029205322', '2015-05-17 15:33:03'),
(5294, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000111''', 'Aptransaction/invoicePosting', '0.034446954727173', '2015-05-17 15:33:04'),
(5295, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''226''', 'Gltransaction/journalPosting', '0.23497200012207', '2015-05-17 15:34:06'),
(5296, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000111''', 'Gltransaction/journalPosting', '0.044259071350098', '2015-05-17 15:34:06'),
(5297, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060870170593262', '2015-05-17 15:34:06'),
(5298, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053714990615845', '2015-05-17 15:34:06'),
(5299, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052672147750854', '2015-05-17 15:34:06'),
(5300, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053612947463989', '2015-05-17 15:34:06'),
(5301, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''115''', 'purchasetransaction/receiveItemPost', '0.028816938400269', '2015-05-17 15:34:50'),
(5302, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 102 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028433799743652', '2015-05-17 15:34:50'),
(5303, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000102'' WHERE `ID` =  ''115''', 'purchasetransaction/receiveItemPost', '0.088963031768799', '2015-05-17 15:34:50'),
(5304, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000102'', ''GRN20150517[00000112]'', '' [ GRN20150517[00000112] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07053804397583', '2015-05-17 15:34:51'),
(5305, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''113'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034403085708618', '2015-05-17 15:34:51'),
(5306, 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'', ''PO20150100000102'', 1, ''[5004]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150517[00000112]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032737970352173', '2015-05-17 15:34:51'),
(5307, 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, ''PO20150100000102'', ''[5004]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150517[00000115]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031923055648804', '2015-05-17 15:34:51'),
(5308, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41366.98, `total_amount_cr` = 41366.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000102''', 'purchasetransaction/receiveItemPost', '0.055320024490356', '2015-05-17 15:34:51'),
(5309, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''227''', 'Gltransaction/journalPosting', '0.3099250793457', '2015-05-17 15:36:00'),
(5310, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000102''', 'Gltransaction/journalPosting', '0.099106073379517', '2015-05-17 15:36:00'),
(5311, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.11556911468506', '2015-05-17 15:36:01'),
(5312, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032047033309937', '2015-05-17 15:36:01'),
(5313, 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'', ''5146'', ''PERODUA MYVI'', ''PM2M602S002225146'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049517869949341', '2015-05-17 15:37:54'),
(5314, 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'', ''IV02108607'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14184713363647', '2015-05-17 15:39:22'),
(5315, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (115, ''2'', ''114'', ''1'', ''PM2M602S002225146'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.043627977371216', '2015-05-17 15:39:22'),
(5316, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  115', 'aptransaction/savePurchaseRow', '0.058564186096191', '2015-05-17 15:39:23'),
(5317, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =115', 'aptransaction/savePurchaseRow', '0.044203996658325', '2015-05-17 15:39:23'),
(5318, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''115'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.078690052032471', '2015-05-17 15:39:37'),
(5319, 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'', ''IV02108607'', ''2'')', 'Aptransaction/invoicePosting', '0.09137487411499', '2015-05-17 15:39:37'),
(5320, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (116, ''115'', ''2'', ''114'', ''1'', -1, ''PM2M602S002225146'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.088032007217407', '2015-05-17 15:39:37'),
(5321, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 117 WHERE `ID` =  ''116''', 'Aptransaction/invoicePosting', '0.054648876190186', '2015-05-17 15:39:37'),
(5322, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 112 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.050433158874512', '2015-05-17 15:39:37'),
(5323, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000112'' WHERE `ID` =  ''115''', 'Aptransaction/invoicePosting', '0.054601907730103', '2015-05-17 15:39:37'),
(5324, 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'', ''AP20150100000112'', ''PI20150517[00000112]'', ''Purchase Invoice Confirm [ PI20150517[00000112] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.037106990814209', '2015-05-17 15:39:37'),
(5325, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000112'', 1, ''[5146]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000112]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041835069656372', '2015-05-17 15:39:37'),
(5326, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000112'', ''[5146]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000112]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03188681602478', '2015-05-17 15:39:37'),
(5327, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000112'', ''[5146]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000112]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031037092208862', '2015-05-17 15:39:37'),
(5328, 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, ''AP20150100000112'', ''[5146]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000112]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053828001022339', '2015-05-17 15:39:37'),
(5329, 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` =  ''AP20150100000112''', 'Aptransaction/invoicePosting', '0.043421030044556', '2015-05-17 15:39:38'),
(5330, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''228''', 'Gltransaction/journalPosting', '0.30742692947388', '2015-05-17 15:40:43'),
(5331, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000112''', 'Gltransaction/journalPosting', '0.042994022369385', '2015-05-17 15:40:43'),
(5332, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039368867874146', '2015-05-17 15:40:43'),
(5333, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03089714050293', '2015-05-17 15:40:43'),
(5334, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031152009963989', '2015-05-17 15:40:44'),
(5335, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030834913253784', '2015-05-17 15:40:44'),
(5336, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''116''', 'purchasetransaction/receiveItemPost', '0.034761905670166', '2015-05-17 15:41:12'),
(5337, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 103 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028527975082397', '2015-05-17 15:41:12'),
(5338, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000103'' WHERE `ID` =  ''116''', 'purchasetransaction/receiveItemPost', '0.05519700050354', '2015-05-17 15:41:12'),
(5339, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000103'', ''GRN20150517[00000113]'', '' [ GRN20150517[00000113] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.0591139793396', '2015-05-17 15:41:12'),
(5340, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''114'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034550905227661', '2015-05-17 15:41:12'),
(5341, 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'', ''PO20150100000103'', 1, ''[5146]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150517[00000113]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043268918991089', '2015-05-17 15:41:12'),
(5342, 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, ''PO20150100000103'', ''[5146]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150517[00000116]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032579183578491', '2015-05-17 15:41:12'),
(5343, 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` =  ''PO20150100000103''', 'purchasetransaction/receiveItemPost', '0.032634019851685', '2015-05-17 15:41:12'),
(5344, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''229''', 'Gltransaction/journalPosting', '0.072230815887451', '2015-05-17 15:42:18'),
(5345, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000103''', 'Gltransaction/journalPosting', '0.032683849334717', '2015-05-17 15:42:18'),
(5346, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.085144996643066', '2015-05-17 15:42:19'),
(5347, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030135154724121', '2015-05-17 15:42:19'),
(5348, 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'', ''4145'', ''PERODUA MYVI'', ''PM2M603S002124145'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053606033325195', '2015-05-17 15:43:39'),
(5349, 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'', ''IV02108752'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1256730556488', '2015-05-17 15:44:59'),
(5350, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (116, ''2'', ''115'', ''1'', ''PM2M603S002124145'', ''1'', ''16'', ''51084.1'', ''51084.1'', ''15'', ''6'', ''3065.05'', ''54149.15'')', 'aptransaction/savePurchaseRow', '0.043558120727539', '2015-05-17 15:44:59'),
(5351, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3065.05'', `totalAmount` = ''54149.15'' WHERE `ID` =  116', 'aptransaction/savePurchaseRow', '0.038815975189209', '2015-05-17 15:44:59'),
(5352, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =116', 'aptransaction/savePurchaseRow', '0.044082164764404', '2015-05-17 15:44:59'),
(5353, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''116'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.03322696685791', '2015-05-17 15:45:16'),
(5354, 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'', ''IV02108752'', ''2'')', 'Aptransaction/invoicePosting', '0.06978702545166', '2015-05-17 15:45:16'),
(5355, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (117, ''116'', ''2'', ''115'', ''1'', -1, ''PM2M603S002124145'', ''1'', ''1'', ''1'', ''51084.1'', 51084.1)', 'Aptransaction/invoicePosting', '0.066534042358398', '2015-05-17 15:45:16'),
(5356, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 118 WHERE `ID` =  ''117''', 'Aptransaction/invoicePosting', '0.077103137969971', '2015-05-17 15:45:16'),
(5357, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 113 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039376020431519', '2015-05-17 15:45:16'),
(5358, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000113'' WHERE `ID` =  ''116''', 'Aptransaction/invoicePosting', '0.032742977142334', '2015-05-17 15:45:16'),
(5359, 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'', ''AP20150100000113'', ''PI20150517[00000113]'', ''Purchase Invoice Confirm [ PI20150517[00000113] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 54149.15, 54149.15, ''2'')', 'Aptransaction/invoicePosting', '0.058818101882935', '2015-05-17 15:45:16'),
(5360, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000113'', 1, ''[4145]'', ''138'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150517[00000113]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053426027297974', '2015-05-17 15:45:16'),
(5361, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000113'', ''[4145]'', ''38'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150517[00000113]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031207084655762', '2015-05-17 15:45:16'),
(5362, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000113'', ''[4145]'', ''34'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000113]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03077507019043', '2015-05-17 15:45:16'),
(5363, 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, ''AP20150100000113'', ''[4145]'', ''138'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150517[00000113]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053857088088989', '2015-05-17 15:45:16'),
(5364, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54149.15, `total_amount_cr` = 54149.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000113''', 'Aptransaction/invoicePosting', '0.054826974868774', '2015-05-17 15:45:16'),
(5365, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''230''', 'Gltransaction/journalPosting', '0.083360910415649', '2015-05-17 15:46:19'),
(5366, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000113''', 'Gltransaction/journalPosting', '0.043162822723389', '2015-05-17 15:46:19'),
(5367, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.073040962219238', '2015-05-17 15:46:19'),
(5368, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064208984375', '2015-05-17 15:46:19'),
(5369, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053203821182251', '2015-05-17 15:46:19'),
(5370, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030354022979736', '2015-05-17 15:46:19'),
(5371, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''117''', 'purchasetransaction/receiveItemPost', '0.10118198394775', '2015-05-17 15:46:49'),
(5372, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 104 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028825044631958', '2015-05-17 15:46:49'),
(5373, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000104'' WHERE `ID` =  ''117''', 'purchasetransaction/receiveItemPost', '0.067132949829102', '2015-05-17 15:46:49'),
(5374, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000104'', ''GRN20150517[00000114]'', '' [ GRN20150517[00000114] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05914306640625', '2015-05-17 15:46:49'),
(5375, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''115'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034917116165161', '2015-05-17 15:46:49'),
(5376, 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'', ''PO20150100000104'', 1, ''[4145]PERODUA MYVI'', ''38'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''GRN20150517[00000114]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032325029373169', '2015-05-17 15:46:49'),
(5377, 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, ''PO20150100000104'', ''[4145]PERODUA MYVI'', ''21'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''GRN20150517[00000117]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032341957092285', '2015-05-17 15:46:49'),
(5378, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51084.1, `total_amount_cr` = 51084.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000104''', 'purchasetransaction/receiveItemPost', '0.10075807571411', '2015-05-17 15:46:49'),
(5379, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''231''', 'Gltransaction/journalPosting', '0.33661794662476', '2015-05-17 15:47:51'),
(5380, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000104''', 'Gltransaction/journalPosting', '0.05416202545166', '2015-05-17 15:47:51'),
(5381, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039860010147095', '2015-05-17 15:47:51'),
(5382, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03042197227478', '2015-05-17 15:47:51'),
(5383, 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'', ''6703'', ''PERODUA ALZA'', ''PM2M502G002236703'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053093194961548', '2015-05-17 16:19:17'),
(5384, 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-11'', ''IV02109608'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10463714599609', '2015-05-17 16:20:46'),
(5385, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (117, ''2'', ''116'', ''1'', ''PM2M502G002236703'', ''1'', ''16'', ''48843.18'', ''48843.18'', ''15'', ''6'', ''2930.59'', ''51773.77'')', 'aptransaction/savePurchaseRow', '0.065767049789429', '2015-05-17 16:20:46'),
(5386, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2930.59'', `totalAmount` = ''51773.77'' WHERE `ID` =  117', 'aptransaction/savePurchaseRow', '0.055261850357056', '2015-05-17 16:20:46'),
(5387, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =117', 'aptransaction/savePurchaseRow', '0.033120155334473', '2015-05-17 16:20:46'),
(5388, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''117'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.060839891433716', '2015-05-17 16:21:09'),
(5389, 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-11'', ''0'', ''IV02109608'', ''2'')', 'Aptransaction/invoicePosting', '0.058372020721436', '2015-05-17 16:21:09'),
(5390, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (118, ''117'', ''2'', ''116'', ''1'', -1, ''PM2M502G002236703'', ''1'', ''1'', ''1'', ''48843.18'', 48843.18)', 'Aptransaction/invoicePosting', '0.077897071838379', '2015-05-17 16:21:09'),
(5391, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 119 WHERE `ID` =  ''118''', 'Aptransaction/invoicePosting', '0.043911933898926', '2015-05-17 16:21:09'),
(5392, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 114 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.040503025054932', '2015-05-17 16:21:09'),
(5393, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000114'' WHERE `ID` =  ''117''', 'Aptransaction/invoicePosting', '0.088103055953979', '2015-05-17 16:21:09'),
(5394, 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'', ''AP20150100000114'', ''PI20150517[00000114]'', ''Purchase Invoice Confirm [ PI20150517[00000114] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 51773.77, 51773.77, ''2'')', 'Aptransaction/invoicePosting', '0.058789014816284', '2015-05-17 16:21:09'),
(5395, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000114'', 1, ''[6703]'', ''138'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000114]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041412115097046', '2015-05-17 16:21:09'),
(5396, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000114'', ''[6703]'', ''38'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000114]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032254934310913', '2015-05-17 16:21:09'),
(5397, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000114'', ''[6703]'', ''34'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000114]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030457973480225', '2015-05-17 16:21:09'),
(5398, 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, ''AP20150100000114'', ''[6703]'', ''138'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000114]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032325983047485', '2015-05-17 16:21:09'),
(5399, 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` =  ''AP20150100000114''', 'Aptransaction/invoicePosting', '0.054824113845825', '2015-05-17 16:21:09'),
(5400, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''232''', 'Gltransaction/journalPosting', '0.063363075256348', '2015-05-17 16:22:37'),
(5401, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000114''', 'Gltransaction/journalPosting', '0.055350065231323', '2015-05-17 16:22:37'),
(5402, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040245056152344', '2015-05-17 16:22:37');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5403, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041932106018066', '2015-05-17 16:22:37'),
(5404, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029975175857544', '2015-05-17 16:22:37'),
(5405, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032076120376587', '2015-05-17 16:22:37'),
(5406, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''118''', 'purchasetransaction/receiveItemPost', '0.034653902053833', '2015-05-17 16:23:49'),
(5407, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 105 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051783084869385', '2015-05-17 16:23:49'),
(5408, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000105'' WHERE `ID` =  ''118''', 'purchasetransaction/receiveItemPost', '0.032727003097534', '2015-05-17 16:23:49'),
(5409, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000105'', ''GRN20150517[00000115]'', '' [ GRN20150517[00000115] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059035062789917', '2015-05-17 16:23:49'),
(5410, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''116'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.035372018814087', '2015-05-17 16:23:49'),
(5411, 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'', ''PO20150100000105'', 1, ''[6703]PERODUA ALZA'', ''38'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''GRN20150517[00000115]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04228401184082', '2015-05-17 16:23:49'),
(5412, 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, ''PO20150100000105'', ''[6703]PERODUA ALZA'', ''21'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''GRN20150517[00000118]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033460855484009', '2015-05-17 16:23:49'),
(5413, 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` =  ''PO20150100000105''', 'purchasetransaction/receiveItemPost', '0.05482816696167', '2015-05-17 16:23:49'),
(5414, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''233''', 'Gltransaction/journalPosting', '0.32136487960815', '2015-05-17 16:24:34'),
(5415, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000105''', 'Gltransaction/journalPosting', '0.076981782913208', '2015-05-17 16:24:34'),
(5416, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.10723400115967', '2015-05-17 16:24:34'),
(5417, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.07519006729126', '2015-05-17 16:24:34'),
(5418, 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'', ''2572'', ''PERODUA MYVI'', ''PM2M603S002122572'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.037590980529785', '2015-05-17 16:27:01'),
(5419, 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-11'', ''IV02111784'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.16467094421387', '2015-05-17 16:28:15'),
(5420, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (118, ''2'', ''117'', ''1'', ''PM2M603S002122572'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.041770935058594', '2015-05-17 16:28:15'),
(5421, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  118', 'aptransaction/savePurchaseRow', '0.036877870559692', '2015-05-17 16:28:15'),
(5422, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =118', 'aptransaction/savePurchaseRow', '0.033278942108154', '2015-05-17 16:28:15'),
(5423, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''118'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033384799957275', '2015-05-17 16:28:38'),
(5424, 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-11'', ''0'', ''IV02111784'', ''2'')', 'Aptransaction/invoicePosting', '0.05922794342041', '2015-05-17 16:28:38'),
(5425, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (119, ''118'', ''2'', ''117'', ''1'', -1, ''PM2M603S002122572'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.043884038925171', '2015-05-17 16:28:39'),
(5426, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 120 WHERE `ID` =  ''119''', 'Aptransaction/invoicePosting', '0.032843112945557', '2015-05-17 16:28:39'),
(5427, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 115 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.040539026260376', '2015-05-17 16:28:39'),
(5428, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000115'' WHERE `ID` =  ''118''', 'Aptransaction/invoicePosting', '0.032822847366333', '2015-05-17 16:28:39'),
(5429, 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'', ''AP20150100000115'', ''PI20150517[00000115]'', ''Purchase Invoice Confirm [ PI20150517[00000115] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.058593034744263', '2015-05-17 16:28:39'),
(5430, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000115'', 1, ''[2572]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000115]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064502000808716', '2015-05-17 16:28:39'),
(5431, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000115'', ''[2572]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000115]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042427062988281', '2015-05-17 16:28:39'),
(5432, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000115'', ''[2572]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000115]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029656887054443', '2015-05-17 16:28:39'),
(5433, 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, ''AP20150100000115'', ''[2572]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000115]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033030986785889', '2015-05-17 16:28:39'),
(5434, 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` =  ''AP20150100000115''', 'Aptransaction/invoicePosting', '0.053180932998657', '2015-05-17 16:28:39'),
(5435, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''234''', 'Gltransaction/journalPosting', '0.30610799789429', '2015-05-17 16:29:44'),
(5436, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000115''', 'Gltransaction/journalPosting', '0.054837942123413', '2015-05-17 16:29:44'),
(5437, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.073390960693359', '2015-05-17 16:29:44'),
(5438, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064033985137939', '2015-05-17 16:29:44'),
(5439, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053153991699219', '2015-05-17 16:29:44'),
(5440, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029352188110352', '2015-05-17 16:29:44'),
(5441, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''119''', 'purchasetransaction/receiveItemPost', '0.071691989898682', '2015-05-17 16:30:13'),
(5442, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 106 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.040938854217529', '2015-05-17 16:30:13'),
(5443, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000106'' WHERE `ID` =  ''119''', 'purchasetransaction/receiveItemPost', '0.054428100585938', '2015-05-17 16:30:13'),
(5444, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000106'', ''GRN20150517[00000116]'', '' [ GRN20150517[00000116] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03670597076416', '2015-05-17 16:30:13'),
(5445, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''117'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036509037017822', '2015-05-17 16:30:13'),
(5446, 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'', ''PO20150100000106'', 1, ''[2572]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000116]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032266855239868', '2015-05-17 16:30:13'),
(5447, 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, ''PO20150100000106'', ''[2572]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000119]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03020977973938', '2015-05-17 16:30:13'),
(5448, 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` =  ''PO20150100000106''', 'purchasetransaction/receiveItemPost', '0.068049192428589', '2015-05-17 16:30:13'),
(5449, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''235''', 'Gltransaction/journalPosting', '0.32833695411682', '2015-05-17 16:31:49'),
(5450, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000106''', 'Gltransaction/journalPosting', '0.075249910354614', '2015-05-17 16:31:49'),
(5451, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040821075439453', '2015-05-17 16:31:49'),
(5452, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.086410999298096', '2015-05-17 16:31:49'),
(5453, 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'', ''6870'', ''PERODUA ALZA'', ''PM2M502G002236870'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.043187856674194', '2015-05-17 16:33:24'),
(5454, 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-11'', ''IV02109619'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.097105026245117', '2015-05-17 16:34:58'),
(5455, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (119, ''2'', ''118'', ''1'', ''PM2M502G002236870'', ''1'', ''16'', ''57265.78'', ''57265.78'', ''15'', ''6'', ''3435.95'', ''60701.73'')', 'aptransaction/savePurchaseRow', '0.055402994155884', '2015-05-17 16:34:58'),
(5456, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  119', 'aptransaction/savePurchaseRow', '0.044695138931274', '2015-05-17 16:34:58'),
(5457, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =119', 'aptransaction/savePurchaseRow', '0.055186033248901', '2015-05-17 16:34:58'),
(5458, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''119'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051425933837891', '2015-05-17 16:35:16'),
(5459, 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-11'', ''0'', ''IV02109619'', ''2'')', 'Aptransaction/invoicePosting', '0.059477806091309', '2015-05-17 16:35:16'),
(5460, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (120, ''119'', ''2'', ''118'', ''1'', -1, ''PM2M502G002236870'', ''1'', ''1'', ''1'', ''57265.78'', 57265.78)', 'Aptransaction/invoicePosting', '0.043689012527466', '2015-05-17 16:35:16'),
(5461, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 121 WHERE `ID` =  ''120''', 'Aptransaction/invoicePosting', '0.055009126663208', '2015-05-17 16:35:16'),
(5462, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 116 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039505958557129', '2015-05-17 16:35:16'),
(5463, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000116'' WHERE `ID` =  ''119''', 'Aptransaction/invoicePosting', '0.045207977294922', '2015-05-17 16:35:16'),
(5464, 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'', ''AP20150100000116'', ''PI20150517[00000116]'', ''Purchase Invoice Confirm [ PI20150517[00000116] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/invoicePosting', '0.04747200012207', '2015-05-17 16:35:16'),
(5465, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000116'', 1, ''[6870]'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000116]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04045581817627', '2015-05-17 16:35:16'),
(5466, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000116'', ''[6870]'', ''38'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000116]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033210039138794', '2015-05-17 16:35:16'),
(5467, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000116'', ''[6870]'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000116]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042387962341309', '2015-05-17 16:35:16'),
(5468, 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, ''AP20150100000116'', ''[6870]'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000116]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035867929458618', '2015-05-17 16:35:16'),
(5469, 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` =  ''AP20150100000116''', 'Aptransaction/invoicePosting', '0.050343990325928', '2015-05-17 16:35:16'),
(5470, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''236''', 'Gltransaction/journalPosting', '0.29227995872498', '2015-05-17 16:37:34'),
(5471, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000116''', 'Gltransaction/journalPosting', '0.054811000823975', '2015-05-17 16:37:34'),
(5472, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041147947311401', '2015-05-17 16:37:34'),
(5473, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029098033905029', '2015-05-17 16:37:34'),
(5474, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032932996749878', '2015-05-17 16:37:34'),
(5475, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029111862182617', '2015-05-17 16:37:34'),
(5476, 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'', ''1927'', ''PERODUA ALZA'', ''PM2M502G002241927'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046755075454712', '2015-05-17 16:40:32'),
(5477, 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-13'', ''IV02112693'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10434412956238', '2015-05-17 16:42:06'),
(5478, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (120, ''2'', ''119'', ''1'', ''PM2M502G002241927'', ''1'', ''16'', ''56820.08'', ''56820.08'', ''15'', ''6'', ''3409.2'', ''60229.28'')', 'aptransaction/savePurchaseRow', '0.052827119827271', '2015-05-17 16:42:06'),
(5479, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3409.2'', `totalAmount` = ''60229.28'' WHERE `ID` =  120', 'aptransaction/savePurchaseRow', '0.054891109466553', '2015-05-17 16:42:06'),
(5480, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =120', 'aptransaction/savePurchaseRow', '0.03548002243042', '2015-05-17 16:42:06'),
(5481, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''120'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.029824018478394', '2015-05-17 16:42:23'),
(5482, 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-13'', ''0'', ''IV02112693'', ''2'')', 'Aptransaction/invoicePosting', '0.071150064468384', '2015-05-17 16:42:23'),
(5483, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (121, ''120'', ''2'', ''119'', ''1'', -1, ''PM2M502G002241927'', ''1'', ''1'', ''1'', ''56820.08'', 56820.08)', 'Aptransaction/invoicePosting', '0.045312881469727', '2015-05-17 16:42:23'),
(5484, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 122 WHERE `ID` =  ''121''', 'Aptransaction/invoicePosting', '0.032788991928101', '2015-05-17 16:42:23'),
(5485, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 117 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.027786016464233', '2015-05-17 16:42:23'),
(5486, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000117'' WHERE `ID` =  ''120''', 'Aptransaction/invoicePosting', '0.057127952575684', '2015-05-17 16:42:23'),
(5487, 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'', ''AP20150100000117'', ''PI20150517[00000117]'', ''Purchase Invoice Confirm [ PI20150517[00000117] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 60229.28, 60229.28, ''2'')', 'Aptransaction/invoicePosting', '0.066650152206421', '2015-05-17 16:42:23'),
(5488, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000117'', 1, ''[1927]'', ''138'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150517[00000117]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043990135192871', '2015-05-17 16:42:23'),
(5489, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000117'', ''[1927]'', ''38'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150517[00000117]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03290319442749', '2015-05-17 16:42:24'),
(5490, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000117'', ''[1927]'', ''34'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150517[00000117]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029834032058716', '2015-05-17 16:42:24'),
(5491, 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, ''AP20150100000117'', ''[1927]'', ''138'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150517[00000117]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032893896102905', '2015-05-17 16:42:24'),
(5492, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60229.28, `total_amount_cr` = 60229.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000117''', 'Aptransaction/invoicePosting', '0.065931797027588', '2015-05-17 16:42:24'),
(5493, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''237''', 'Gltransaction/journalPosting', '0.08295202255249', '2015-05-17 16:43:27'),
(5494, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000117''', 'Gltransaction/journalPosting', '0.052271842956543', '2015-05-17 16:43:27'),
(5495, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.074549913406372', '2015-05-17 16:43:27'),
(5496, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041719913482666', '2015-05-17 16:43:27'),
(5497, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028883934020996', '2015-05-17 16:43:27'),
(5498, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033222913742065', '2015-05-17 16:43:27'),
(5499, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''121''', 'purchasetransaction/receiveItemPost', '0.034883975982666', '2015-05-17 16:43:56'),
(5500, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 107 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028046846389771', '2015-05-17 16:43:56'),
(5501, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000107'' WHERE `ID` =  ''121''', 'purchasetransaction/receiveItemPost', '0.057537078857422', '2015-05-17 16:43:56'),
(5502, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000107'', ''GRN20150517[00000118]'', '' [ GRN20150517[00000118] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047898054122925', '2015-05-17 16:43:56'),
(5503, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''119'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036607027053833', '2015-05-17 16:43:57'),
(5504, 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'', ''PO20150100000107'', 1, ''[1927]PERODUA ALZA'', ''38'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''GRN20150517[00000118]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.040694952011108', '2015-05-17 16:43:57'),
(5505, 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, ''PO20150100000107'', ''[1927]PERODUA ALZA'', ''21'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''GRN20150517[00000121]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.046082973480225', '2015-05-17 16:43:57'),
(5506, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 56820.08, `total_amount_cr` = 56820.08, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000107''', 'purchasetransaction/receiveItemPost', '0.043784856796265', '2015-05-17 16:43:57'),
(5507, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''238''', 'Gltransaction/journalPosting', '0.050903081893921', '2015-05-17 16:44:38'),
(5508, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000107''', 'Gltransaction/journalPosting', '0.046503067016602', '2015-05-17 16:44:38'),
(5509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040870904922485', '2015-05-17 16:44:38'),
(5510, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028854131698608', '2015-05-17 16:44:38'),
(5511, 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'', ''2052'', ''PERODUA ALZA'', ''PM2M502G002242052'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.073686838150024', '2015-05-17 16:46:37'),
(5512, 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-13'', ''IV02112712'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.15396976470947', '2015-05-17 16:47:59'),
(5513, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (121, ''2'', ''120'', ''1'', ''PM2M502G002242052'', ''1'', ''16'', ''52338.76'', ''52338.76'', ''15'', ''6'', ''3140.33'', ''55479.09'')', 'aptransaction/savePurchaseRow', '0.040777921676636', '2015-05-17 16:47:59'),
(5514, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  121', 'aptransaction/savePurchaseRow', '0.03393292427063', '2015-05-17 16:47:59'),
(5515, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =121', 'aptransaction/savePurchaseRow', '0.033042907714844', '2015-05-17 16:47:59'),
(5516, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''121'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.034106969833374', '2015-05-17 16:48:16'),
(5517, 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-13'', ''0'', ''IV02112712'', ''2'')', 'Aptransaction/invoicePosting', '0.05691385269165', '2015-05-17 16:48:16'),
(5518, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (122, ''121'', ''2'', ''120'', ''1'', -1, ''PM2M502G002242052'', ''1'', ''1'', ''1'', ''52338.76'', 52338.76)', 'Aptransaction/invoicePosting', '0.066388130187988', '2015-05-17 16:48:17'),
(5519, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 123 WHERE `ID` =  ''122''', 'Aptransaction/invoicePosting', '0.034797191619873', '2015-05-17 16:48:17'),
(5520, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 118 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041334867477417', '2015-05-17 16:48:17'),
(5521, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000118'' WHERE `ID` =  ''121''', 'Aptransaction/invoicePosting', '0.030261039733887', '2015-05-17 16:48:17'),
(5522, 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'', ''AP20150100000118'', ''PI20150517[00000118]'', ''Purchase Invoice Confirm [ PI20150517[00000118] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/invoicePosting', '0.061295986175537', '2015-05-17 16:48:17'),
(5523, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000118'', 1, ''[2052]'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000118]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053348064422607', '2015-05-17 16:48:17'),
(5524, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000118'', ''[2052]'', ''38'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150517[00000118]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.040490865707397', '2015-05-17 16:48:17'),
(5525, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000118'', ''[2052]'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000118]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033222913742065', '2015-05-17 16:48:17'),
(5526, 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, ''AP20150100000118'', ''[2052]'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150517[00000118]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029493808746338', '2015-05-17 16:48:17'),
(5527, 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` =  ''AP20150100000118''', 'Aptransaction/invoicePosting', '0.034646987915039', '2015-05-17 16:48:17'),
(5528, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''122''', 'purchasetransaction/receiveItemPost', '0.042216062545776', '2015-05-17 16:48:45'),
(5529, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 108 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027328968048096', '2015-05-17 16:48:45'),
(5530, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000108'' WHERE `ID` =  ''122''', 'purchasetransaction/receiveItemPost', '0.035197973251343', '2015-05-17 16:48:45');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5531, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000108'', ''GRN20150517[00000119]'', '' [ GRN20150517[00000119] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.045635938644409', '2015-05-17 16:48:45'),
(5532, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''120'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.037310838699341', '2015-05-17 16:48:45'),
(5533, 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'', ''PO20150100000108'', 1, ''[2052]PERODUA ALZA'', ''38'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000119]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029919862747192', '2015-05-17 16:48:45'),
(5534, 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, ''PO20150100000108'', ''[2052]PERODUA ALZA'', ''21'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''GRN20150517[00000122]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034747123718262', '2015-05-17 16:48:45'),
(5535, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52338.76, `total_amount_cr` = 52338.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000108''', 'purchasetransaction/receiveItemPost', '0.065869092941284', '2015-05-17 16:48:45'),
(5536, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''239''', 'Gltransaction/journalPosting', '0.065786123275757', '2015-05-17 16:50:09'),
(5537, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000118''', 'Gltransaction/journalPosting', '0.041297197341919', '2015-05-17 16:50:09'),
(5538, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.074990034103394', '2015-05-17 16:50:09'),
(5539, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039530992507935', '2015-05-17 16:50:09'),
(5540, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033550024032593', '2015-05-17 16:50:09'),
(5541, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042099952697754', '2015-05-17 16:50:09'),
(5542, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''240''', 'Gltransaction/journalPosting', '0.069103956222534', '2015-05-17 16:50:23'),
(5543, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000108''', 'Gltransaction/journalPosting', '0.054411172866821', '2015-05-17 16:50:23'),
(5544, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.077039957046509', '2015-05-17 16:50:23'),
(5545, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.097350120544434', '2015-05-17 16:50:23'),
(5546, 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'', ''2181'', ''PERODUA ALZA'', ''PM2M502G002242181'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.039788961410522', '2015-05-17 16:52:15'),
(5547, 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-13'', ''IV02112722'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.097487926483154', '2015-05-17 16:53:33'),
(5548, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (122, ''2'', ''121'', ''1'', ''PM2M502G002242181'', ''1'', ''16'', ''56820.08'', ''56820.08'', ''15'', ''6'', ''3409.2'', ''60229.28'')', 'aptransaction/savePurchaseRow', '0.054220199584961', '2015-05-17 16:53:33'),
(5549, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3409.2'', `totalAmount` = ''60229.28'' WHERE `ID` =  122', 'aptransaction/savePurchaseRow', '0.031752824783325', '2015-05-17 16:53:33'),
(5550, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =122', 'aptransaction/savePurchaseRow', '0.030072927474976', '2015-05-17 16:53:33'),
(5551, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''122'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.062798023223877', '2015-05-17 16:53:49'),
(5552, 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-13'', ''0'', ''IV02112722'', ''2'')', 'Aptransaction/invoicePosting', '0.11464309692383', '2015-05-17 16:53:49'),
(5553, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (123, ''122'', ''2'', ''121'', ''1'', -1, ''PM2M502G002242181'', ''1'', ''1'', ''1'', ''56820.08'', 56820.08)', 'Aptransaction/invoicePosting', '0.12120604515076', '2015-05-17 16:53:49'),
(5554, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 124 WHERE `ID` =  ''123''', 'Aptransaction/invoicePosting', '0.054949998855591', '2015-05-17 16:53:49'),
(5555, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 119 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.027904987335205', '2015-05-17 16:53:49'),
(5556, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000119'' WHERE `ID` =  ''122''', 'Aptransaction/invoicePosting', '0.035477876663208', '2015-05-17 16:53:49'),
(5557, 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'', ''AP20150100000119'', ''PI20150517[00000119]'', ''Purchase Invoice Confirm [ PI20150517[00000119] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 60229.28, 60229.28, ''2'')', 'Aptransaction/invoicePosting', '0.047790050506592', '2015-05-17 16:53:49'),
(5558, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000119'', 1, ''[2181]'', ''138'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150517[00000119]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053440093994141', '2015-05-17 16:53:49'),
(5559, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000119'', ''[2181]'', ''38'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150517[00000119]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034742116928101', '2015-05-17 16:53:49'),
(5560, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000119'', ''[2181]'', ''34'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150517[00000119]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.050112962722778', '2015-05-17 16:53:49'),
(5561, 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, ''AP20150100000119'', ''[2181]'', ''138'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150517[00000119]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028115034103394', '2015-05-17 16:53:49'),
(5562, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60229.28, `total_amount_cr` = 60229.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000119''', 'Aptransaction/invoicePosting', '0.035984992980957', '2015-05-17 16:53:49'),
(5563, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''241''', 'Gltransaction/journalPosting', '0.074692964553833', '2015-05-17 16:54:42'),
(5564, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000119''', 'Gltransaction/journalPosting', '0.04098105430603', '2015-05-17 16:54:42'),
(5565, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064114809036255', '2015-05-17 16:54:42'),
(5566, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028182029724121', '2015-05-17 16:54:42'),
(5567, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033843040466309', '2015-05-17 16:54:42'),
(5568, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028187990188599', '2015-05-17 16:54:42'),
(5569, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''123''', 'purchasetransaction/receiveItemPost', '0.04096508026123', '2015-05-17 16:55:09'),
(5570, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 109 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027507066726685', '2015-05-17 16:55:09'),
(5571, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000109'' WHERE `ID` =  ''123''', 'purchasetransaction/receiveItemPost', '0.036121129989624', '2015-05-17 16:55:09'),
(5572, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000109'', ''GRN20150517[00000120]'', '' [ GRN20150517[00000120] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059332132339478', '2015-05-17 16:55:09'),
(5573, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''121'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.037203073501587', '2015-05-17 16:55:09'),
(5574, 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'', ''PO20150100000109'', 1, ''[2181]PERODUA ALZA'', ''38'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''GRN20150517[00000120]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065612077713013', '2015-05-17 16:55:09'),
(5575, 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, ''PO20150100000109'', ''[2181]PERODUA ALZA'', ''21'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''GRN20150517[00000123]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029427051544189', '2015-05-17 16:55:09'),
(5576, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 56820.08, `total_amount_cr` = 56820.08, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000109''', 'purchasetransaction/receiveItemPost', '0.035606145858765', '2015-05-17 16:55:09'),
(5577, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''242''', 'Gltransaction/journalPosting', '0.07210898399353', '2015-05-17 16:56:07'),
(5578, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000109''', 'Gltransaction/journalPosting', '0.076996088027954', '2015-05-17 16:56:07'),
(5579, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053209066390991', '2015-05-17 16:56:07'),
(5580, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053154945373535', '2015-05-17 16:56:07'),
(5581, 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'', ''1465'', ''PERODUA AXIA'', ''PM2B200S003061465'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052082061767578', '2015-05-17 17:09:17'),
(5582, 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-15'', ''IV02114257'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.099008083343506', '2015-05-17 17:10:47'),
(5583, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (123, ''2'', ''122'', ''1'', ''PM2B200S003061465'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.040072917938232', '2015-05-17 17:10:47'),
(5584, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  123', 'aptransaction/savePurchaseRow', '0.03385591506958', '2015-05-17 17:10:47'),
(5585, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =123', 'aptransaction/savePurchaseRow', '0.051687955856323', '2015-05-17 17:10:47'),
(5586, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''123'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.034206867218018', '2015-05-17 17:11:05'),
(5587, 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-15'', ''0'', ''IV02114257'', ''2'')', 'Aptransaction/invoicePosting', '0.070433855056763', '2015-05-17 17:11:05'),
(5588, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (124, ''123'', ''2'', ''122'', ''1'', -1, ''PM2B200S003061465'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.043773174285889', '2015-05-17 17:11:05'),
(5589, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 125 WHERE `ID` =  ''124''', 'Aptransaction/invoicePosting', '0.029659032821655', '2015-05-17 17:11:05'),
(5590, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 120 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028197050094604', '2015-05-17 17:11:05'),
(5591, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000120'' WHERE `ID` =  ''123''', 'Aptransaction/invoicePosting', '0.03560209274292', '2015-05-17 17:11:05'),
(5592, 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'', ''AP20150100000120'', ''PI20150517[00000120]'', ''Purchase Invoice Confirm [ PI20150517[00000120] ]'', ''3'', ''2015-04-15'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.047584056854248', '2015-05-17 17:11:05'),
(5593, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000120'', 1, ''[1465]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150517[00000120]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.039134979248047', '2015-05-17 17:11:05'),
(5594, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000120'', ''[1465]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150517[00000120]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034544944763184', '2015-05-17 17:11:05'),
(5595, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000120'', ''[1465]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150517[00000120]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028152942657471', '2015-05-17 17:11:05'),
(5596, 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, ''AP20150100000120'', ''[1465]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150517[00000120]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034535884857178', '2015-05-17 17:11:05'),
(5597, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000120''', 'Aptransaction/invoicePosting', '0.029515027999878', '2015-05-17 17:11:05'),
(5598, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''243''', 'Gltransaction/journalPosting', '0.07087516784668', '2015-05-17 17:12:05'),
(5599, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000120''', 'Gltransaction/journalPosting', '0.029551029205322', '2015-05-17 17:12:05'),
(5600, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064558982849121', '2015-05-17 17:12:05'),
(5601, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027945995330811', '2015-05-17 17:12:05'),
(5602, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052653074264526', '2015-05-17 17:12:05'),
(5603, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042541980743408', '2015-05-17 17:12:05'),
(5604, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''124''', 'purchasetransaction/receiveItemPost', '0.042929172515869', '2015-05-17 17:12:33'),
(5605, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 110 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.02648401260376', '2015-05-17 17:12:33'),
(5606, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000110'' WHERE `ID` =  ''124''', 'purchasetransaction/receiveItemPost', '0.047530889511108', '2015-05-17 17:12:33'),
(5607, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000110'', ''GRN20150517[00000121]'', '' [ GRN20150517[00000121] ]'', ''8'', ''2015-04-15'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033348083496094', '2015-05-17 17:12:33'),
(5608, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''122'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.038118839263916', '2015-05-17 17:12:33'),
(5609, 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'', ''PO20150100000110'', 1, ''[1465]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150517[00000121]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043402910232544', '2015-05-17 17:12:33'),
(5610, 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, ''PO20150100000110'', ''[1465]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150517[00000124]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043499946594238', '2015-05-17 17:12:33'),
(5611, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000110''', 'purchasetransaction/receiveItemPost', '0.087999105453491', '2015-05-17 17:12:33'),
(5612, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''244''', 'Gltransaction/journalPosting', '0.085592031478882', '2015-05-17 17:13:37'),
(5613, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000110''', 'Gltransaction/journalPosting', '0.036448001861572', '2015-05-17 17:13:37'),
(5614, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.069671154022217', '2015-05-17 17:13:37'),
(5615, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035528898239136', '2015-05-17 17:13:37'),
(5616, 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'', ''6188'', ''PERODUA MYVI'', ''PM2M602S002226188'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.058642864227295', '2015-05-17 17:37:35'),
(5617, 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-15'', ''IV02114759'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11988186836243', '2015-05-17 17:40:23'),
(5618, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (124, ''2'', ''123'', ''1'', ''PM2M602S002226188'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.039904117584229', '2015-05-17 17:40:23'),
(5619, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  124', 'aptransaction/savePurchaseRow', '0.032785177230835', '2015-05-17 17:40:23'),
(5620, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =124', 'aptransaction/savePurchaseRow', '0.055251121520996', '2015-05-17 17:40:23'),
(5621, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''124'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036979913711548', '2015-05-17 17:41:11'),
(5622, 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-15'', ''0'', ''IV02114759'', ''2'')', 'Aptransaction/invoicePosting', '0.069940090179443', '2015-05-17 17:41:11'),
(5623, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (125, ''124'', ''2'', ''123'', ''1'', -1, ''PM2M602S002226188'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.04728102684021', '2015-05-17 17:41:11'),
(5624, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 126 WHERE `ID` =  ''125''', 'Aptransaction/invoicePosting', '0.029194116592407', '2015-05-17 17:41:11'),
(5625, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 121 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.02871298789978', '2015-05-17 17:41:11'),
(5626, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000121'' WHERE `ID` =  ''124''', 'Aptransaction/invoicePosting', '0.035897016525269', '2015-05-17 17:41:11'),
(5627, 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'', ''AP20150100000121'', ''PI20150517[00000121]'', ''Purchase Invoice Confirm [ PI20150517[00000121] ]'', ''3'', ''2015-04-15'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.047856092453003', '2015-05-17 17:41:11'),
(5628, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000121'', 1, ''[6188]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000121]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064513206481934', '2015-05-17 17:41:12'),
(5629, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000121'', ''[6188]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000121]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028229951858521', '2015-05-17 17:41:12'),
(5630, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000121'', ''[6188]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000121]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034434080123901', '2015-05-17 17:41:12'),
(5631, 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, ''AP20150100000121'', ''[6188]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000121]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02838397026062', '2015-05-17 17:41:12'),
(5632, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000121''', 'Aptransaction/invoicePosting', '0.043169975280762', '2015-05-17 17:41:12'),
(5633, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''245''', 'Gltransaction/journalPosting', '0.30428099632263', '2015-05-17 17:43:09'),
(5634, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000121''', 'Gltransaction/journalPosting', '0.028702974319458', '2015-05-17 17:43:09'),
(5635, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.061215162277222', '2015-05-17 17:43:09'),
(5636, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034546136856079', '2015-05-17 17:43:09'),
(5637, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060615062713623', '2015-05-17 17:43:09'),
(5638, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056669950485229', '2015-05-17 17:43:09'),
(5639, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''125''', 'purchasetransaction/receiveItemPost', '0.041731119155884', '2015-05-17 17:44:28'),
(5640, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 111 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028503894805908', '2015-05-17 17:44:28'),
(5641, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000111'' WHERE `ID` =  ''125''', 'purchasetransaction/receiveItemPost', '0.064764022827148', '2015-05-17 17:44:28'),
(5642, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000111'', ''GRN20150517[00000122]'', '' [ GRN20150517[00000122] ]'', ''8'', ''2015-04-15'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070621967315674', '2015-05-17 17:44:28'),
(5643, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''123'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.038455009460449', '2015-05-17 17:44:28'),
(5644, 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'', ''PO20150100000111'', 1, ''[6188]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150517[00000122]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065567970275879', '2015-05-17 17:44:28'),
(5645, 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, ''PO20150100000111'', ''[6188]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150517[00000125]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028279066085815', '2015-05-17 17:44:28'),
(5646, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41366.98, `total_amount_cr` = 41366.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000111''', 'purchasetransaction/receiveItemPost', '0.036668062210083', '2015-05-17 17:44:28'),
(5647, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''246''', 'Gltransaction/journalPosting', '0.32348418235779', '2015-05-17 17:45:26'),
(5648, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000111''', 'Gltransaction/journalPosting', '0.065914869308472', '2015-05-17 17:45:26'),
(5649, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.083093881607056', '2015-05-17 17:45:26'),
(5650, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056826829910278', '2015-05-17 17:45:26'),
(5651, 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'', ''5360'', ''PERODUA MYVI'', ''PM2M603S002125360'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.044487953186035', '2015-05-17 17:47:47'),
(5652, 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-16'', ''IV02115916'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1014289855957', '2015-05-17 17:49:43'),
(5653, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (125, ''2'', ''124'', ''1'', ''PM2M603S002125360'', ''1'', ''16'', ''43818.93'', ''43818.93'', ''15'', ''6'', ''2629.14'', ''46448.07'')', 'aptransaction/savePurchaseRow', '0.055169105529785', '2015-05-17 17:49:43'),
(5654, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2629.14'', `totalAmount` = ''46448.07'' WHERE `ID` =  125', 'aptransaction/savePurchaseRow', '0.055644989013672', '2015-05-17 17:49:43'),
(5655, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =125', 'aptransaction/savePurchaseRow', '0.044129848480225', '2015-05-17 17:49:43'),
(5656, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''125'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051675081253052', '2015-05-17 17:50:00');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5657, 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-16'', ''0'', ''IV02115916'', ''2'')', 'Aptransaction/invoicePosting', '0.044273853302002', '2015-05-17 17:50:00'),
(5658, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (126, ''125'', ''2'', ''124'', ''1'', -1, ''PM2M603S002125360'', ''1'', ''1'', ''1'', ''43818.93'', 43818.93)', 'Aptransaction/invoicePosting', '0.036395072937012', '2015-05-17 17:50:00'),
(5659, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 127 WHERE `ID` =  ''126''', 'Aptransaction/invoicePosting', '0.054960012435913', '2015-05-17 17:50:00'),
(5660, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 122 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.052921056747437', '2015-05-17 17:50:00'),
(5661, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000122'' WHERE `ID` =  ''125''', 'Aptransaction/invoicePosting', '0.054898977279663', '2015-05-17 17:50:00'),
(5662, 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'', ''AP20150100000122'', ''PI20150517[00000122]'', ''Purchase Invoice Confirm [ PI20150517[00000122] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 46448.07, 46448.07, ''2'')', 'Aptransaction/invoicePosting', '0.032372951507568', '2015-05-17 17:50:00'),
(5663, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000122'', 1, ''[5360]'', ''138'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000122]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.046526908874512', '2015-05-17 17:50:00'),
(5664, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000122'', ''[5360]'', ''38'', ''PERODUA SALES SDN BHD'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''PI20150517[00000122]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038165092468262', '2015-05-17 17:50:00'),
(5665, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000122'', ''[5360]'', ''34'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000122]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035608053207397', '2015-05-17 17:50:00'),
(5666, 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, ''AP20150100000122'', ''[5360]'', ''138'', ''PERODUA SALES SDN BHD'', 2629.14, ''1'', ''1'', ''2629.14'', ''1'', ''2015'', ''1'', ''PI20150517[00000122]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038187980651855', '2015-05-17 17:50:00'),
(5667, 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` =  ''AP20150100000122''', 'Aptransaction/invoicePosting', '0.059069156646729', '2015-05-17 17:50:00'),
(5668, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''247''', 'Gltransaction/journalPosting', '0.31341695785522', '2015-05-17 17:51:28'),
(5669, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000122''', 'Gltransaction/journalPosting', '0.050501108169556', '2015-05-17 17:51:28'),
(5670, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039165019989014', '2015-05-17 17:51:28'),
(5671, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034894943237305', '2015-05-17 17:51:28'),
(5672, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027272939682007', '2015-05-17 17:51:28'),
(5673, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034881114959717', '2015-05-17 17:51:28'),
(5674, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''126''', 'purchasetransaction/receiveItemPost', '0.03435492515564', '2015-05-17 17:51:59'),
(5675, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 112 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.043503046035767', '2015-05-17 17:51:59'),
(5676, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000112'' WHERE `ID` =  ''126''', 'purchasetransaction/receiveItemPost', '0.039415121078491', '2015-05-17 17:51:59'),
(5677, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000112'', ''GRN20150517[00000123]'', '' [ GRN20150517[00000123] ]'', ''8'', ''2015-04-16'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051789999008179', '2015-05-17 17:51:59'),
(5678, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''124'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.038803100585938', '2015-05-17 17:51:59'),
(5679, 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'', ''PO20150100000112'', 1, ''[5360]PERODUA MYVI'', ''38'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''1'', ''GRN20150517[00000123]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028401851654053', '2015-05-17 17:51:59'),
(5680, 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, ''PO20150100000112'', ''[5360]PERODUA MYVI'', ''21'', 43818.93, ''1'', ''1'', ''43818.93'', ''1'', ''2015'', ''GRN20150517[00000126]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036216974258423', '2015-05-17 17:51:59'),
(5681, 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` =  ''PO20150100000112''', 'purchasetransaction/receiveItemPost', '0.050902843475342', '2015-05-17 17:51:59'),
(5682, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''248''', 'Gltransaction/journalPosting', '0.081412076950073', '2015-05-17 17:53:05'),
(5683, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000112''', 'Gltransaction/journalPosting', '0.043813943862915', '2015-05-17 17:53:05'),
(5684, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051903963088989', '2015-05-17 17:53:05'),
(5685, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027013778686523', '2015-05-17 17:53:05'),
(5686, 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'', ''6238'', ''PERODUA MYVI'', ''PM2M602S002226238'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049499034881592', '2015-05-17 18:00:59'),
(5687, 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-17'', ''IV02116396'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.13307905197144', '2015-05-17 18:02:32'),
(5688, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (126, ''2'', ''125'', ''1'', ''PM2M602S002226238'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.038708925247192', '2015-05-17 18:02:32'),
(5689, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  126', 'aptransaction/savePurchaseRow', '0.032737970352173', '2015-05-17 18:02:32'),
(5690, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =126', 'aptransaction/savePurchaseRow', '0.028692007064819', '2015-05-17 18:02:32'),
(5691, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''126'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038226842880249', '2015-05-17 18:02:52'),
(5692, 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-17'', ''0'', ''IV02116396'', ''2'')', 'Aptransaction/invoicePosting', '0.080908060073853', '2015-05-17 18:02:52'),
(5693, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (127, ''126'', ''2'', ''125'', ''1'', -1, ''PM2M602S002226238'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.05859899520874', '2015-05-17 18:02:52'),
(5694, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 128 WHERE `ID` =  ''127''', 'Aptransaction/invoicePosting', '0.029056072235107', '2015-05-17 18:02:52'),
(5695, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 123 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.02811598777771', '2015-05-17 18:02:52'),
(5696, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000123'' WHERE `ID` =  ''126''', 'Aptransaction/invoicePosting', '0.037168025970459', '2015-05-17 18:02:52'),
(5697, 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'', ''AP20150100000123'', ''PI20150517[00000123]'', ''Purchase Invoice Confirm [ PI20150517[00000123] ]'', ''3'', ''2015-04-17'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.059075117111206', '2015-05-17 18:02:52'),
(5698, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000123'', 1, ''[6238]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000123]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064507007598877', '2015-05-17 18:02:52'),
(5699, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000123'', ''[6238]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150517[00000123]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027004957199097', '2015-05-17 18:02:52'),
(5700, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000123'', ''[6238]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000123]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03564715385437', '2015-05-17 18:02:52'),
(5701, 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, ''AP20150100000123'', ''[6238]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150517[00000123]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03818678855896', '2015-05-17 18:02:52'),
(5702, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000123''', 'Aptransaction/invoicePosting', '0.064905166625977', '2015-05-17 18:02:52'),
(5703, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''249''', 'Gltransaction/journalPosting', '0.073392868041992', '2015-05-17 18:04:08'),
(5704, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000123''', 'Gltransaction/journalPosting', '0.044275999069214', '2015-05-17 18:04:08'),
(5705, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.076540946960449', '2015-05-17 18:04:09'),
(5706, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075098991394043', '2015-05-17 18:04:09'),
(5707, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026259183883667', '2015-05-17 18:04:09'),
(5708, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035537004470825', '2015-05-17 18:04:09'),
(5709, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''127''', 'purchasetransaction/receiveItemPost', '0.049909830093384', '2015-05-17 18:04:40'),
(5710, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 113 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.063041925430298', '2015-05-17 18:04:40'),
(5711, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000113'' WHERE `ID` =  ''127''', 'purchasetransaction/receiveItemPost', '0.048069000244141', '2015-05-17 18:04:40'),
(5712, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000113'', ''GRN20150517[00000124]'', '' [ GRN20150517[00000124] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065086126327515', '2015-05-17 18:04:40'),
(5713, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''125'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.056679964065552', '2015-05-17 18:04:40'),
(5714, 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'', ''PO20150100000113'', 1, ''[6238]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150517[00000124]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032711982727051', '2015-05-17 18:04:40'),
(5715, 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, ''PO20150100000113'', ''[6238]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150517[00000127]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036399841308594', '2015-05-17 18:04:40'),
(5716, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41366.98, `total_amount_cr` = 41366.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000113''', 'purchasetransaction/receiveItemPost', '0.065767049789429', '2015-05-17 18:04:40'),
(5717, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''250''', 'Gltransaction/journalPosting', '0.3042688369751', '2015-05-17 18:05:49'),
(5718, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000113''', 'Gltransaction/journalPosting', '0.054290056228638', '2015-05-17 18:05:49'),
(5719, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.065670013427734', '2015-05-17 18:05:49'),
(5720, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026114940643311', '2015-05-17 18:05:49'),
(5721, 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'', ''6704'', ''PERODUA MYVI'', ''PM2M602S002226704'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.057404041290283', '2015-05-17 18:07:36'),
(5722, 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-17'', ''IV02116508'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10357403755188', '2015-05-17 18:09:05'),
(5723, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (127, ''2'', ''126'', ''1'', ''PM2M602S002226704'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.039233922958374', '2015-05-17 18:09:05'),
(5724, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  127', 'aptransaction/savePurchaseRow', '0.062510967254639', '2015-05-17 18:09:05'),
(5725, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =127', 'aptransaction/savePurchaseRow', '0.044584989547729', '2015-05-17 18:09:05'),
(5726, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''127'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.04367208480835', '2015-05-17 18:09:25'),
(5727, 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-17'', ''0'', ''IV02116508'', ''2'')', 'Aptransaction/invoicePosting', '0.047693014144897', '2015-05-17 18:09:25'),
(5728, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (128, ''127'', ''2'', ''126'', ''1'', -1, ''PM2M602S002226704'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.06640100479126', '2015-05-17 18:09:25'),
(5729, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 129 WHERE `ID` =  ''128''', 'Aptransaction/invoicePosting', '0.04338002204895', '2015-05-17 18:09:25'),
(5730, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 124 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028890132904053', '2015-05-17 18:09:25'),
(5731, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000124'' WHERE `ID` =  ''127''', 'Aptransaction/invoicePosting', '0.043323993682861', '2015-05-17 18:09:25'),
(5732, 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'', ''AP20150100000124'', ''PI20150517[00000124]'', ''Purchase Invoice Confirm [ PI20150517[00000124] ]'', ''3'', ''2015-04-17'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.051982164382935', '2015-05-17 18:09:25'),
(5733, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000124'', 1, ''[6704]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000124]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048952102661133', '2015-05-17 18:09:25'),
(5734, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000124'', ''[6704]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000124]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035814046859741', '2015-05-17 18:09:25'),
(5735, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000124'', ''[6704]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000124]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026911020278931', '2015-05-17 18:09:25'),
(5736, 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, ''AP20150100000124'', ''[6704]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000124]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035811901092529', '2015-05-17 18:09:25'),
(5737, 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` =  ''AP20150100000124''', 'Aptransaction/invoicePosting', '0.039280891418457', '2015-05-17 18:09:25'),
(5738, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''251''', 'Gltransaction/journalPosting', '0.060899019241333', '2015-05-17 18:10:21'),
(5739, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000124''', 'Gltransaction/journalPosting', '0.065388917922974', '2015-05-17 18:10:21'),
(5740, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043726921081543', '2015-05-17 18:10:21'),
(5741, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037162065505981', '2015-05-17 18:10:21'),
(5742, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035871982574463', '2015-05-17 18:10:21'),
(5743, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037032127380371', '2015-05-17 18:10:21'),
(5744, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''128''', 'purchasetransaction/receiveItemPost', '0.045315980911255', '2015-05-17 18:10:47'),
(5745, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 114 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028474092483521', '2015-05-17 18:10:47'),
(5746, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000114'' WHERE `ID` =  ''128''', 'purchasetransaction/receiveItemPost', '0.065537929534912', '2015-05-17 18:10:47'),
(5747, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000114'', ''GRN20150517[00000125]'', '' [ GRN20150517[00000125] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.052789926528931', '2015-05-17 18:10:47'),
(5748, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''126'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034356832504272', '2015-05-17 18:10:47'),
(5749, 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'', ''PO20150100000114'', 1, ''[6704]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150517[00000125]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.055018901824951', '2015-05-17 18:10:47'),
(5750, 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, ''PO20150100000114'', ''[6704]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150517[00000128]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.0368971824646', '2015-05-17 18:10:47'),
(5751, 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` =  ''PO20150100000114''', 'purchasetransaction/receiveItemPost', '0.039176940917969', '2015-05-17 18:10:47'),
(5752, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''252''', 'Gltransaction/journalPosting', '0.30792498588562', '2015-05-17 18:11:50'),
(5753, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000114''', 'Gltransaction/journalPosting', '0.054304838180542', '2015-05-17 18:11:51'),
(5754, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.10633206367493', '2015-05-17 18:11:51'),
(5755, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043205976486206', '2015-05-17 18:11:51'),
(5756, 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'', ''2362'', ''PERODUA ALZA'', ''PM2M502G002242362'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.058506965637207', '2015-05-17 18:23:12'),
(5757, 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-18'', ''IV02116915'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.060539960861206', '2015-05-17 18:24:50'),
(5758, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (128, ''2'', ''127'', ''1'', ''PM2M502G002242362'', ''1'', ''16'', ''57265.78'', ''57265.78'', ''15'', ''6'', ''3435.95'', ''60701.73'')', 'aptransaction/savePurchaseRow', '0.065474987030029', '2015-05-17 18:24:50'),
(5759, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  128', 'aptransaction/savePurchaseRow', '0.033159017562866', '2015-05-17 18:24:50'),
(5760, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =128', 'aptransaction/savePurchaseRow', '0.039119958877563', '2015-05-17 18:24:50'),
(5761, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''128'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.046221971511841', '2015-05-17 18:25:12'),
(5762, 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-18'', ''0'', ''IV02116915'', ''2'')', 'Aptransaction/invoicePosting', '0.065003156661987', '2015-05-17 18:25:12'),
(5763, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (129, ''128'', ''2'', ''127'', ''1'', -1, ''PM2M502G002242362'', ''1'', ''1'', ''1'', ''57265.78'', 57265.78)', 'Aptransaction/invoicePosting', '0.059861898422241', '2015-05-17 18:25:12'),
(5764, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 130 WHERE `ID` =  ''129''', 'Aptransaction/invoicePosting', '0.03875994682312', '2015-05-17 18:25:12'),
(5765, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 125 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028422117233276', '2015-05-17 18:25:12'),
(5766, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000125'' WHERE `ID` =  ''128''', 'Aptransaction/invoicePosting', '0.037397146224976', '2015-05-17 18:25:13'),
(5767, 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'', ''AP20150100000125'', ''PI20150517[00000125]'', ''Purchase Invoice Confirm [ PI20150517[00000125] ]'', ''3'', ''2015-04-18'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/invoicePosting', '0.047749996185303', '2015-05-17 18:25:13'),
(5768, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000125'', 1, ''[2362]'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000125]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064380884170532', '2015-05-17 18:25:13'),
(5769, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000125'', ''[2362]'', ''38'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150517[00000125]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026628017425537', '2015-05-17 18:25:13'),
(5770, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000125'', ''[2362]'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000125]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035721063613892', '2015-05-17 18:25:13'),
(5771, 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, ''AP20150100000125'', ''[2362]'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150517[00000125]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026579141616821', '2015-05-17 18:25:13'),
(5772, 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` =  ''AP20150100000125''', 'Aptransaction/invoicePosting', '0.037251949310303', '2015-05-17 18:25:13'),
(5773, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''253''', 'Gltransaction/journalPosting', '0.4241099357605', '2015-05-17 18:26:18'),
(5774, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000125''', 'Gltransaction/journalPosting', '0.055357933044434', '2015-05-17 18:26:18'),
(5775, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04827094078064', '2015-05-17 18:26:18'),
(5776, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.10864996910095', '2015-05-17 18:26:18'),
(5777, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0365891456604', '2015-05-17 18:26:18'),
(5778, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053692817687988', '2015-05-17 18:26:18'),
(5779, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''129''', 'purchasetransaction/receiveItemPost', '0.050243139266968', '2015-05-17 18:26:54'),
(5780, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 115 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.052175045013428', '2015-05-17 18:26:54'),
(5781, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000115'' WHERE `ID` =  ''129''', 'purchasetransaction/receiveItemPost', '0.043363094329834', '2015-05-17 18:26:54'),
(5782, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000115'', ''GRN20150517[00000126]'', '' [ GRN20150517[00000126] ]'', ''8'', ''2015-04-18'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053114891052246', '2015-05-17 18:26:54'),
(5783, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''127'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.028139114379883', '2015-05-17 18:26:54'),
(5784, 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'', ''PO20150100000115'', 1, ''[2362]PERODUA ALZA'', ''38'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''GRN20150517[00000126]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.038456916809082', '2015-05-17 18:26:54');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5785, 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, ''PO20150100000115'', ''[2362]PERODUA ALZA'', ''21'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''GRN20150517[00000129]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.026210069656372', '2015-05-17 18:26:54'),
(5786, 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` =  ''PO20150100000115''', 'purchasetransaction/receiveItemPost', '0.061009883880615', '2015-05-17 18:26:54'),
(5787, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''254''', 'Gltransaction/journalPosting', '0.29349803924561', '2015-05-17 18:28:12'),
(5788, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000115''', 'Gltransaction/journalPosting', '0.066444158554077', '2015-05-17 18:28:12'),
(5789, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033085107803345', '2015-05-17 18:28:12'),
(5790, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03718113899231', '2015-05-17 18:28:12'),
(5791, 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'', ''3190'', ''PERODUA AXIA'', ''PM2B200S003063190'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.05775785446167', '2015-05-17 18:31:09'),
(5792, 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-20'', ''IV02117432'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10757803916931', '2015-05-17 18:33:05'),
(5793, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (129, ''2'', ''128'', ''1'', ''PM2B200S003063190'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.066298961639404', '2015-05-17 18:33:05'),
(5794, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  129', 'aptransaction/savePurchaseRow', '0.037195205688477', '2015-05-17 18:33:05'),
(5795, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =129', 'aptransaction/savePurchaseRow', '0.06648588180542', '2015-05-17 18:33:05'),
(5796, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''129'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.048985004425049', '2015-05-17 18:33:22'),
(5797, 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-20'', ''0'', ''IV02117432'', ''2'')', 'Aptransaction/invoicePosting', '0.15829801559448', '2015-05-17 18:33:22'),
(5798, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (130, ''129'', ''2'', ''128'', ''1'', -1, ''PM2B200S003063190'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.049044132232666', '2015-05-17 18:33:22'),
(5799, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 131 WHERE `ID` =  ''130''', 'Aptransaction/invoicePosting', '0.038599014282227', '2015-05-17 18:33:22'),
(5800, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 126 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.050980091094971', '2015-05-17 18:33:22'),
(5801, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000126'' WHERE `ID` =  ''129''', 'Aptransaction/invoicePosting', '0.048660039901733', '2015-05-17 18:33:22'),
(5802, 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'', ''AP20150100000126'', ''PI20150517[00000126]'', ''Purchase Invoice Confirm [ PI20150517[00000126] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.058823108673096', '2015-05-17 18:33:22'),
(5803, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000126'', 1, ''[3190]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150517[00000126]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048141002655029', '2015-05-17 18:33:22'),
(5804, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000126'', ''[3190]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150517[00000126]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036578893661499', '2015-05-17 18:33:22'),
(5805, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000126'', ''[3190]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150517[00000126]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037160158157349', '2015-05-17 18:33:22'),
(5806, 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, ''AP20150100000126'', ''[3190]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150517[00000126]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.047722101211548', '2015-05-17 18:33:22'),
(5807, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000126''', 'Aptransaction/invoicePosting', '0.043762922286987', '2015-05-17 18:33:22'),
(5808, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''255''', 'Gltransaction/journalPosting', '0.045979976654053', '2015-05-17 18:34:19'),
(5809, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000126''', 'Gltransaction/journalPosting', '0.049110889434814', '2015-05-17 18:34:19'),
(5810, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.044459104537964', '2015-05-17 18:34:19'),
(5811, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036417007446289', '2015-05-17 18:34:19'),
(5812, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036792039871216', '2015-05-17 18:34:19'),
(5813, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03652811050415', '2015-05-17 18:34:19'),
(5814, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''130''', 'purchasetransaction/receiveItemPost', '0.034879922866821', '2015-05-17 18:35:16'),
(5815, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 116 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039098024368286', '2015-05-17 18:35:16'),
(5816, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000116'' WHERE `ID` =  ''130''', 'purchasetransaction/receiveItemPost', '0.049597024917603', '2015-05-17 18:35:16'),
(5817, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000116'', ''GRN20150517[00000127]'', '' [ GRN20150517[00000127] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047497987747192', '2015-05-17 18:35:17'),
(5818, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''128'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034138917922974', '2015-05-17 18:35:17'),
(5819, 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'', ''PO20150100000116'', 1, ''[3190]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150517[00000127]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053880929946899', '2015-05-17 18:35:17'),
(5820, 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, ''PO20150100000116'', ''[3190]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150517[00000130]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043883085250854', '2015-05-17 18:35:17'),
(5821, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000116''', 'purchasetransaction/receiveItemPost', '0.03787899017334', '2015-05-17 18:35:17'),
(5822, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''256''', 'Gltransaction/journalPosting', '0.063959836959839', '2015-05-17 18:36:27'),
(5823, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000116''', 'Gltransaction/journalPosting', '0.038421154022217', '2015-05-17 18:36:27'),
(5824, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035115957260132', '2015-05-17 18:36:27'),
(5825, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.058959007263184', '2015-05-17 18:36:27'),
(5826, 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'', ''4366'', ''PERODUA ALZA'', ''PM2M502G002244366'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050733089447021', '2015-05-17 18:38:50'),
(5827, 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-20'', ''IV02117762'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.069779872894287', '2015-05-17 18:40:07'),
(5828, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (130, ''2'', ''129'', ''1'', ''PM2M502G002244366'', ''1'', ''16'', ''48843.18'', ''48843.18'', ''15'', ''6'', ''2930.59'', ''51773.77'')', 'aptransaction/savePurchaseRow', '0.049330949783325', '2015-05-17 18:40:07'),
(5829, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2930.59'', `totalAmount` = ''51773.77'' WHERE `ID` =  130', 'aptransaction/savePurchaseRow', '0.02174186706543', '2015-05-17 18:40:07'),
(5830, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =130', 'aptransaction/savePurchaseRow', '0.038758993148804', '2015-05-17 18:40:07'),
(5831, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''130'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.037291049957275', '2015-05-17 18:40:22'),
(5832, 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-20'', ''0'', ''IV02117762'', ''2'')', 'Aptransaction/invoicePosting', '0.086068868637085', '2015-05-17 18:40:22'),
(5833, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (131, ''130'', ''2'', ''129'', ''1'', -1, ''PM2M502G002244366'', ''1'', ''1'', ''1'', ''48843.18'', 48843.18)', 'Aptransaction/invoicePosting', '0.043574094772339', '2015-05-17 18:40:22'),
(5834, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 132 WHERE `ID` =  ''131''', 'Aptransaction/invoicePosting', '0.038395881652832', '2015-05-17 18:40:22'),
(5835, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 127 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039938926696777', '2015-05-17 18:40:22'),
(5836, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000127'' WHERE `ID` =  ''130''', 'Aptransaction/invoicePosting', '0.026693105697632', '2015-05-17 18:40:22'),
(5837, 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'', ''AP20150100000127'', ''PI20150517[00000127]'', ''Purchase Invoice Confirm [ PI20150517[00000127] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 51773.77, 51773.77, ''2'')', 'Aptransaction/invoicePosting', '0.047957181930542', '2015-05-17 18:40:22'),
(5838, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000127'', 1, ''[4366]'', ''138'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000127]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064480066299438', '2015-05-17 18:40:22'),
(5839, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000127'', ''[4366]'', ''38'', ''PERODUA SALES SDN BHD'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''PI20150517[00000127]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037446022033691', '2015-05-17 18:40:22'),
(5840, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000127'', ''[4366]'', ''34'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000127]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.025195121765137', '2015-05-17 18:40:22'),
(5841, 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, ''AP20150100000127'', ''[4366]'', ''138'', ''PERODUA SALES SDN BHD'', 2930.59, ''1'', ''1'', ''2930.59'', ''1'', ''2015'', ''1'', ''PI20150517[00000127]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037462949752808', '2015-05-17 18:40:22'),
(5842, 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` =  ''AP20150100000127''', 'Aptransaction/invoicePosting', '0.026515007019043', '2015-05-17 18:40:22'),
(5843, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''257''', 'Gltransaction/journalPosting', '0.073454141616821', '2015-05-17 18:41:24'),
(5844, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000127''', 'Gltransaction/journalPosting', '0.027115106582642', '2015-05-17 18:41:25'),
(5845, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060827970504761', '2015-05-17 18:41:25'),
(5846, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041483879089355', '2015-05-17 18:41:25'),
(5847, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075767993927002', '2015-05-17 18:41:25'),
(5848, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052642822265625', '2015-05-17 18:41:25'),
(5849, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''131''', 'purchasetransaction/receiveItemPost', '0.039669990539551', '2015-05-17 18:41:53'),
(5850, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 117 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.023821830749512', '2015-05-17 18:41:53'),
(5851, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000117'' WHERE `ID` =  ''131''', 'purchasetransaction/receiveItemPost', '0.065996885299683', '2015-05-17 18:41:53'),
(5852, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000117'', ''GRN20150517[00000128]'', '' [ GRN20150517[00000128] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.063764095306396', '2015-05-17 18:41:53'),
(5853, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''129'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034864187240601', '2015-05-17 18:41:53'),
(5854, 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'', ''PO20150100000117'', 1, ''[4366]PERODUA ALZA'', ''38'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''1'', ''GRN20150517[00000128]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.026798963546753', '2015-05-17 18:41:53'),
(5855, 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, ''PO20150100000117'', ''[4366]PERODUA ALZA'', ''21'', 48843.18, ''1'', ''1'', ''48843.18'', ''1'', ''2015'', ''GRN20150517[00000131]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037869930267334', '2015-05-17 18:41:53'),
(5856, 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` =  ''PO20150100000117''', 'purchasetransaction/receiveItemPost', '0.054332971572876', '2015-05-17 18:41:53'),
(5857, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''258''', 'Gltransaction/journalPosting', '0.075414896011353', '2015-05-17 18:42:52'),
(5858, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000117''', 'Gltransaction/journalPosting', '0.066433906555176', '2015-05-17 18:42:52'),
(5859, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049859046936035', '2015-05-17 18:42:52'),
(5860, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.025873899459839', '2015-05-17 18:42:52'),
(5861, 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'', ''4432'', ''PERODUA ALZA'', ''PM2M502G002244432'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046990156173706', '2015-05-17 19:39:16'),
(5862, 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-20'', ''IV02117781'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14503717422485', '2015-05-17 19:40:52'),
(5863, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (131, ''2'', ''130'', ''1'', ''PM2M502G002244432'', ''1'', ''16'', ''46090.99'', ''46090.99'', ''15'', ''6'', ''2765.46'', ''48856.45'')', 'aptransaction/savePurchaseRow', '0.0484459400177', '2015-05-17 19:40:52'),
(5864, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2765.46'', `totalAmount` = ''48856.45'' WHERE `ID` =  131', 'aptransaction/savePurchaseRow', '0.036484956741333', '2015-05-17 19:40:52'),
(5865, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =131', 'aptransaction/savePurchaseRow', '0.10581493377686', '2015-05-17 19:40:52'),
(5866, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''131'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.035186052322388', '2015-05-17 19:41:11'),
(5867, 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-20'', ''0'', ''IV02117781'', ''2'')', 'Aptransaction/invoicePosting', '0.065302848815918', '2015-05-17 19:41:11'),
(5868, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (132, ''131'', ''2'', ''130'', ''1'', -1, ''PM2M502G002244432'', ''1'', ''1'', ''1'', ''46090.99'', 46090.99)', 'Aptransaction/invoicePosting', '0.093744993209839', '2015-05-17 19:41:11'),
(5869, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 133 WHERE `ID` =  ''132''', 'Aptransaction/invoicePosting', '0.054394006729126', '2015-05-17 19:41:11'),
(5870, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 128 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039301872253418', '2015-05-17 19:41:11'),
(5871, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000128'' WHERE `ID` =  ''131''', 'Aptransaction/invoicePosting', '0.027642965316772', '2015-05-17 19:41:11'),
(5872, 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'', ''AP20150100000128'', ''PI20150517[00000128]'', ''Purchase Invoice Confirm [ PI20150517[00000128] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 48856.45, 48856.45, ''2'')', 'Aptransaction/invoicePosting', '0.036782026290894', '2015-05-17 19:41:11'),
(5873, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000128'', 1, ''[4432]'', ''138'', ''PERODUA SALES SDN BHD'', 46090.99, ''1'', ''1'', ''46090.99'', ''1'', ''2015'', ''1'', ''PI20150517[00000128]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.070220947265625', '2015-05-17 19:41:11'),
(5874, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000128'', ''[4432]'', ''38'', ''PERODUA SALES SDN BHD'', 46090.99, ''1'', ''1'', ''46090.99'', ''1'', ''2015'', ''1'', ''PI20150517[00000128]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.025713920593262', '2015-05-17 19:41:11'),
(5875, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000128'', ''[4432]'', ''34'', ''PERODUA SALES SDN BHD'', 2765.46, ''1'', ''1'', ''2765.46'', ''1'', ''2015'', ''1'', ''PI20150517[00000128]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036986112594604', '2015-05-17 19:41:11'),
(5876, 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, ''AP20150100000128'', ''[4432]'', ''138'', ''PERODUA SALES SDN BHD'', 2765.46, ''1'', ''1'', ''2765.46'', ''1'', ''2015'', ''1'', ''PI20150517[00000128]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.051985025405884', '2015-05-17 19:41:11'),
(5877, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48856.45, `total_amount_cr` = 48856.45, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000128''', 'Aptransaction/invoicePosting', '0.056389093399048', '2015-05-17 19:41:11'),
(5878, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''259''', 'Gltransaction/journalPosting', '0.097349166870117', '2015-05-17 19:42:23'),
(5879, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000128''', 'Gltransaction/journalPosting', '0.050158023834229', '2015-05-17 19:42:23'),
(5880, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.045099973678589', '2015-05-17 19:42:24'),
(5881, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048370122909546', '2015-05-17 19:42:24'),
(5882, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.046752214431763', '2015-05-17 19:42:24'),
(5883, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053531169891357', '2015-05-17 19:42:24'),
(5884, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''132''', 'purchasetransaction/receiveItemPost', '0.038207054138184', '2015-05-17 19:42:55'),
(5885, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 118 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039107799530029', '2015-05-17 19:42:55'),
(5886, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000118'' WHERE `ID` =  ''132''', 'purchasetransaction/receiveItemPost', '0.02802300453186', '2015-05-17 19:42:55'),
(5887, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000118'', ''GRN20150517[00000129]'', '' [ GRN20150517[00000129] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.063187837600708', '2015-05-17 19:42:55'),
(5888, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''130'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034900903701782', '2015-05-17 19:42:55'),
(5889, 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'', ''PO20150100000118'', 1, ''[4432]PERODUA ALZA'', ''38'', 46090.99, ''1'', ''1'', ''46090.99'', ''1'', ''2015'', ''1'', ''GRN20150517[00000129]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06031608581543', '2015-05-17 19:42:55'),
(5890, 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, ''PO20150100000118'', ''[4432]PERODUA ALZA'', ''21'', 46090.99, ''1'', ''1'', ''46090.99'', ''1'', ''2015'', ''GRN20150517[00000132]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037476062774658', '2015-05-17 19:42:55'),
(5891, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46090.99, `total_amount_cr` = 46090.99, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000118''', 'purchasetransaction/receiveItemPost', '0.027441024780273', '2015-05-17 19:42:55'),
(5892, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''260''', 'Gltransaction/journalPosting', '0.075610876083374', '2015-05-17 19:44:10'),
(5893, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000118''', 'Gltransaction/journalPosting', '0.043755054473877', '2015-05-17 19:44:10'),
(5894, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049357891082764', '2015-05-17 19:44:10'),
(5895, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035499095916748', '2015-05-17 19:44:10'),
(5896, 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'', ''6892'', ''PERODUA MYVI'', ''PM2M602S002226892'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.036539077758789', '2015-05-17 19:45:50'),
(5897, 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-20'', ''IV02117842'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10643696784973', '2015-05-17 19:47:08'),
(5898, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (132, ''2'', ''131'', ''1'', ''PM2M602S002226892'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.066256999969482', '2015-05-17 19:47:08'),
(5899, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  132', 'aptransaction/savePurchaseRow', '0.035887956619263', '2015-05-17 19:47:08'),
(5900, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =132', 'aptransaction/savePurchaseRow', '0.054687023162842', '2015-05-17 19:47:08'),
(5901, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''132'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.026487827301025', '2015-05-17 19:47:24'),
(5902, 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-20'', ''0'', ''IV02117842'', ''2'')', 'Aptransaction/invoicePosting', '0.048207998275757', '2015-05-17 19:47:24'),
(5903, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (133, ''132'', ''2'', ''131'', ''1'', -1, ''PM2M602S002226892'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.032625198364258', '2015-05-17 19:47:24'),
(5904, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 134 WHERE `ID` =  ''133''', 'Aptransaction/invoicePosting', '0.032819986343384', '2015-05-17 19:47:24'),
(5905, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 129 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.040050029754639', '2015-05-17 19:47:24'),
(5906, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000129'' WHERE `ID` =  ''132''', 'Aptransaction/invoicePosting', '0.065925121307373', '2015-05-17 19:47:24'),
(5907, 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'', ''AP20150100000129'', ''PI20150517[00000129]'', ''Purchase Invoice Confirm [ PI20150517[00000129] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.064471960067749', '2015-05-17 19:47:24'),
(5908, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000129'', 1, ''[6892]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000129]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053418159484863', '2015-05-17 19:47:24'),
(5909, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000129'', ''[6892]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150517[00000129]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036258935928345', '2015-05-17 19:47:24'),
(5910, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000129'', ''[6892]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000129]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026468992233276', '2015-05-17 19:47:24'),
(5911, 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, ''AP20150100000129'', ''[6892]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150517[00000129]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036261081695557', '2015-05-17 19:47:24'),
(5912, 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` =  ''AP20150100000129''', 'Aptransaction/invoicePosting', '0.038911104202271', '2015-05-17 19:47:24');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(5913, 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'', ''5713'', ''PERODUA MYVI'', ''PM2M603S002125713'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.039678812026978', '2015-05-18 00:17:33'),
(5914, 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'', ''PI20150518'', ''2015-04-20'', ''IV02117910'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.076135873794556', '2015-05-18 00:19:14'),
(5915, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (133, ''2'', ''132'', ''1'', ''PM2M603S002125713'', ''1'', ''16'', ''51084.1'', ''51084.1'', ''15'', ''6'', ''3065.05'', ''54149.15'')', 'aptransaction/savePurchaseRow', '0.066286087036133', '2015-05-18 00:19:15'),
(5916, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3065.05'', `totalAmount` = ''54149.15'' WHERE `ID` =  133', 'aptransaction/savePurchaseRow', '0.030107975006104', '2015-05-18 00:19:15'),
(5917, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =133', 'aptransaction/savePurchaseRow', '0.037801027297974', '2015-05-18 00:19:15'),
(5918, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''133'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.084137916564941', '2015-05-18 00:19:36'),
(5919, 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'', ''GRN20150518'', ''2015-04-20'', ''0'', ''IV02117910'', ''2'')', 'Aptransaction/invoicePosting', '0.081960916519165', '2015-05-18 00:19:36'),
(5920, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (134, ''133'', ''2'', ''132'', ''1'', -1, ''PM2M603S002125713'', ''1'', ''1'', ''1'', ''51084.1'', 51084.1)', 'Aptransaction/invoicePosting', '0.043167114257812', '2015-05-18 00:19:36'),
(5921, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 135 WHERE `ID` =  ''134''', 'Aptransaction/invoicePosting', '0.039362192153931', '2015-05-18 00:19:36'),
(5922, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 130 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.049893856048584', '2015-05-18 00:19:36'),
(5923, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000130'' WHERE `ID` =  ''133''', 'Aptransaction/invoicePosting', '0.028285980224609', '2015-05-18 00:19:36'),
(5924, 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'', ''AP20150100000130'', ''PI20150518[00000130]'', ''Purchase Invoice Confirm [ PI20150518[00000130] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 54149.15, 54149.15, ''2'')', 'Aptransaction/invoicePosting', '0.047389030456543', '2015-05-18 00:19:36'),
(5925, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000130'', 1, ''[5713]'', ''138'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000130]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.058510065078735', '2015-05-18 00:19:36'),
(5926, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000130'', ''[5713]'', ''38'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000130]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02631688117981', '2015-05-18 00:19:36'),
(5927, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000130'', ''[5713]'', ''34'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150518[00000130]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.056946039199829', '2015-05-18 00:19:36'),
(5928, 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, ''AP20150100000130'', ''[5713]'', ''138'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150518[00000130]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027842044830322', '2015-05-18 00:19:36'),
(5929, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54149.15, `total_amount_cr` = 54149.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000130''', 'Aptransaction/invoicePosting', '0.043799877166748', '2015-05-18 00:19:37'),
(5930, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''261''', 'Gltransaction/journalPosting', '0.063704967498779', '2015-05-18 00:20:14'),
(5931, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000129''', 'Gltransaction/journalPosting', '0.066288948059082', '2015-05-18 00:20:14'),
(5932, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.071907043457031', '2015-05-18 00:20:14'),
(5933, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026884078979492', '2015-05-18 00:20:14'),
(5934, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035079956054688', '2015-05-18 00:20:14'),
(5935, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049003124237061', '2015-05-18 00:20:14'),
(5936, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''262''', 'Gltransaction/journalPosting', '0.08630895614624', '2015-05-18 00:21:10'),
(5937, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000130''', 'Gltransaction/journalPosting', '0.066460132598877', '2015-05-18 00:21:10'),
(5938, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040138959884644', '2015-05-18 00:21:10'),
(5939, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026952028274536', '2015-05-18 00:21:10'),
(5940, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035012006759644', '2015-05-18 00:21:10'),
(5941, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026926040649414', '2015-05-18 00:21:10'),
(5942, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''134''', 'purchasetransaction/receiveItemPost', '0.078381061553955', '2015-05-18 00:21:57'),
(5943, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 119 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.050545930862427', '2015-05-18 00:21:57'),
(5944, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000119'' WHERE `ID` =  ''134''', 'purchasetransaction/receiveItemPost', '0.028321027755737', '2015-05-18 00:21:57'),
(5945, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000119'', ''GRN20150518[00000131]'', '' [ GRN20150518[00000131] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047980070114136', '2015-05-18 00:21:57'),
(5946, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''132'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033757925033569', '2015-05-18 00:21:57'),
(5947, 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'', ''PO20150100000119'', 1, ''[5713]PERODUA MYVI'', ''38'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''GRN20150518[00000131]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054979085922241', '2015-05-18 00:21:57'),
(5948, 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, ''PO20150100000119'', ''[5713]PERODUA MYVI'', ''21'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''GRN20150518[00000134]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027839183807373', '2015-05-18 00:21:57'),
(5949, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51084.1, `total_amount_cr` = 51084.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000119''', 'purchasetransaction/receiveItemPost', '0.059351921081543', '2015-05-18 00:21:57'),
(5950, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''263''', 'Gltransaction/journalPosting', '0.29419803619385', '2015-05-18 00:25:00'),
(5951, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000119''', 'Gltransaction/journalPosting', '0.05924391746521', '2015-05-18 00:25:00'),
(5952, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051351070404053', '2015-05-18 00:25:00'),
(5953, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027255058288574', '2015-05-18 00:25:00'),
(5954, 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'', ''2980'', ''PERODUA AXIA'', ''PM2B200S003062980'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.045382022857666', '2015-05-18 00:26:37'),
(5955, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119315'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.13663411140442', '2015-05-18 00:28:12'),
(5956, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (134, ''2'', ''133'', ''1'', ''PM2B200S003062980'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.048030138015747', '2015-05-18 00:28:12'),
(5957, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  134', 'aptransaction/savePurchaseRow', '0.035019874572754', '2015-05-18 00:28:12'),
(5958, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =134', 'aptransaction/savePurchaseRow', '0.029181957244873', '2015-05-18 00:28:12'),
(5959, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''134'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036062955856323', '2015-05-18 00:28:31'),
(5960, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119315'', ''2'')', 'Aptransaction/invoicePosting', '0.08028507232666', '2015-05-18 00:28:32'),
(5961, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (135, ''134'', ''2'', ''133'', ''1'', -1, ''PM2B200S003062980'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.044188976287842', '2015-05-18 00:28:32'),
(5962, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 136 WHERE `ID` =  ''135''', 'Aptransaction/invoicePosting', '0.028026819229126', '2015-05-18 00:28:32'),
(5963, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 131 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.0345299243927', '2015-05-18 00:28:32'),
(5964, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000131'' WHERE `ID` =  ''134''', 'Aptransaction/invoicePosting', '0.037121057510376', '2015-05-18 00:28:32'),
(5965, 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'', ''AP20150100000131'', ''PI20150518[00000131]'', ''Purchase Invoice Confirm [ PI20150518[00000131] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.065577983856201', '2015-05-18 00:28:32'),
(5966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000131'', 1, ''[2980]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''1'', ''2015'', ''1'', ''PI20150518[00000131]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053291082382202', '2015-05-18 00:28:32'),
(5967, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000131'', ''[2980]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''1'', ''2015'', ''1'', ''PI20150518[00000131]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03559684753418', '2015-05-18 00:28:32'),
(5968, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000131'', ''[2980]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''1'', ''2015'', ''1'', ''PI20150518[00000131]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02701210975647', '2015-05-18 00:28:32'),
(5969, 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, ''AP20150100000131'', ''[2980]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''1'', ''2015'', ''1'', ''PI20150518[00000131]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.067614078521729', '2015-05-18 00:28:32'),
(5970, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30136.16, `total_amount_cr` = 30136.16, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000131''', 'Aptransaction/invoicePosting', '0.055463075637817', '2015-05-18 00:28:32'),
(5971, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''264''', 'Gltransaction/journalPosting', '0.3206000328064', '2015-05-18 00:30:13'),
(5972, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000131''', 'Gltransaction/journalPosting', '0.029001951217651', '2015-05-18 00:30:13'),
(5973, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.072390794754028', '2015-05-18 00:30:13'),
(5974, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052693843841553', '2015-05-18 00:30:13'),
(5975, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027325868606567', '2015-05-18 00:30:13'),
(5976, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03481912612915', '2015-05-18 00:30:13'),
(5977, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''135''', 'purchasetransaction/receiveItemPost', '0.07272481918335', '2015-05-18 00:31:02'),
(5978, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 120 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.073438167572021', '2015-05-18 00:31:02'),
(5979, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000120'' WHERE `ID` =  ''135''', 'purchasetransaction/receiveItemPost', '0.029120922088623', '2015-05-18 00:31:02'),
(5980, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000120'', ''GRN20150518[00000132]'', '' [ GRN20150518[00000132] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062372922897339', '2015-05-18 00:31:02'),
(5981, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''133'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034840106964111', '2015-05-18 00:31:02'),
(5982, 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'', ''PO20150100000120'', 1, ''[2980]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''1'', ''2015'', ''1'', ''GRN20150518[00000132]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028203964233398', '2015-05-18 00:31:02'),
(5983, 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, ''PO20150100000120'', ''[2980]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''1'', ''2015'', ''GRN20150518[00000135]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036540985107422', '2015-05-18 00:31:02'),
(5984, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28430.34, `total_amount_cr` = 28430.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000120''', 'purchasetransaction/receiveItemPost', '0.076458930969238', '2015-05-18 00:31:02'),
(5985, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''265''', 'Gltransaction/journalPosting', '0.29888081550598', '2015-05-18 00:32:50'),
(5986, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000120''', 'Gltransaction/journalPosting', '0.065368175506592', '2015-05-18 00:32:50'),
(5987, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035135984420776', '2015-05-18 00:32:50'),
(5988, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034604072570801', '2015-05-18 00:32:50'),
(5989, 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'', ''3471'', ''PERODUA AXIA'', ''PM2B200S003063471'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.071668148040771', '2015-05-18 00:34:29'),
(5990, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119358'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.064885854721069', '2015-05-18 00:35:53'),
(5991, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (135, ''2'', ''134'', ''1'', ''PM2B200S003063471'', ''1'', ''16'', ''36708'', ''36708'', ''15'', ''6'', ''2202.48'', ''38910.48'')', 'aptransaction/savePurchaseRow', '0.047155857086182', '2015-05-18 00:35:54'),
(5992, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2202.48'', `totalAmount` = ''38910.48'' WHERE `ID` =  135', 'aptransaction/savePurchaseRow', '0.05516505241394', '2015-05-18 00:35:54'),
(5993, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =135', 'aptransaction/savePurchaseRow', '0.044593095779419', '2015-05-18 00:35:54'),
(5994, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''135'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.06019401550293', '2015-05-18 00:36:17'),
(5995, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119358'', ''2'')', 'Aptransaction/invoicePosting', '0.081975936889648', '2015-05-18 00:36:17'),
(5996, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (136, ''135'', ''2'', ''134'', ''1'', -1, ''PM2B200S003063471'', ''1'', ''1'', ''1'', ''36708'', 36708)', 'Aptransaction/invoicePosting', '0.06528902053833', '2015-05-18 00:36:17'),
(5997, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 137 WHERE `ID` =  ''136''', 'Aptransaction/invoicePosting', '0.044440031051636', '2015-05-18 00:36:18'),
(5998, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 132 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039552211761475', '2015-05-18 00:36:18'),
(5999, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000132'' WHERE `ID` =  ''135''', 'Aptransaction/invoicePosting', '0.028881072998047', '2015-05-18 00:36:18'),
(6000, 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'', ''AP20150100000132'', ''PI20150518[00000132]'', ''Purchase Invoice Confirm [ PI20150518[00000132] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 38910.48, 38910.48, ''2'')', 'Aptransaction/invoicePosting', '0.036334037780762', '2015-05-18 00:36:18'),
(6001, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000132'', 1, ''[3471]'', ''138'', ''PERODUA SALES SDN BHD'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''PI20150518[00000132]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.04668402671814', '2015-05-18 00:36:18'),
(6002, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000132'', ''[3471]'', ''38'', ''PERODUA SALES SDN BHD'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''PI20150518[00000132]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026807069778442', '2015-05-18 00:36:18'),
(6003, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000132'', ''[3471]'', ''34'', ''PERODUA SALES SDN BHD'', 2202.48, ''1'', ''1'', ''2202.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000132]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035680055618286', '2015-05-18 00:36:18'),
(6004, 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, ''AP20150100000132'', ''[3471]'', ''138'', ''PERODUA SALES SDN BHD'', 2202.48, ''1'', ''1'', ''2202.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000132]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02681303024292', '2015-05-18 00:36:18'),
(6005, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38910.48, `total_amount_cr` = 38910.48, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000132''', 'Aptransaction/invoicePosting', '0.059196949005127', '2015-05-18 00:36:18'),
(6006, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''266''', 'Gltransaction/journalPosting', '0.070799827575684', '2015-05-18 00:37:37'),
(6007, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000132''', 'Gltransaction/journalPosting', '0.06537389755249', '2015-05-18 00:37:37'),
(6008, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035319089889526', '2015-05-18 00:37:37'),
(6009, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034265041351318', '2015-05-18 00:37:37'),
(6010, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027651071548462', '2015-05-18 00:37:37'),
(6011, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034440994262695', '2015-05-18 00:37:37'),
(6012, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''136''', 'purchasetransaction/receiveItemPost', '0.040526866912842', '2015-05-18 00:38:10'),
(6013, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 121 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039596080780029', '2015-05-18 00:38:10'),
(6014, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000121'' WHERE `ID` =  ''136''', 'purchasetransaction/receiveItemPost', '0.02889609336853', '2015-05-18 00:38:10'),
(6015, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000121'', ''GRN20150518[00000133]'', '' [ GRN20150518[00000133] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058753967285156', '2015-05-18 00:38:10'),
(6016, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''134'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033798933029175', '2015-05-18 00:38:10'),
(6017, 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'', ''PO20150100000121'', 1, ''[3471]PERODUA AXIA'', ''38'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''GRN20150518[00000133]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05499005317688', '2015-05-18 00:38:10'),
(6018, 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, ''PO20150100000121'', ''[3471]PERODUA AXIA'', ''21'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''GRN20150518[00000136]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054023027420044', '2015-05-18 00:38:10'),
(6019, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36708, `total_amount_cr` = 36708, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000121''', 'purchasetransaction/receiveItemPost', '0.055320024490356', '2015-05-18 00:38:10'),
(6020, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''267''', 'Gltransaction/journalPosting', '0.33024001121521', '2015-05-18 00:39:40'),
(6021, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000121''', 'Gltransaction/journalPosting', '0.065423011779785', '2015-05-18 00:39:41'),
(6022, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063390970230103', '2015-05-18 00:39:41'),
(6023, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.097462892532349', '2015-05-18 00:39:41'),
(6024, 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'', ''3565'', ''PERODUA AXIA'', ''PM2B200S003063565'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.056679010391235', '2015-05-18 00:41:05'),
(6025, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119373'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.076117038726807', '2015-05-18 00:42:38'),
(6026, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (136, ''2'', ''135'', ''1'', ''PM2B200S003063565'', ''1'', ''16'', ''28078.98'', ''28078.98'', ''15'', ''6'', ''1684.74'', ''29763.72'')', 'aptransaction/savePurchaseRow', '0.047277927398682', '2015-05-18 00:42:38'),
(6027, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1684.74'', `totalAmount` = ''29763.72'' WHERE `ID` =  136', 'aptransaction/savePurchaseRow', '0.028775930404663', '2015-05-18 00:42:38'),
(6028, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =136', 'aptransaction/savePurchaseRow', '0.036897897720337', '2015-05-18 00:42:39'),
(6029, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''136'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.03853702545166', '2015-05-18 00:43:04'),
(6030, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119373'', ''2'')', 'Aptransaction/invoicePosting', '0.070897102355957', '2015-05-18 00:43:04'),
(6031, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (137, ''136'', ''2'', ''135'', ''1'', -1, ''PM2B200S003063565'', ''1'', ''1'', ''1'', ''28078.98'', 28078.98)', 'Aptransaction/invoicePosting', '0.043210983276367', '2015-05-18 00:43:04'),
(6032, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 138 WHERE `ID` =  ''137''', 'Aptransaction/invoicePosting', '0.029376983642578', '2015-05-18 00:43:05'),
(6033, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 133 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.04990816116333', '2015-05-18 00:43:05'),
(6034, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000133'' WHERE `ID` =  ''136''', 'Aptransaction/invoicePosting', '0.053905010223389', '2015-05-18 00:43:05'),
(6035, 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'', ''AP20150100000133'', ''PI20150518[00000133]'', ''Purchase Invoice Confirm [ PI20150518[00000133] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 29763.72, 29763.72, ''2'')', 'Aptransaction/invoicePosting', '0.13717007637024', '2015-05-18 00:43:05'),
(6036, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000133'', 1, ''[3565]'', ''138'', ''PERODUA SALES SDN BHD'', 28078.98, ''1'', ''1'', ''28078.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000133]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064992904663086', '2015-05-18 00:43:05'),
(6037, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000133'', ''[3565]'', ''38'', ''PERODUA SALES SDN BHD'', 28078.98, ''1'', ''1'', ''28078.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000133]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027329921722412', '2015-05-18 00:43:05'),
(6038, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000133'', ''[3565]'', ''34'', ''PERODUA SALES SDN BHD'', 1684.74, ''1'', ''1'', ''1684.74'', ''1'', ''2015'', ''1'', ''PI20150518[00000133]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035413980484009', '2015-05-18 00:43:05'),
(6039, 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, ''AP20150100000133'', ''[3565]'', ''138'', ''PERODUA SALES SDN BHD'', 1684.74, ''1'', ''1'', ''1684.74'', ''1'', ''2015'', ''1'', ''PI20150518[00000133]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027287006378174', '2015-05-18 00:43:05');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6040, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 29763.72, `total_amount_cr` = 29763.72, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000133''', 'Aptransaction/invoicePosting', '0.058871030807495', '2015-05-18 00:43:05'),
(6041, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''268''', 'Gltransaction/journalPosting', '0.30755281448364', '2015-05-18 00:44:36'),
(6042, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000133''', 'Gltransaction/journalPosting', '0.065891981124878', '2015-05-18 00:44:36'),
(6043, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049736976623535', '2015-05-18 00:44:36'),
(6044, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053622961044312', '2015-05-18 00:44:37'),
(6045, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052601099014282', '2015-05-18 00:44:37'),
(6046, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05354905128479', '2015-05-18 00:44:37'),
(6047, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''137''', 'purchasetransaction/receiveItemPost', '0.049600124359131', '2015-05-18 00:45:06'),
(6048, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 122 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.052052974700928', '2015-05-18 00:45:06'),
(6049, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000122'' WHERE `ID` =  ''137''', 'purchasetransaction/receiveItemPost', '0.043379068374634', '2015-05-18 00:45:06'),
(6050, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000122'', ''GRN20150518[00000134]'', '' [ GRN20150518[00000134] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.072016000747681', '2015-05-18 00:45:06'),
(6051, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''135'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034404993057251', '2015-05-18 00:45:06'),
(6052, 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'', ''PO20150100000122'', 1, ''[3565]PERODUA AXIA'', ''38'', 28078.98, ''1'', ''1'', ''28078.98'', ''1'', ''2015'', ''1'', ''GRN20150518[00000134]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.055013179779053', '2015-05-18 00:45:06'),
(6053, 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, ''PO20150100000122'', ''[3565]PERODUA AXIA'', ''21'', 28078.98, ''1'', ''1'', ''28078.98'', ''1'', ''2015'', ''GRN20150518[00000137]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028769016265869', '2015-05-18 00:45:06'),
(6054, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28078.98, `total_amount_cr` = 28078.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000122''', 'purchasetransaction/receiveItemPost', '0.047274112701416', '2015-05-18 00:45:06'),
(6055, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''269''', 'Gltransaction/journalPosting', '0.032230138778687', '2015-05-18 00:46:27'),
(6056, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000122''', 'Gltransaction/journalPosting', '0.066425085067749', '2015-05-18 00:46:27'),
(6057, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.038776874542236', '2015-05-18 00:46:27'),
(6058, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027945995330811', '2015-05-18 00:46:27'),
(6059, 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'', ''5812'', ''PERODUA MYVI'', ''PM2M603S002125812'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050938129425049', '2015-05-18 00:53:59'),
(6060, 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'', ''PI20150518'', ''2015-04-22'', ''IV02120120'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11250400543213', '2015-05-18 00:55:41'),
(6061, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (137, ''2'', ''136'', ''1'', ''PM2M603S002125812'', ''1'', ''16'', ''46519.12'', ''46519.12'', ''15'', ''6'', ''2791.15'', ''49310.27'')', 'aptransaction/savePurchaseRow', '0.11002993583679', '2015-05-18 00:55:41'),
(6062, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2791.15'', `totalAmount` = ''49310.27'' WHERE `ID` =  137', 'aptransaction/savePurchaseRow', '0.034783840179443', '2015-05-18 00:55:41'),
(6063, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =137', 'aptransaction/savePurchaseRow', '0.066757917404175', '2015-05-18 00:55:41'),
(6064, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''137'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033674955368042', '2015-05-18 00:55:58'),
(6065, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02120120'', ''2'')', 'Aptransaction/invoicePosting', '0.094064950942993', '2015-05-18 00:55:58'),
(6066, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (138, ''137'', ''2'', ''136'', ''1'', -1, ''PM2M603S002125812'', ''1'', ''1'', ''1'', ''46519.12'', 46519.12)', 'Aptransaction/invoicePosting', '0.041586875915527', '2015-05-18 00:55:58'),
(6067, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 139 WHERE `ID` =  ''138''', 'Aptransaction/invoicePosting', '0.030151844024658', '2015-05-18 00:55:58'),
(6068, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 134 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.038542985916138', '2015-05-18 00:55:58'),
(6069, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000134'' WHERE `ID` =  ''137''', 'Aptransaction/invoicePosting', '0.04438304901123', '2015-05-18 00:55:58'),
(6070, 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'', ''AP20150100000134'', ''PI20150518[00000134]'', ''Purchase Invoice Confirm [ PI20150518[00000134] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 49310.27, 49310.27, ''2'')', 'Aptransaction/invoicePosting', '0.055567979812622', '2015-05-18 00:55:58'),
(6071, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000134'', 1, ''[5812]'', ''138'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''PI20150518[00000134]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.045590162277222', '2015-05-18 00:55:58'),
(6072, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000134'', ''[5812]'', ''38'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''PI20150518[00000134]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041975021362305', '2015-05-18 00:55:58'),
(6073, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000134'', ''[5812]'', ''34'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''1'', ''2015'', ''1'', ''PI20150518[00000134]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054000854492188', '2015-05-18 00:55:58'),
(6074, 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, ''AP20150100000134'', ''[5812]'', ''138'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''1'', ''2015'', ''1'', ''PI20150518[00000134]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028102874755859', '2015-05-18 00:55:58'),
(6075, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49310.27, `total_amount_cr` = 49310.27, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000134''', 'Aptransaction/invoicePosting', '0.058135986328125', '2015-05-18 00:55:58'),
(6076, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''270''', 'Gltransaction/journalPosting', '0.11132001876831', '2015-05-18 00:57:08'),
(6077, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000134''', 'Gltransaction/journalPosting', '0.074338912963867', '2015-05-18 00:57:08'),
(6078, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043111085891724', '2015-05-18 00:57:08'),
(6079, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053505182266235', '2015-05-18 00:57:09'),
(6080, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.074660062789917', '2015-05-18 00:57:09'),
(6081, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042504072189331', '2015-05-18 00:57:09'),
(6082, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''138''', 'purchasetransaction/receiveItemPost', '0.040568828582764', '2015-05-18 00:57:41'),
(6083, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 123 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039666891098022', '2015-05-18 00:57:41'),
(6084, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000123'' WHERE `ID` =  ''138''', 'purchasetransaction/receiveItemPost', '0.02958607673645', '2015-05-18 00:57:41'),
(6085, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000123'', ''GRN20150518[00000135]'', '' [ GRN20150518[00000135] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051172018051147', '2015-05-18 00:57:41'),
(6086, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''136'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034471988677979', '2015-05-18 00:57:41'),
(6087, 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'', ''PO20150100000123'', 1, ''[5812]PERODUA MYVI'', ''38'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''GRN20150518[00000135]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.066107034683228', '2015-05-18 00:57:41'),
(6088, 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, ''PO20150100000123'', ''[5812]PERODUA MYVI'', ''21'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''GRN20150518[00000138]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029107093811035', '2015-05-18 00:57:41'),
(6089, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46519.12, `total_amount_cr` = 46519.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000123''', 'purchasetransaction/receiveItemPost', '0.035933017730713', '2015-05-18 00:57:41'),
(6090, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''271''', 'Gltransaction/journalPosting', '0.30696105957031', '2015-05-18 00:58:52'),
(6091, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000123''', 'Gltransaction/journalPosting', '0.055361032485962', '2015-05-18 00:58:52'),
(6092, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.050235033035278', '2015-05-18 00:58:52'),
(6093, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028016090393066', '2015-05-18 00:58:52'),
(6094, 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'', ''3853'', ''PERODUA MYVI'', ''PM2M602S002223853'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050409078598022', '2015-05-18 01:00:20'),
(6095, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119806'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10968995094299', '2015-05-18 01:01:48'),
(6096, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (138, ''2'', ''137'', ''1'', ''PM2M602S002223853'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.046779870986938', '2015-05-18 01:01:48'),
(6097, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  138', 'aptransaction/savePurchaseRow', '0.075576782226562', '2015-05-18 01:01:48'),
(6098, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =138', 'aptransaction/savePurchaseRow', '0.056396961212158', '2015-05-18 01:01:48'),
(6099, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''138'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.040343999862671', '2015-05-18 01:02:06'),
(6100, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119806'', ''2'')', 'Aptransaction/invoicePosting', '0.067960023880005', '2015-05-18 01:02:06'),
(6101, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (139, ''138'', ''2'', ''137'', ''1'', -1, ''PM2M602S002223853'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.054256200790405', '2015-05-18 01:02:06'),
(6102, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 140 WHERE `ID` =  ''139''', 'Aptransaction/invoicePosting', '0.030436038970947', '2015-05-18 01:02:06'),
(6103, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 135 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039523839950562', '2015-05-18 01:02:06'),
(6104, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000135'' WHERE `ID` =  ''138''', 'Aptransaction/invoicePosting', '0.029792070388794', '2015-05-18 01:02:06'),
(6105, 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'', ''AP20150100000135'', ''PI20150518[00000135]'', ''Purchase Invoice Confirm [ PI20150518[00000135] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.050865888595581', '2015-05-18 01:02:06'),
(6106, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000135'', 1, ''[3853]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150518[00000135]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063947916030884', '2015-05-18 01:02:06'),
(6107, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000135'', ''[3853]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150518[00000135]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028918981552124', '2015-05-18 01:02:06'),
(6108, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000135'', ''[3853]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150518[00000135]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033868074417114', '2015-05-18 01:02:06'),
(6109, 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, ''AP20150100000135'', ''[3853]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150518[00000135]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028788089752197', '2015-05-18 01:02:06'),
(6110, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000135''', 'Aptransaction/invoicePosting', '0.03510308265686', '2015-05-18 01:02:06'),
(6111, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''272''', 'Gltransaction/journalPosting', '0.084151029586792', '2015-05-18 01:03:06'),
(6112, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000135''', 'Gltransaction/journalPosting', '0.031042098999023', '2015-05-18 01:03:06'),
(6113, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.061347961425781', '2015-05-18 01:03:06'),
(6114, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041533946990967', '2015-05-18 01:03:06'),
(6115, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028820991516113', '2015-05-18 01:03:06'),
(6116, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.066651105880737', '2015-05-18 01:03:06'),
(6117, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''139''', 'purchasetransaction/receiveItemPost', '0.038484811782837', '2015-05-18 01:03:33'),
(6118, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 124 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027589082717896', '2015-05-18 01:03:33'),
(6119, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000124'' WHERE `ID` =  ''139''', 'purchasetransaction/receiveItemPost', '0.057195901870728', '2015-05-18 01:03:33'),
(6120, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000124'', ''GRN20150518[00000136]'', '' [ GRN20150518[00000136] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059437990188599', '2015-05-18 01:03:33'),
(6121, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''137'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034429788589478', '2015-05-18 01:03:33'),
(6122, 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'', ''PO20150100000124'', 1, ''[3853]PERODUA MYVI'', ''38'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''GRN20150518[00000136]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04386305809021', '2015-05-18 01:03:33'),
(6123, 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, ''PO20150100000124'', ''[3853]PERODUA MYVI'', ''21'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''GRN20150518[00000139]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042943954467773', '2015-05-18 01:03:33'),
(6124, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38636.79, `total_amount_cr` = 38636.79, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000124''', 'purchasetransaction/receiveItemPost', '0.07701587677002', '2015-05-18 01:03:33'),
(6125, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''273''', 'Gltransaction/journalPosting', '0.060533046722412', '2015-05-18 06:29:33'),
(6126, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000124''', 'Gltransaction/journalPosting', '0.1335608959198', '2015-05-18 06:29:33'),
(6127, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049571990966797', '2015-05-18 06:29:33'),
(6128, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028249025344849', '2015-05-18 06:29:33'),
(6129, 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'', ''6405'', ''PERODUA MYVI'', ''PM2M602S002226405'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.1314480304718', '2015-05-18 15:06:18'),
(6130, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119844'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10494518280029', '2015-05-18 15:08:08'),
(6131, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (139, ''2'', ''138'', ''1'', ''PM2M602S002226405'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.077536106109619', '2015-05-18 15:08:08'),
(6132, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  139', 'aptransaction/savePurchaseRow', '0.067746162414551', '2015-05-18 15:08:08'),
(6133, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =139', 'aptransaction/savePurchaseRow', '0.046226978302002', '2015-05-18 15:08:08'),
(6134, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''139'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.12363505363464', '2015-05-18 15:08:36'),
(6135, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119844'', ''2'')', 'Aptransaction/invoicePosting', '0.10210108757019', '2015-05-18 15:08:37'),
(6136, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (140, ''139'', ''2'', ''138'', ''1'', -1, ''PM2M602S002226405'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.066315889358521', '2015-05-18 15:08:37'),
(6137, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 141 WHERE `ID` =  ''140''', 'Aptransaction/invoicePosting', '0.043341875076294', '2015-05-18 15:08:37'),
(6138, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 136 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.050441026687622', '2015-05-18 15:08:37'),
(6139, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000136'' WHERE `ID` =  ''139''', 'Aptransaction/invoicePosting', '0.13130712509155', '2015-05-18 15:08:37'),
(6140, 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'', ''AP20150100000136'', ''PI20150518[00000136]'', ''Purchase Invoice Confirm [ PI20150518[00000136] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.059419870376587', '2015-05-18 15:08:37'),
(6141, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000136'', 1, ''[6405]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000136]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07532000541687', '2015-05-18 15:08:37'),
(6142, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000136'', ''[6405]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000136]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02876615524292', '2015-05-18 15:08:37'),
(6143, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000136'', ''[6405]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000136]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033843994140625', '2015-05-18 15:08:37'),
(6144, 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, ''AP20150100000136'', ''[6405]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000136]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028771162033081', '2015-05-18 15:08:37'),
(6145, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43793.88, `total_amount_cr` = 43793.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000136''', 'Aptransaction/invoicePosting', '0.03509521484375', '2015-05-18 15:08:37'),
(6146, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''274''', 'Gltransaction/journalPosting', '0.061404943466187', '2015-05-18 15:09:39'),
(6147, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000136''', 'Gltransaction/journalPosting', '0.029986143112183', '2015-05-18 15:09:39'),
(6148, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.061150074005127', '2015-05-18 15:09:39'),
(6149, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063676118850708', '2015-05-18 15:09:40'),
(6150, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028712034225464', '2015-05-18 15:09:40'),
(6151, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.044192790985107', '2015-05-18 15:09:40'),
(6152, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''140''', 'purchasetransaction/receiveItemPost', '0.040478944778442', '2015-05-18 15:10:13'),
(6153, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 125 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039502859115601', '2015-05-18 15:10:13'),
(6154, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000125'' WHERE `ID` =  ''140''', 'purchasetransaction/receiveItemPost', '0.043309926986694', '2015-05-18 15:10:13'),
(6155, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000125'', ''GRN20150518[00000137]'', '' [ GRN20150518[00000137] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.081439018249512', '2015-05-18 15:10:13'),
(6156, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''138'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033423900604248', '2015-05-18 15:10:14'),
(6157, 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'', ''PO20150100000125'', 1, ''[6405]PERODUA MYVI'', ''38'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''GRN20150518[00000137]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065819025039673', '2015-05-18 15:10:14'),
(6158, 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, ''PO20150100000125'', ''[6405]PERODUA MYVI'', ''21'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''GRN20150518[00000140]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029928922653198', '2015-05-18 15:10:14'),
(6159, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41314.98, `total_amount_cr` = 41314.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000125''', 'purchasetransaction/receiveItemPost', '0.035073041915894', '2015-05-18 15:10:14'),
(6160, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''275''', 'Gltransaction/journalPosting', '0.069812059402466', '2015-05-18 15:10:49'),
(6161, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000125''', 'Gltransaction/journalPosting', '0.046090126037598', '2015-05-18 15:10:49'),
(6162, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060818910598755', '2015-05-18 15:10:49'),
(6163, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029252052307129', '2015-05-18 15:10:49'),
(6164, 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'', ''7023'', ''PERODUA MYVI'', ''PM2M602S002227023'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.045805931091309', '2015-05-18 15:12:44'),
(6165, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119902'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11921882629395', '2015-05-18 15:14:17'),
(6166, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (140, ''2'', ''139'', ''1'', ''PM2M602S002227023'', ''1'', ''16'', ''40937.62'', ''40937.62'', ''15'', ''6'', ''2456.26'', ''43393.88'')', 'aptransaction/savePurchaseRow', '0.066300868988037', '2015-05-18 15:14:17');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6167, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2456.26'', `totalAmount` = ''43393.88'' WHERE `ID` =  140', 'aptransaction/savePurchaseRow', '0.027488946914673', '2015-05-18 15:14:18'),
(6168, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =140', 'aptransaction/savePurchaseRow', '0.046628952026367', '2015-05-18 15:14:18'),
(6169, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''140'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.045337915420532', '2015-05-18 15:14:40'),
(6170, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119902'', ''2'')', 'Aptransaction/invoicePosting', '0.091398000717163', '2015-05-18 15:14:40'),
(6171, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (141, ''140'', ''2'', ''139'', ''1'', -1, ''PM2M602S002227023'', ''1'', ''1'', ''1'', ''40937.62'', 40937.62)', 'Aptransaction/invoicePosting', '0.044173955917358', '2015-05-18 15:14:40'),
(6172, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 142 WHERE `ID` =  ''141''', 'Aptransaction/invoicePosting', '0.030279874801636', '2015-05-18 15:14:40'),
(6173, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 137 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039315938949585', '2015-05-18 15:14:40'),
(6174, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000137'' WHERE `ID` =  ''140''', 'Aptransaction/invoicePosting', '0.03020191192627', '2015-05-18 15:14:40'),
(6175, 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'', ''AP20150100000137'', ''PI20150518[00000137]'', ''Purchase Invoice Confirm [ PI20150518[00000137] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 43393.88, 43393.88, ''2'')', 'Aptransaction/invoicePosting', '0.051375865936279', '2015-05-18 15:14:40'),
(6176, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000137'', 1, ''[7023]'', ''138'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''1'', ''2015'', ''1'', ''PI20150518[00000137]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059769153594971', '2015-05-18 15:14:40'),
(6177, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000137'', ''[7023]'', ''38'', ''PERODUA SALES SDN BHD'', 40937.62, ''1'', ''1'', ''40937.62'', ''1'', ''2015'', ''1'', ''PI20150518[00000137]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029294967651367', '2015-05-18 15:14:40'),
(6178, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000137'', ''[7023]'', ''34'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''1'', ''2015'', ''1'', ''PI20150518[00000137]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033313989639282', '2015-05-18 15:14:40'),
(6179, 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, ''AP20150100000137'', ''[7023]'', ''138'', ''PERODUA SALES SDN BHD'', 2456.26, ''1'', ''1'', ''2456.26'', ''1'', ''2015'', ''1'', ''PI20150518[00000137]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029224157333374', '2015-05-18 15:14:40'),
(6180, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43393.88, `total_amount_cr` = 43393.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000137''', 'Aptransaction/invoicePosting', '0.034623861312866', '2015-05-18 15:14:40'),
(6181, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''276''', 'Gltransaction/journalPosting', '0.070998907089233', '2015-05-18 15:15:55'),
(6182, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000137''', 'Gltransaction/journalPosting', '0.056823968887329', '2015-05-18 15:15:55'),
(6183, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049722194671631', '2015-05-18 15:15:55'),
(6184, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029386043548584', '2015-05-18 15:15:55'),
(6185, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032660007476807', '2015-05-18 15:15:55'),
(6186, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053517818450928', '2015-05-18 15:15:55'),
(6187, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''141''', 'purchasetransaction/receiveItemPost', '0.038476943969727', '2015-05-18 15:16:20'),
(6188, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 126 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.052416086196899', '2015-05-18 15:16:20'),
(6189, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000126'' WHERE `ID` =  ''141''', 'purchasetransaction/receiveItemPost', '0.030659914016724', '2015-05-18 15:16:20'),
(6190, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000126'', ''GRN20150518[00000138]'', '' [ GRN20150518[00000138] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.038848161697388', '2015-05-18 15:16:20'),
(6191, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''139'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034420013427734', '2015-05-18 15:16:21'),
(6192, 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'', ''PO20150100000126'', 1, ''[7023]PERODUA MYVI'', ''38'', 40937.62, ''1'', ''1'', ''40937.62'', ''1'', ''2015'', ''1'', ''GRN20150518[00000138]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030684947967529', '2015-05-18 15:16:21'),
(6193, 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, ''PO20150100000126'', ''[7023]PERODUA MYVI'', ''21'', 40937.62, ''1'', ''1'', ''40937.62'', ''1'', ''2015'', ''GRN20150518[00000141]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.033900022506714', '2015-05-18 15:16:21'),
(6194, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40937.62, `total_amount_cr` = 40937.62, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000126''', 'purchasetransaction/receiveItemPost', '0.066349029541016', '2015-05-18 15:16:21'),
(6195, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''277''', 'Gltransaction/journalPosting', '0.099195003509521', '2015-05-18 15:16:59'),
(6196, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000126''', 'Gltransaction/journalPosting', '0.066427946090698', '2015-05-18 15:16:59'),
(6197, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040005922317505', '2015-05-18 15:16:59'),
(6198, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029368877410889', '2015-05-18 15:16:59'),
(6199, 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'', ''7253'', ''PERODUA MYVI'', ''PM2M602S002227253'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052205801010132', '2015-05-18 15:18:54'),
(6200, 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'', ''PI20150518'', ''2015-04-22'', ''IV02119958'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11831402778625', '2015-05-18 15:20:15'),
(6201, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (141, ''2'', ''140'', ''1'', ''PM2M602S002227253'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.065227031707764', '2015-05-18 15:20:15'),
(6202, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  141', 'aptransaction/savePurchaseRow', '0.028897047042847', '2015-05-18 15:20:15'),
(6203, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =141', 'aptransaction/savePurchaseRow', '0.056783199310303', '2015-05-18 15:20:15'),
(6204, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''141'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.070707082748413', '2015-05-18 15:20:32'),
(6205, 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'', ''GRN20150518'', ''2015-04-22'', ''0'', ''IV02119958'', ''2'')', 'Aptransaction/invoicePosting', '0.068295001983643', '2015-05-18 15:20:32'),
(6206, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (142, ''141'', ''2'', ''140'', ''1'', -1, ''PM2M602S002227253'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.043204069137573', '2015-05-18 15:20:32'),
(6207, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 143 WHERE `ID` =  ''142''', 'Aptransaction/invoicePosting', '0.033328056335449', '2015-05-18 15:20:32'),
(6208, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 138 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039222002029419', '2015-05-18 15:20:32'),
(6209, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000138'' WHERE `ID` =  ''141''', 'Aptransaction/invoicePosting', '0.055400848388672', '2015-05-18 15:20:32'),
(6210, 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'', ''AP20150100000138'', ''PI20150518[00000138]'', ''Purchase Invoice Confirm [ PI20150518[00000138] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.058470010757446', '2015-05-18 15:20:32'),
(6211, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000138'', 1, ''[7253]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150518[00000138]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064987182617188', '2015-05-18 15:20:32'),
(6212, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000138'', ''[7253]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150518[00000138]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052911996841431', '2015-05-18 15:20:32'),
(6213, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000138'', ''[7253]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150518[00000138]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029806137084961', '2015-05-18 15:20:32'),
(6214, 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, ''AP20150100000138'', ''[7253]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150518[00000138]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033007144927979', '2015-05-18 15:20:32'),
(6215, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000138''', 'Aptransaction/invoicePosting', '0.033133983612061', '2015-05-18 15:20:32'),
(6216, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''278''', 'Gltransaction/journalPosting', '0.30447602272034', '2015-05-18 15:21:47'),
(6217, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000138''', 'Gltransaction/journalPosting', '0.030863046646118', '2015-05-18 15:21:47'),
(6218, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.061367034912109', '2015-05-18 15:21:47'),
(6219, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052551031112671', '2015-05-18 15:21:47'),
(6220, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064672946929932', '2015-05-18 15:21:47'),
(6221, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052422046661377', '2015-05-18 15:21:47'),
(6222, 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'', ''7517'', ''PERODUA MYVI'', ''PM2M602S002227517'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.05936598777771', '2015-05-18 15:23:50'),
(6223, 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'', ''PI20150518'', ''2015-04-23'', ''IV02120710'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10711789131165', '2015-05-18 15:25:08'),
(6224, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (142, ''2'', ''141'', ''1'', ''PM2M602S002227517'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.066360950469971', '2015-05-18 15:25:08'),
(6225, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  142', 'aptransaction/savePurchaseRow', '0.061164140701294', '2015-05-18 15:25:08'),
(6226, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =142', 'aptransaction/savePurchaseRow', '0.033544063568115', '2015-05-18 15:25:08'),
(6227, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''142'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.070453882217407', '2015-05-18 15:25:40'),
(6228, 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'', ''GRN20150518'', ''2015-04-23'', ''0'', ''IV02120710'', ''2'')', 'Aptransaction/invoicePosting', '0.081207036972046', '2015-05-18 15:25:40'),
(6229, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (143, ''142'', ''2'', ''141'', ''1'', -1, ''PM2M602S002227517'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.043075084686279', '2015-05-18 15:25:40'),
(6230, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 144 WHERE `ID` =  ''143''', 'Aptransaction/invoicePosting', '0.033396005630493', '2015-05-18 15:25:40'),
(6231, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 139 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039354085922241', '2015-05-18 15:25:40'),
(6232, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000139'' WHERE `ID` =  ''142''', 'Aptransaction/invoicePosting', '0.055411100387573', '2015-05-18 15:25:40'),
(6233, 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'', ''AP20150100000139'', ''PI20150518[00000139]'', ''Purchase Invoice Confirm [ PI20150518[00000139] ]'', ''3'', ''2015-04-23'', ''2015'', ''1'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.058243036270142', '2015-05-18 15:25:40'),
(6234, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000139'', 1, ''[7517]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000139]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064983129501343', '2015-05-18 15:25:41'),
(6235, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000139'', ''[7517]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000139]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029175043106079', '2015-05-18 15:25:41'),
(6236, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000139'', ''[7517]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000139]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033251047134399', '2015-05-18 15:25:41'),
(6237, 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, ''AP20150100000139'', ''[7517]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000139]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029177188873291', '2015-05-18 15:25:41'),
(6238, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43793.88, `total_amount_cr` = 43793.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000139''', 'Aptransaction/invoicePosting', '0.045835971832275', '2015-05-18 15:25:41'),
(6239, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''279''', 'Gltransaction/journalPosting', '0.30168890953064', '2015-05-18 15:26:35'),
(6240, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000139''', 'Gltransaction/journalPosting', '0.04426908493042', '2015-05-18 15:26:35'),
(6241, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.082937955856323', '2015-05-18 15:26:35'),
(6242, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042443990707397', '2015-05-18 15:26:35'),
(6243, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052448034286499', '2015-05-18 15:26:36'),
(6244, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053465843200684', '2015-05-18 15:26:36'),
(6245, 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'', ''6011'', ''PERODUA MYVI'', ''PM2M603S002126011'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.054276943206787', '2015-05-18 15:28:19'),
(6246, 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'', ''PI20150518'', ''2015-04-23'', ''IV02120852'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10585904121399', '2015-05-18 15:29:30'),
(6247, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (143, ''2'', ''142'', ''1'', ''PM2M603S002126011'', ''1'', ''16'', ''51006.1'', ''51006.1'', ''15'', ''6'', ''3060.37'', ''54066.47'')', 'aptransaction/savePurchaseRow', '0.065187931060791', '2015-05-18 15:29:30'),
(6248, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3060.37'', `totalAmount` = ''54066.47'' WHERE `ID` =  143', 'aptransaction/savePurchaseRow', '0.051780939102173', '2015-05-18 15:29:30'),
(6249, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =143', 'aptransaction/savePurchaseRow', '0.032555103302002', '2015-05-18 15:29:30'),
(6250, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''143'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.030942916870117', '2015-05-18 15:29:51'),
(6251, 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'', ''GRN20150518'', ''2015-04-23'', ''0'', ''IV02120852'', ''2'')', 'Aptransaction/invoicePosting', '0.069473028182983', '2015-05-18 15:29:51'),
(6252, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (144, ''143'', ''2'', ''142'', ''1'', -1, ''PM2M603S002126011'', ''1'', ''1'', ''1'', ''51006.1'', 51006.1)', 'Aptransaction/invoicePosting', '0.064578056335449', '2015-05-18 15:29:51'),
(6253, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 145 WHERE `ID` =  ''144''', 'Aptransaction/invoicePosting', '0.033808946609497', '2015-05-18 15:29:51'),
(6254, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 140 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028448104858398', '2015-05-18 15:29:52'),
(6255, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000140'' WHERE `ID` =  ''143''', 'Aptransaction/invoicePosting', '0.065455913543701', '2015-05-18 15:29:52'),
(6256, 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'', ''AP20150100000140'', ''PI20150518[00000140]'', ''Purchase Invoice Confirm [ PI20150518[00000140] ]'', ''3'', ''2015-04-23'', ''2015'', ''1'', 54066.47, 54066.47, ''2'')', 'Aptransaction/invoicePosting', '0.05914306640625', '2015-05-18 15:29:52'),
(6257, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000140'', 1, ''[6011]'', ''138'', ''PERODUA SALES SDN BHD'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000140]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064011096954346', '2015-05-18 15:29:52'),
(6258, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000140'', ''[6011]'', ''38'', ''PERODUA SALES SDN BHD'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000140]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053974151611328', '2015-05-18 15:29:52'),
(6259, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000140'', ''[6011]'', ''34'', ''PERODUA SALES SDN BHD'', 3060.37, ''1'', ''1'', ''3060.37'', ''1'', ''2015'', ''1'', ''PI20150518[00000140]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029844045639038', '2015-05-18 15:29:52'),
(6260, 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, ''AP20150100000140'', ''[6011]'', ''138'', ''PERODUA SALES SDN BHD'', 3060.37, ''1'', ''1'', ''3060.37'', ''1'', ''2015'', ''1'', ''PI20150518[00000140]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032786130905151', '2015-05-18 15:29:52'),
(6261, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54066.47, `total_amount_cr` = 54066.47, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000140''', 'Aptransaction/invoicePosting', '0.03117299079895', '2015-05-18 15:29:52'),
(6262, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''280''', 'Gltransaction/journalPosting', '0.026925802230835', '2015-05-18 15:30:45'),
(6263, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000140''', 'Gltransaction/journalPosting', '0.055714130401611', '2015-05-18 15:30:45'),
(6264, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.072299957275391', '2015-05-18 15:30:45'),
(6265, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041383028030396', '2015-05-18 15:30:45'),
(6266, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042440176010132', '2015-05-18 15:30:45'),
(6267, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052565097808838', '2015-05-18 15:30:45'),
(6268, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''144''', 'purchasetransaction/receiveItemPost', '0.049283981323242', '2015-05-18 15:31:16'),
(6269, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 127 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.04096508026123', '2015-05-18 15:31:16'),
(6270, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000127'' WHERE `ID` =  ''144''', 'purchasetransaction/receiveItemPost', '0.054403781890869', '2015-05-18 15:31:16'),
(6271, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000127'', ''GRN20150518[00000141]'', '' [ GRN20150518[00000141] ]'', ''8'', ''2015-04-23'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048401117324829', '2015-05-18 15:31:16'),
(6272, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''142'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.04553484916687', '2015-05-18 15:31:16'),
(6273, 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'', ''PO20150100000127'', 1, ''[6011]PERODUA MYVI'', ''38'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''GRN20150518[00000141]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054950952529907', '2015-05-18 15:31:16'),
(6274, 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, ''PO20150100000127'', ''[6011]PERODUA MYVI'', ''21'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''GRN20150518[00000144]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030961036682129', '2015-05-18 15:31:16'),
(6275, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51006.1, `total_amount_cr` = 51006.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000127''', 'purchasetransaction/receiveItemPost', '0.067259788513184', '2015-05-18 15:31:16'),
(6276, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''281''', 'Gltransaction/journalPosting', '0.085288047790527', '2015-05-18 15:31:53'),
(6277, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000127''', 'Gltransaction/journalPosting', '0.06541895866394', '2015-05-18 15:31:53'),
(6278, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.050209999084473', '2015-05-18 15:31:53'),
(6279, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029626846313477', '2015-05-18 15:31:53'),
(6280, 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'', ''4188'', ''PERODUA ALZA'', ''PM2M502G002244188'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.090814113616943', '2015-05-18 15:33:28'),
(6281, 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'', ''PI20150518'', ''2015-04-24'', ''IV02121275'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11444401741028', '2015-05-18 15:34:42'),
(6282, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (144, ''2'', ''143'', ''1'', ''PM2M502G002244188'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.065526962280273', '2015-05-18 15:34:42'),
(6283, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  144', 'aptransaction/savePurchaseRow', '0.025721073150635', '2015-05-18 15:34:42'),
(6284, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =144', 'aptransaction/savePurchaseRow', '0.044816017150879', '2015-05-18 15:34:42'),
(6285, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''144'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.067512989044189', '2015-05-18 15:34:59'),
(6286, 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'', ''GRN20150518'', ''2015-04-24'', ''0'', ''IV02121275'', ''2'')', 'Aptransaction/invoicePosting', '0.0677170753479', '2015-05-18 15:34:59'),
(6287, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (145, ''144'', ''2'', ''143'', ''1'', -1, ''PM2M502G002244188'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.043171167373657', '2015-05-18 15:34:59'),
(6288, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 146 WHERE `ID` =  ''145''', 'Aptransaction/invoicePosting', '0.033359050750732', '2015-05-18 15:34:59'),
(6289, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 141 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028215885162354', '2015-05-18 15:34:59'),
(6290, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000141'' WHERE `ID` =  ''144''', 'Aptransaction/invoicePosting', '0.055418014526367', '2015-05-18 15:34:59'),
(6291, 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'', ''AP20150100000141'', ''PI20150518[00000141]'', ''Purchase Invoice Confirm [ PI20150518[00000141] ]'', ''3'', ''2015-04-24'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.047353029251099', '2015-05-18 15:34:59'),
(6292, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000141'', 1, ''[4188]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000141]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042873859405518', '2015-05-18 15:34:59'),
(6293, 2, 2, '::1', 'insert', 'INSERT INTO `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, ''AP20150100000141'', ''[4188]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000141]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02990198135376', '2015-05-18 15:34:59');
