INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6294, 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, ''AP20150100000141'', ''[4188]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150518[00000141]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032766103744507', '2015-05-18 15:34:59'),
(6295, 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, ''AP20150100000141'', ''[4188]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150518[00000141]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029898881912231', '2015-05-18 15:34:59'),
(6296, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51301.33, `total_amount_cr` = 51301.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000141''', 'Aptransaction/invoicePosting', '0.03409481048584', '2015-05-18 15:34:59'),
(6297, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''282''', 'Gltransaction/journalPosting', '0.078077077865601', '2015-05-18 15:35:59'),
(6298, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000141''', 'Gltransaction/journalPosting', '0.054388046264648', '2015-05-18 15:36:00'),
(6299, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039061069488525', '2015-05-18 15:36:00'),
(6300, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041584968566895', '2015-05-18 15:36:00'),
(6301, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030277013778687', '2015-05-18 15:36:00'),
(6302, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031515121459961', '2015-05-18 15:36:00'),
(6303, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''145''', 'purchasetransaction/receiveItemPost', '0.050586938858032', '2015-05-18 15:36:29'),
(6304, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 128 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028473138809204', '2015-05-18 15:36:29'),
(6305, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000128'' WHERE `ID` =  ''145''', 'purchasetransaction/receiveItemPost', '0.043262958526611', '2015-05-18 15:36:29'),
(6306, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000128'', ''GRN20150518[00000142]'', '' [ GRN20150518[00000142] ]'', ''8'', ''2015-04-24'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.12451791763306', '2015-05-18 15:36:29'),
(6307, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''143'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032719135284424', '2015-05-18 15:36:29'),
(6308, 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'', ''PO20150100000128'', 1, ''[4188]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150518[00000142]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042874097824097', '2015-05-18 15:36:29'),
(6309, 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, ''PO20150100000128'', ''[4188]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150518[00000145]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032734155654907', '2015-05-18 15:36:29'),
(6310, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48397.48, `total_amount_cr` = 48397.48, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000128''', 'purchasetransaction/receiveItemPost', '0.054321050643921', '2015-05-18 15:36:29'),
(6311, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''283''', 'Gltransaction/journalPosting', '0.12711501121521', '2015-05-18 15:37:01'),
(6312, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000128''', 'Gltransaction/journalPosting', '0.043280124664307', '2015-05-18 15:37:01'),
(6313, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041362047195435', '2015-05-18 15:37:01'),
(6314, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063740015029907', '2015-05-18 15:37:01'),
(6315, 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'', ''4522'', ''PERODUA ALZA'', ''PM2M502G002244522'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050470113754272', '2015-05-18 16:11:21'),
(6316, 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-25'', ''IV02121790'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10947108268738', '2015-05-18 16:12:48'),
(6317, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (145, ''2'', ''144'', ''1'', ''PM2M502G002244522'', ''1'', ''16'', ''51789.07'', ''51789.07'', ''15'', ''6'', ''3107.34'', ''54896.41'')', 'aptransaction/savePurchaseRow', '0.065223932266235', '2015-05-18 16:12:49'),
(6318, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3107.34'', `totalAmount` = ''54896.41'' WHERE `ID` =  145', 'aptransaction/savePurchaseRow', '0.036787986755371', '2015-05-18 16:12:49'),
(6319, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =145', 'aptransaction/savePurchaseRow', '0.032581090927124', '2015-05-18 16:12:49'),
(6320, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''145'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.032330989837646', '2015-05-18 16:13:09'),
(6321, 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-25'', ''0'', ''IV02121790'', ''2'')', 'Aptransaction/invoicePosting', '0.081777095794678', '2015-05-18 16:13:09'),
(6322, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (146, ''145'', ''2'', ''144'', ''1'', -1, ''PM2M502G002244522'', ''1'', ''1'', ''1'', ''51789.07'', 51789.07)', 'Aptransaction/invoicePosting', '0.043126106262207', '2015-05-18 16:13:09'),
(6323, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 147 WHERE `ID` =  ''146''', 'Aptransaction/invoicePosting', '0.033453941345215', '2015-05-18 16:13:09'),
(6324, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 142 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.02824878692627', '2015-05-18 16:13:09'),
(6325, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000142'' WHERE `ID` =  ''145''', 'Aptransaction/invoicePosting', '0.033349990844727', '2015-05-18 16:13:09'),
(6326, 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'', ''AP20150100000142'', ''PI20150518[00000142]'', ''Purchase Invoice Confirm [ PI20150518[00000142] ]'', ''3'', ''2015-04-25'', ''2015'', ''1'', 54896.41, 54896.41, ''2'')', 'Aptransaction/invoicePosting', '0.058423042297363', '2015-05-18 16:13:09'),
(6327, 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'', ''AP20150100000142'', 1, ''[4522]'', ''138'', ''PERODUA SALES SDN BHD'', 51789.07, ''1'', ''1'', ''51789.07'', ''1'', ''2015'', ''1'', ''PI20150518[00000142]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075124979019165', '2015-05-18 16:13:09'),
(6328, 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, ''AP20150100000142'', ''[4522]'', ''38'', ''PERODUA SALES SDN BHD'', 51789.07, ''1'', ''1'', ''51789.07'', ''1'', ''2015'', ''1'', ''PI20150518[00000142]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041862964630127', '2015-05-18 16:13:09'),
(6329, 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, ''AP20150100000142'', ''[4522]'', ''34'', ''PERODUA SALES SDN BHD'', 3107.34, ''1'', ''1'', ''3107.34'', ''1'', ''2015'', ''1'', ''PI20150518[00000142]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030600786209106', '2015-05-18 16:13:09'),
(6330, 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, ''AP20150100000142'', ''[4522]'', ''138'', ''PERODUA SALES SDN BHD'', 3107.34, ''1'', ''1'', ''3107.34'', ''1'', ''2015'', ''1'', ''PI20150518[00000142]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032067060470581', '2015-05-18 16:13:09'),
(6331, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54896.41, `total_amount_cr` = 54896.41, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000142''', 'Aptransaction/invoicePosting', '0.055334091186523', '2015-05-18 16:13:09'),
(6332, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''284''', 'Gltransaction/journalPosting', '0.055984973907471', '2015-05-18 16:14:20'),
(6333, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000142''', 'Gltransaction/journalPosting', '0.032221794128418', '2015-05-18 16:14:20'),
(6334, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.061320066452026', '2015-05-18 16:14:20'),
(6335, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052680969238281', '2015-05-18 16:14:20'),
(6336, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053567886352539', '2015-05-18 16:14:20'),
(6337, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052577018737793', '2015-05-18 16:14:20'),
(6338, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''146''', 'purchasetransaction/receiveItemPost', '0.060864925384521', '2015-05-18 16:14:53'),
(6339, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 129 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.073363065719604', '2015-05-18 16:14:53'),
(6340, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000129'' WHERE `ID` =  ''146''', 'purchasetransaction/receiveItemPost', '0.033262014389038', '2015-05-18 16:14:53'),
(6341, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000129'', ''GRN20150518[00000143]'', '' [ GRN20150518[00000143] ]'', ''8'', ''2015-04-25'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058250188827515', '2015-05-18 16:14:53'),
(6342, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''144'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034821033477783', '2015-05-18 16:14:53'),
(6343, 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'', ''PO20150100000129'', 1, ''[4522]PERODUA ALZA'', ''38'', 51789.07, ''1'', ''1'', ''51789.07'', ''1'', ''2015'', ''1'', ''GRN20150518[00000143]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031884908676147', '2015-05-18 16:14:53'),
(6344, 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, ''PO20150100000129'', ''[4522]PERODUA ALZA'', ''21'', 51789.07, ''1'', ''1'', ''51789.07'', ''1'', ''2015'', ''GRN20150518[00000146]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032737016677856', '2015-05-18 16:14:53'),
(6345, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51789.07, `total_amount_cr` = 51789.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000129''', 'purchasetransaction/receiveItemPost', '0.065416812896729', '2015-05-18 16:14:53'),
(6346, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''285''', 'Gltransaction/journalPosting', '0.063385963439941', '2015-05-18 16:15:33'),
(6347, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000129''', 'Gltransaction/journalPosting', '0.055265188217163', '2015-05-18 16:15:33'),
(6348, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.038712978363037', '2015-05-18 16:15:33'),
(6349, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03099799156189', '2015-05-18 16:15:33'),
(6350, 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'', ''7661'', ''PERODUA MYVI'', ''PM2M602S002227661'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049638032913208', '2015-05-18 16:17:29'),
(6351, 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-25'', ''IV02121876'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.098573207855225', '2015-05-18 16:18:46'),
(6352, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (146, ''2'', ''145'', ''1'', ''PM2M602S002227661'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.065265893936157', '2015-05-18 16:18:46'),
(6353, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  146', 'aptransaction/savePurchaseRow', '0.061125040054321', '2015-05-18 16:18:46'),
(6354, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =146', 'aptransaction/savePurchaseRow', '0.054769992828369', '2015-05-18 16:18:46'),
(6355, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''146'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.061980962753296', '2015-05-18 16:19:05'),
(6356, 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-25'', ''0'', ''IV02121876'', ''2'')', 'Aptransaction/invoicePosting', '0.11403584480286', '2015-05-18 16:19:05'),
(6357, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (147, ''146'', ''2'', ''145'', ''1'', -1, ''PM2M602S002227661'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.099027156829834', '2015-05-18 16:19:05'),
(6358, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 148 WHERE `ID` =  ''147''', 'Aptransaction/invoicePosting', '0.032305002212524', '2015-05-18 16:19:05'),
(6359, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 143 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028879880905151', '2015-05-18 16:19:05'),
(6360, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000143'' WHERE `ID` =  ''146''', 'Aptransaction/invoicePosting', '0.054387092590332', '2015-05-18 16:19:05'),
(6361, 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'', ''AP20150100000143'', ''PI20150518[00000143]'', ''Purchase Invoice Confirm [ PI20150518[00000143] ]'', ''3'', ''2015-04-25'', ''2015'', ''1'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.048372030258179', '2015-05-18 16:19:05'),
(6362, 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'', ''AP20150100000143'', 1, ''[7661]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000143]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052886009216309', '2015-05-18 16:19:05'),
(6363, 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, ''AP20150100000143'', ''[7661]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000143]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030969858169556', '2015-05-18 16:19:05'),
(6364, 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, ''AP20150100000143'', ''[7661]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000143]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031686067581177', '2015-05-18 16:19:05'),
(6365, 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, ''AP20150100000143'', ''[7661]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000143]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030949831008911', '2015-05-18 16:19:05'),
(6366, 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` =  ''AP20150100000143''', 'Aptransaction/invoicePosting', '0.044148921966553', '2015-05-18 16:19:05'),
(6367, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''286''', 'Gltransaction/journalPosting', '0.050001859664917', '2015-05-18 16:20:02'),
(6368, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000143''', 'Gltransaction/journalPosting', '0.06623101234436', '2015-05-18 16:20:02'),
(6369, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039875030517578', '2015-05-18 16:20:02'),
(6370, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042129993438721', '2015-05-18 16:20:02'),
(6371, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041605949401855', '2015-05-18 16:20:02'),
(6372, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04229998588562', '2015-05-18 16:20:02'),
(6373, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''147''', 'purchasetransaction/receiveItemPost', '0.029150009155273', '2015-05-18 16:20:27'),
(6374, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 130 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028412818908691', '2015-05-18 16:20:27'),
(6375, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000130'' WHERE `ID` =  ''147''', 'purchasetransaction/receiveItemPost', '0.032425880432129', '2015-05-18 16:20:27'),
(6376, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000130'', ''GRN20150518[00000144]'', '' [ GRN20150518[00000144] ]'', ''8'', ''2015-04-25'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070255994796753', '2015-05-18 16:20:27'),
(6377, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''145'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034494161605835', '2015-05-18 16:20:27'),
(6378, 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'', ''PO20150100000130'', 1, ''[7661]PERODUA MYVI'', ''38'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''GRN20150518[00000144]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065907955169678', '2015-05-18 16:20:27'),
(6379, 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, ''PO20150100000130'', ''[7661]PERODUA MYVI'', ''21'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''GRN20150518[00000147]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032047033309937', '2015-05-18 16:20:27'),
(6380, 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` =  ''PO20150100000130''', 'purchasetransaction/receiveItemPost', '0.03291916847229', '2015-05-18 16:20:27'),
(6381, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''287''', 'Gltransaction/journalPosting', '0.050801992416382', '2015-05-18 16:21:08'),
(6382, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000130''', 'Gltransaction/journalPosting', '0.06541109085083', '2015-05-18 16:21:08'),
(6383, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053776025772095', '2015-05-18 16:21:08'),
(6384, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042346954345703', '2015-05-18 16:21:08'),
(6385, 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'', ''5387'', ''PERODUA AXIA'', ''PM2B200S003065387'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049856901168823', '2015-05-18 16:22:45'),
(6386, 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-27'', ''IV02122062'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11170315742493', '2015-05-18 16:24:01'),
(6387, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (147, ''2'', ''146'', ''1'', ''PM2B200S003065387'', ''1'', ''16'', ''36708'', ''36708'', ''15'', ''6'', ''2202.48'', ''38910.48'')', 'aptransaction/savePurchaseRow', '0.065371990203857', '2015-05-18 16:24:01'),
(6388, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2202.48'', `totalAmount` = ''38910.48'' WHERE `ID` =  147', 'aptransaction/savePurchaseRow', '0.057642936706543', '2015-05-18 16:24:01'),
(6389, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =147', 'aptransaction/savePurchaseRow', '0.044058084487915', '2015-05-18 16:24:01'),
(6390, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''147'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.052592992782593', '2015-05-18 16:24:18'),
(6391, 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-27'', ''0'', ''IV02122062'', ''2'')', 'Aptransaction/invoicePosting', '0.049269914627075', '2015-05-18 16:24:18'),
(6392, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (148, ''147'', ''2'', ''146'', ''1'', -1, ''PM2B200S003065387'', ''1'', ''1'', ''1'', ''36708'', 36708)', 'Aptransaction/invoicePosting', '0.032658100128174', '2015-05-18 16:24:18'),
(6393, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 149 WHERE `ID` =  ''148''', 'Aptransaction/invoicePosting', '0.043944120407104', '2015-05-18 16:24:18'),
(6394, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 144 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041582822799683', '2015-05-18 16:24:18'),
(6395, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000144'' WHERE `ID` =  ''147''', 'Aptransaction/invoicePosting', '0.043903112411499', '2015-05-18 16:24:18'),
(6396, 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'', ''AP20150100000144'', ''PI20150518[00000144]'', ''Purchase Invoice Confirm [ PI20150518[00000144] ]'', ''3'', ''2015-04-27'', ''2015'', ''1'', 38910.48, 38910.48, ''2'')', 'Aptransaction/invoicePosting', '0.047646999359131', '2015-05-18 16:24:18'),
(6397, 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'', ''AP20150100000144'', 1, ''[5387]'', ''138'', ''PERODUA SALES SDN BHD'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''PI20150518[00000144]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053308010101318', '2015-05-18 16:24:18'),
(6398, 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, ''AP20150100000144'', ''[5387]'', ''38'', ''PERODUA SALES SDN BHD'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''PI20150518[00000144]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.10760879516602', '2015-05-18 16:24:18'),
(6399, 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, ''AP20150100000144'', ''[5387]'', ''34'', ''PERODUA SALES SDN BHD'', 2202.48, ''1'', ''1'', ''2202.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000144]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.098931074142456', '2015-05-18 16:24:18'),
(6400, 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, ''AP20150100000144'', ''[5387]'', ''138'', ''PERODUA SALES SDN BHD'', 2202.48, ''1'', ''1'', ''2202.48'', ''1'', ''2015'', ''1'', ''PI20150518[00000144]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.086711168289185', '2015-05-18 16:24:18'),
(6401, 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` =  ''AP20150100000144''', 'Aptransaction/invoicePosting', '0.054768085479736', '2015-05-18 16:24:18'),
(6402, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''288''', 'Gltransaction/journalPosting', '0.071049928665161', '2015-05-18 16:25:21'),
(6403, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000144''', 'Gltransaction/journalPosting', '0.032669067382812', '2015-05-18 16:25:21'),
(6404, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049016952514648', '2015-05-18 16:25:21'),
(6405, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.065898895263672', '2015-05-18 16:25:21'),
(6406, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040385961532593', '2015-05-18 16:25:21'),
(6407, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054910182952881', '2015-05-18 16:25:21'),
(6408, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''148''', 'purchasetransaction/receiveItemPost', '0.029714107513428', '2015-05-18 16:25:47'),
(6409, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 131 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027981042861938', '2015-05-18 16:25:47'),
(6410, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000131'' WHERE `ID` =  ''148''', 'purchasetransaction/receiveItemPost', '0.044387102127075', '2015-05-18 16:25:47'),
(6411, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000131'', ''GRN20150518[00000145]'', '' [ GRN20150518[00000145] ]'', ''8'', ''2015-04-27'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.060128927230835', '2015-05-18 16:25:47'),
(6412, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''146'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034332990646362', '2015-05-18 16:25:47'),
(6413, 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'', ''PO20150100000131'', 1, ''[5387]PERODUA AXIA'', ''38'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''1'', ''GRN20150518[00000145]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042891979217529', '2015-05-18 16:25:47'),
(6414, 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, ''PO20150100000131'', ''[5387]PERODUA AXIA'', ''21'', 36708, ''1'', ''1'', ''36708'', ''1'', ''2015'', ''GRN20150518[00000148]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034152984619141', '2015-05-18 16:25:47'),
(6415, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36708, `total_amount_cr` = 36708, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000131''', 'purchasetransaction/receiveItemPost', '0.065886974334717', '2015-05-18 16:25:47'),
(6416, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''289''', 'Gltransaction/journalPosting', '0.063708066940308', '2015-05-18 16:26:21'),
(6417, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000131''', 'Gltransaction/journalPosting', '0.034518003463745', '2015-05-18 16:26:21'),
(6418, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040540933609009', '2015-05-18 16:26:21'),
(6419, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053050994873047', '2015-05-18 16:26:21'),
(6420, 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'', ''5427'', ''PERODUA AXIA'', ''PM2B200S003065427'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.047069072723389', '2015-05-18 16:28:03');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6421, 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-27'', ''IV02122064'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.076581001281738', '2015-05-18 16:29:19'),
(6422, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (148, ''2'', ''147'', ''1'', ''PM2B200S003065427'', ''1'', ''16'', ''25326.8'', ''25326.8'', ''15'', ''6'', ''1519.61'', ''26846.41'')', 'aptransaction/savePurchaseRow', '0.042225122451782', '2015-05-18 16:29:19'),
(6423, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1519.61'', `totalAmount` = ''26846.41'' WHERE `ID` =  148', 'aptransaction/savePurchaseRow', '0.036394834518433', '2015-05-18 16:29:19'),
(6424, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =148', 'aptransaction/savePurchaseRow', '0.033066987991333', '2015-05-18 16:29:19'),
(6425, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''148'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033613920211792', '2015-05-18 16:29:40'),
(6426, 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-27'', ''0'', ''IV02122064'', ''2'')', 'Aptransaction/invoicePosting', '0.058701038360596', '2015-05-18 16:29:40'),
(6427, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (149, ''148'', ''2'', ''147'', ''1'', -1, ''PM2B200S003065427'', ''1'', ''1'', ''1'', ''25326.8'', 25326.8)', 'Aptransaction/invoicePosting', '0.054784059524536', '2015-05-18 16:29:40'),
(6428, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 150 WHERE `ID` =  ''149''', 'Aptransaction/invoicePosting', '0.054917097091675', '2015-05-18 16:29:40'),
(6429, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 145 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.040342092514038', '2015-05-18 16:29:40'),
(6430, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000145'' WHERE `ID` =  ''148''', 'Aptransaction/invoicePosting', '0.054922819137573', '2015-05-18 16:29:40'),
(6431, 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'', ''AP20150100000145'', ''PI20150518[00000145]'', ''Purchase Invoice Confirm [ PI20150518[00000145] ]'', ''3'', ''2015-04-27'', ''2015'', ''1'', 26846.41, 26846.41, ''2'')', 'Aptransaction/invoicePosting', '0.06959080696106', '2015-05-18 16:29:40'),
(6432, 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'', ''AP20150100000145'', 1, ''[5427]'', ''138'', ''PERODUA SALES SDN BHD'', 25326.8, ''1'', ''1'', ''25326.8'', ''1'', ''2015'', ''1'', ''PI20150518[00000145]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064448118209839', '2015-05-18 16:29:40'),
(6433, 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, ''AP20150100000145'', ''[5427]'', ''38'', ''PERODUA SALES SDN BHD'', 25326.8, ''1'', ''1'', ''25326.8'', ''1'', ''2015'', ''1'', ''PI20150518[00000145]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029642820358276', '2015-05-18 16:29:40'),
(6434, 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, ''AP20150100000145'', ''[5427]'', ''34'', ''PERODUA SALES SDN BHD'', 1519.61, ''1'', ''1'', ''1519.61'', ''1'', ''2015'', ''1'', ''PI20150518[00000145]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032885074615479', '2015-05-18 16:29:40'),
(6435, 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, ''AP20150100000145'', ''[5427]'', ''138'', ''PERODUA SALES SDN BHD'', 1519.61, ''1'', ''1'', ''1519.61'', ''1'', ''2015'', ''1'', ''PI20150518[00000145]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02960205078125', '2015-05-18 16:29:40'),
(6436, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 26846.41, `total_amount_cr` = 26846.41, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000145''', 'Aptransaction/invoicePosting', '0.034227132797241', '2015-05-18 16:29:40'),
(6437, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''290''', 'Gltransaction/journalPosting', '0.062886953353882', '2015-05-18 16:30:40'),
(6438, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000145''', 'Gltransaction/journalPosting', '0.056389093399048', '2015-05-18 16:30:40'),
(6439, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.073089122772217', '2015-05-18 16:30:40'),
(6440, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.050971031188965', '2015-05-18 16:30:40'),
(6441, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032927989959717', '2015-05-18 16:30:40'),
(6442, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05299186706543', '2015-05-18 16:30:40'),
(6443, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''149''', 'purchasetransaction/receiveItemPost', '0.051229953765869', '2015-05-18 16:31:07'),
(6444, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 132 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.038931846618652', '2015-05-18 16:31:07'),
(6445, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000132'' WHERE `ID` =  ''149''', 'purchasetransaction/receiveItemPost', '0.045866012573242', '2015-05-18 16:31:07'),
(6446, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000132'', ''GRN20150518[00000146]'', '' [ GRN20150518[00000146] ]'', ''8'', ''2015-04-27'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04810094833374', '2015-05-18 16:31:07'),
(6447, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''147'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.035911083221436', '2015-05-18 16:31:07'),
(6448, 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'', ''PO20150100000132'', 1, ''[5427]PERODUA AXIA'', ''38'', 25326.8, ''1'', ''1'', ''25326.8'', ''1'', ''2015'', ''1'', ''GRN20150518[00000146]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030256986618042', '2015-05-18 16:31:07'),
(6449, 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, ''PO20150100000132'', ''[5427]PERODUA AXIA'', ''21'', 25326.8, ''1'', ''1'', ''25326.8'', ''1'', ''2015'', ''GRN20150518[00000149]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034323930740356', '2015-05-18 16:31:07'),
(6450, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 25326.8, `total_amount_cr` = 25326.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000132''', 'purchasetransaction/receiveItemPost', '0.063910961151123', '2015-05-18 16:31:07'),
(6451, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''291''', 'Gltransaction/journalPosting', '0.070313930511475', '2015-05-18 16:31:42'),
(6452, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000132''', 'Gltransaction/journalPosting', '0.041559934616089', '2015-05-18 16:31:42'),
(6453, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03921103477478', '2015-05-18 16:31:42'),
(6454, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032557010650635', '2015-05-18 16:31:42'),
(6455, 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'', ''5112'', ''PERODUA ALZA'', ''PM2M502G002245112'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.047024965286255', '2015-05-18 16:59:38'),
(6456, 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-27'', ''IV02122327'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10251712799072', '2015-05-18 17:00:56'),
(6457, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (149, ''2'', ''148'', ''1'', ''PM2M502G002245112'', ''1'', ''16'', ''57187.78'', ''57187.78'', ''15'', ''6'', ''3431.27'', ''60619.05'')', 'aptransaction/savePurchaseRow', '0.054212093353271', '2015-05-18 17:00:57'),
(6458, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3431.27'', `totalAmount` = ''60619.05'' WHERE `ID` =  149', 'aptransaction/savePurchaseRow', '0.04764199256897', '2015-05-18 17:00:57'),
(6459, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =149', 'aptransaction/savePurchaseRow', '0.043842077255249', '2015-05-18 17:00:57'),
(6460, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''149'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.053666830062866', '2015-05-18 17:01:13'),
(6461, 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-27'', ''0'', ''IV02122327'', ''2'')', 'Aptransaction/invoicePosting', '0.035722970962524', '2015-05-18 17:01:13'),
(6462, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (150, ''149'', ''2'', ''148'', ''1'', -1, ''PM2M502G002245112'', ''1'', ''1'', ''1'', ''57187.78'', 57187.78)', 'Aptransaction/invoicePosting', '0.056118011474609', '2015-05-18 17:01:13'),
(6463, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 151 WHERE `ID` =  ''150''', 'Aptransaction/invoicePosting', '0.042603015899658', '2015-05-18 17:01:13'),
(6464, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 146 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041401147842407', '2015-05-18 17:01:13'),
(6465, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000146'' WHERE `ID` =  ''149''', 'Aptransaction/invoicePosting', '0.043791055679321', '2015-05-18 17:01:13'),
(6466, 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'', ''AP20150100000146'', ''PI20150518[00000146]'', ''Purchase Invoice Confirm [ PI20150518[00000146] ]'', ''3'', ''2015-04-27'', ''2015'', ''1'', 60619.05, 60619.05, ''2'')', 'Aptransaction/invoicePosting', '0.047600030899048', '2015-05-18 17:01:13'),
(6467, 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'', ''AP20150100000146'', 1, ''[5112]'', ''138'', ''PERODUA SALES SDN BHD'', 57187.78, ''1'', ''1'', ''57187.78'', ''1'', ''2015'', ''1'', ''PI20150518[00000146]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041002035140991', '2015-05-18 17:01:13'),
(6468, 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, ''AP20150100000146'', ''[5112]'', ''38'', ''PERODUA SALES SDN BHD'', 57187.78, ''1'', ''1'', ''57187.78'', ''1'', ''2015'', ''1'', ''PI20150518[00000146]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032530069351196', '2015-05-18 17:01:13'),
(6469, 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, ''AP20150100000146'', ''[5112]'', ''34'', ''PERODUA SALES SDN BHD'', 3431.27, ''1'', ''1'', ''3431.27'', ''1'', ''2015'', ''1'', ''PI20150518[00000146]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030020952224731', '2015-05-18 17:01:13'),
(6470, 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, ''AP20150100000146'', ''[5112]'', ''138'', ''PERODUA SALES SDN BHD'', 3431.27, ''1'', ''1'', ''3431.27'', ''1'', ''2015'', ''1'', ''PI20150518[00000146]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032670974731445', '2015-05-18 17:01:13'),
(6471, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60619.05, `total_amount_cr` = 60619.05, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000146''', 'Aptransaction/invoicePosting', '0.054781913757324', '2015-05-18 17:01:13'),
(6472, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''292''', 'Gltransaction/journalPosting', '0.028928995132446', '2015-05-18 17:02:13'),
(6473, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000146''', 'Gltransaction/journalPosting', '0.054327964782715', '2015-05-18 17:02:13'),
(6474, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039178848266602', '2015-05-18 17:02:13'),
(6475, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043822050094604', '2015-05-18 17:02:13'),
(6476, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029041051864624', '2015-05-18 17:02:13'),
(6477, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043824911117554', '2015-05-18 17:02:13'),
(6478, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''150''', 'purchasetransaction/receiveItemPost', '0.029169082641602', '2015-05-18 17:02:43'),
(6479, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 133 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028459072113037', '2015-05-18 17:02:43'),
(6480, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000133'' WHERE `ID` =  ''150''', 'purchasetransaction/receiveItemPost', '0.034718990325928', '2015-05-18 17:02:43'),
(6481, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000133'', ''GRN20150518[00000147]'', '' [ GRN20150518[00000147] ]'', ''8'', ''2015-04-27'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059103012084961', '2015-05-18 17:02:43'),
(6482, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''148'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036205053329468', '2015-05-18 17:02:43'),
(6483, 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'', ''PO20150100000133'', 1, ''[5112]PERODUA ALZA'', ''38'', 57187.78, ''1'', ''1'', ''57187.78'', ''1'', ''2015'', ''1'', ''GRN20150518[00000147]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.052495956420898', '2015-05-18 17:02:43'),
(6484, 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, ''PO20150100000133'', ''[5112]PERODUA ALZA'', ''21'', 57187.78, ''1'', ''1'', ''57187.78'', ''1'', ''2015'', ''GRN20150518[00000150]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042929172515869', '2015-05-18 17:02:43'),
(6485, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 57187.78, `total_amount_cr` = 57187.78, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000133''', 'purchasetransaction/receiveItemPost', '0.057224035263062', '2015-05-18 17:02:43'),
(6486, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''293''', 'Gltransaction/journalPosting', '0.076172113418579', '2015-05-18 17:03:18'),
(6487, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000133''', 'Gltransaction/journalPosting', '0.046138048171997', '2015-05-18 17:03:18'),
(6488, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040854930877686', '2015-05-18 17:03:18'),
(6489, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028875112533569', '2015-05-18 17:03:18'),
(6490, 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'', ''6126'', ''PERODUA MYVI'', ''PM2M603S002126126'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.038952112197876', '2015-05-18 17:05:57'),
(6491, 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-27'', ''IV02122460'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.13457798957825', '2015-05-18 17:07:22'),
(6492, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (150, ''2'', ''149'', ''1'', ''PM2M603S002126126'', ''1'', ''16'', ''51006.1'', ''51006.1'', ''15'', ''6'', ''3060.37'', ''54066.47'')', 'aptransaction/savePurchaseRow', '0.041046142578125', '2015-05-18 17:07:22'),
(6493, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3060.37'', `totalAmount` = ''54066.47'' WHERE `ID` =  150', 'aptransaction/savePurchaseRow', '0.036381959915161', '2015-05-18 17:07:22'),
(6494, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =150', 'aptransaction/savePurchaseRow', '0.033038854598999', '2015-05-18 17:07:22'),
(6495, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''150'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.089071035385132', '2015-05-18 17:07:39'),
(6496, 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-27'', ''0'', ''IV02122460'', ''2'')', 'Aptransaction/invoicePosting', '0.071157932281494', '2015-05-18 17:07:39'),
(6497, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (151, ''150'', ''2'', ''149'', ''1'', -1, ''PM2M603S002126126'', ''1'', ''1'', ''1'', ''51006.1'', 51006.1)', 'Aptransaction/invoicePosting', '0.043682098388672', '2015-05-18 17:07:39'),
(6498, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 152 WHERE `ID` =  ''151''', 'Aptransaction/invoicePosting', '0.032825946807861', '2015-05-18 17:07:39'),
(6499, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 147 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041080951690674', '2015-05-18 17:07:39'),
(6500, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000147'' WHERE `ID` =  ''150''', 'Aptransaction/invoicePosting', '0.030538082122803', '2015-05-18 17:07:39'),
(6501, 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'', ''AP20150100000147'', ''PI20150518[00000147]'', ''Purchase Invoice Confirm [ PI20150518[00000147] ]'', ''3'', ''2015-04-27'', ''2015'', ''1'', 54066.47, 54066.47, ''2'')', 'Aptransaction/invoicePosting', '0.068056106567383', '2015-05-18 17:07:39'),
(6502, 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'', ''AP20150100000147'', 1, ''[6126]'', ''138'', ''PERODUA SALES SDN BHD'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000147]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.068130016326904', '2015-05-18 17:07:39'),
(6503, 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, ''AP20150100000147'', ''[6126]'', ''38'', ''PERODUA SALES SDN BHD'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''PI20150518[00000147]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042335033416748', '2015-05-18 17:07:39'),
(6504, 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, ''AP20150100000147'', ''[6126]'', ''34'', ''PERODUA SALES SDN BHD'', 3060.37, ''1'', ''1'', ''3060.37'', ''1'', ''2015'', ''1'', ''PI20150518[00000147]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028687953948975', '2015-05-18 17:07:39'),
(6505, 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, ''AP20150100000147'', ''[6126]'', ''138'', ''PERODUA SALES SDN BHD'', 3060.37, ''1'', ''1'', ''3060.37'', ''1'', ''2015'', ''1'', ''PI20150518[00000147]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03398609161377', '2015-05-18 17:07:39'),
(6506, 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` =  ''AP20150100000147''', 'Aptransaction/invoicePosting', '0.04102611541748', '2015-05-18 17:07:40'),
(6507, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''294''', 'Gltransaction/journalPosting', '0.31768989562988', '2015-05-18 17:09:40'),
(6508, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000147''', 'Gltransaction/journalPosting', '0.043723106384277', '2015-05-18 17:09:40'),
(6509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062979936599731', '2015-05-18 17:09:40'),
(6510, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042113780975342', '2015-05-18 17:09:40'),
(6511, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028830051422119', '2015-05-18 17:09:40'),
(6512, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.055453062057495', '2015-05-18 17:09:40'),
(6513, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''151''', 'purchasetransaction/receiveItemPost', '0.03820013999939', '2015-05-18 17:10:09'),
(6514, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 134 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.041069984436035', '2015-05-18 17:10:09'),
(6515, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000134'' WHERE `ID` =  ''151''', 'purchasetransaction/receiveItemPost', '0.045994997024536', '2015-05-18 17:10:09'),
(6516, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000134'', ''GRN20150518[00000148]'', '' [ GRN20150518[00000148] ]'', ''8'', ''2015-04-27'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.045420169830322', '2015-05-18 17:10:09'),
(6517, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''149'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.037095069885254', '2015-05-18 17:10:09'),
(6518, 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'', ''PO20150100000134'', 1, ''[6126]PERODUA MYVI'', ''38'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''1'', ''GRN20150518[00000148]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030191898345947', '2015-05-18 17:10:09'),
(6519, 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, ''PO20150100000134'', ''[6126]PERODUA MYVI'', ''21'', 51006.1, ''1'', ''1'', ''51006.1'', ''1'', ''2015'', ''GRN20150518[00000151]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034472942352295', '2015-05-18 17:10:09'),
(6520, 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` =  ''PO20150100000134''', 'purchasetransaction/receiveItemPost', '0.041640996932983', '2015-05-18 17:10:09'),
(6521, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''295''', 'Gltransaction/journalPosting', '0.066195011138916', '2015-05-18 17:10:43'),
(6522, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000134''', 'Gltransaction/journalPosting', '0.041437149047852', '2015-05-18 17:10:43'),
(6523, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.038684844970703', '2015-05-18 17:10:43'),
(6524, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033766984939575', '2015-05-18 17:10:43'),
(6525, 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'', ''6278'', ''PERODUA AXIA'', ''PM2B200S003066278'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.044769763946533', '2015-05-18 17:44:50'),
(6526, 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-29'', ''IV02122945'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10801196098328', '2015-05-18 17:47:56'),
(6527, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (151, ''2'', ''150'', ''1'', ''PM2B200S003066278'', ''1'', ''16'', ''36346.87'', ''36346.87'', ''15'', ''6'', ''2180.81'', ''38527.68'')', 'aptransaction/savePurchaseRow', '0.054771900177002', '2015-05-18 17:47:56'),
(6528, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2180.81'', `totalAmount` = ''38527.68'' WHERE `ID` =  151', 'aptransaction/savePurchaseRow', '0.034547090530396', '2015-05-18 17:47:56'),
(6529, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =151', 'aptransaction/savePurchaseRow', '0.055320024490356', '2015-05-18 17:47:56'),
(6530, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''151'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.067444086074829', '2015-05-18 17:48:17'),
(6531, 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-29'', ''0'', ''IV02122945'', ''2'')', 'Aptransaction/invoicePosting', '0.058575868606567', '2015-05-18 17:48:17'),
(6532, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (152, ''151'', ''2'', ''150'', ''1'', -1, ''PM2B200S003066278'', ''1'', ''1'', ''1'', ''36346.87'', 36346.87)', 'Aptransaction/invoicePosting', '0.043696880340576', '2015-05-18 17:48:17'),
(6533, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 153 WHERE `ID` =  ''152''', 'Aptransaction/invoicePosting', '0.04154109954834', '2015-05-18 17:48:17'),
(6534, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 148 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.02803897857666', '2015-05-18 17:48:17'),
(6535, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000148'' WHERE `ID` =  ''151''', 'Aptransaction/invoicePosting', '0.04430103302002', '2015-05-18 17:48:17'),
(6536, 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'', ''AP20150100000148'', ''PI20150518[00000148]'', ''Purchase Invoice Confirm [ PI20150518[00000148] ]'', ''3'', ''2015-04-29'', ''2015'', ''1'', 38527.68, 38527.68, ''2'')', 'Aptransaction/invoicePosting', '0.049908876419067', '2015-05-18 17:48:17'),
(6537, 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'', ''AP20150100000148'', 1, ''[6278]'', ''138'', ''PERODUA SALES SDN BHD'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''PI20150518[00000148]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.051042079925537', '2015-05-18 17:48:17'),
(6538, 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, ''AP20150100000148'', ''[6278]'', ''38'', ''PERODUA SALES SDN BHD'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''PI20150518[00000148]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.044723987579346', '2015-05-18 17:48:17'),
(6539, 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, ''AP20150100000148'', ''[6278]'', ''34'', ''PERODUA SALES SDN BHD'', 2180.81, ''1'', ''1'', ''2180.81'', ''1'', ''2015'', ''1'', ''PI20150518[00000148]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028738975524902', '2015-05-18 17:48:17'),
(6540, 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, ''AP20150100000148'', ''[6278]'', ''138'', ''PERODUA SALES SDN BHD'', 2180.81, ''1'', ''1'', ''2180.81'', ''1'', ''2015'', ''1'', ''PI20150518[00000148]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033568143844604', '2015-05-18 17:48:17'),
(6541, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38527.68, `total_amount_cr` = 38527.68, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000148''', 'Aptransaction/invoicePosting', '0.054811000823975', '2015-05-18 17:48:17'),
(6542, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''296''', 'Gltransaction/journalPosting', '0.097760200500488', '2015-05-18 17:49:24'),
(6543, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000148''', 'Gltransaction/journalPosting', '0.043743133544922', '2015-05-18 17:49:24'),
(6544, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062456130981445', '2015-05-18 17:49:24'),
(6545, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039407968521118', '2015-05-18 17:49:24'),
(6546, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052439212799072', '2015-05-18 17:49:24'),
(6547, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.066962957382202', '2015-05-18 17:49:24'),
(6548, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''152''', 'purchasetransaction/receiveItemPost', '0.029588937759399', '2015-05-18 17:50:11');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6549, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 135 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027981996536255', '2015-05-18 17:50:11'),
(6550, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000135'' WHERE `ID` =  ''152''', 'purchasetransaction/receiveItemPost', '0.035890102386475', '2015-05-18 17:50:11'),
(6551, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000135'', ''GRN20150518[00000149]'', '' [ GRN20150518[00000149] ]'', ''8'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058861017227173', '2015-05-18 17:50:11'),
(6552, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''150'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036939144134521', '2015-05-18 17:50:11'),
(6553, 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'', ''PO20150100000135'', 1, ''[6278]PERODUA AXIA'', ''38'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''GRN20150518[00000149]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051405191421509', '2015-05-18 17:50:11'),
(6554, 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, ''PO20150100000135'', ''[6278]PERODUA AXIA'', ''21'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''GRN20150518[00000152]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03537392616272', '2015-05-18 17:50:11'),
(6555, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36346.87, `total_amount_cr` = 36346.87, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000135''', 'purchasetransaction/receiveItemPost', '0.051730155944824', '2015-05-18 17:50:11'),
(6556, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''297''', 'Gltransaction/journalPosting', '0.10545682907104', '2015-05-18 17:50:44'),
(6557, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000135''', 'Gltransaction/journalPosting', '0.043286085128784', '2015-05-18 17:50:44'),
(6558, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052885055541992', '2015-05-18 17:50:44'),
(6559, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027814149856567', '2015-05-18 17:50:44'),
(6560, 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'', ''6505'', ''PERODUA AXIA'', ''PM2B200S003066505'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.051491022109985', '2015-05-18 17:53:03'),
(6561, 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-29'', ''IV02122996'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.097766160964966', '2015-05-18 17:55:56'),
(6562, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (152, ''2'', ''151'', ''1'', ''PM2B200S003066505'', ''1'', ''16'', ''36346.87'', ''36346.87'', ''15'', ''6'', ''2180.81'', ''38527.68'')', 'aptransaction/savePurchaseRow', '0.055169820785522', '2015-05-18 17:55:56'),
(6563, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2180.81'', `totalAmount` = ''38527.68'' WHERE `ID` =  152', 'aptransaction/savePurchaseRow', '0.042458057403564', '2015-05-18 17:55:56'),
(6564, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =152', 'aptransaction/savePurchaseRow', '0.047447919845581', '2015-05-18 17:55:56'),
(6565, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''152'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.035260915756226', '2015-05-18 17:56:12'),
(6566, 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-29'', ''0'', ''IV02122996'', ''2'')', 'Aptransaction/invoicePosting', '0.078199863433838', '2015-05-18 17:56:12'),
(6567, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (153, ''152'', ''2'', ''151'', ''1'', -1, ''PM2B200S003066505'', ''1'', ''1'', ''1'', ''36346.87'', 36346.87)', 'Aptransaction/invoicePosting', '0.057096004486084', '2015-05-18 17:56:12'),
(6568, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 154 WHERE `ID` =  ''153''', 'Aptransaction/invoicePosting', '0.030468940734863', '2015-05-18 17:56:12'),
(6569, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 149 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028375148773193', '2015-05-18 17:56:12'),
(6570, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000149'' WHERE `ID` =  ''152''', 'Aptransaction/invoicePosting', '0.035552978515625', '2015-05-18 17:56:12'),
(6571, 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'', ''AP20150100000149'', ''PI20150518[00000149]'', ''Purchase Invoice Confirm [ PI20150518[00000149] ]'', ''3'', ''2015-04-29'', ''2015'', ''1'', 38527.68, 38527.68, ''2'')', 'Aptransaction/invoicePosting', '0.047414064407349', '2015-05-18 17:56:12'),
(6572, 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'', ''AP20150100000149'', 1, ''[6505]'', ''138'', ''PERODUA SALES SDN BHD'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''PI20150518[00000149]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064412117004395', '2015-05-18 17:56:12'),
(6573, 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, ''AP20150100000149'', ''[6505]'', ''38'', ''PERODUA SALES SDN BHD'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''PI20150518[00000149]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053340911865234', '2015-05-18 17:56:12'),
(6574, 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, ''AP20150100000149'', ''[6505]'', ''34'', ''PERODUA SALES SDN BHD'', 2180.81, ''1'', ''1'', ''2180.81'', ''1'', ''2015'', ''1'', ''PI20150518[00000149]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027998924255371', '2015-05-18 17:56:12'),
(6575, 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, ''AP20150100000149'', ''[6505]'', ''138'', ''PERODUA SALES SDN BHD'', 2180.81, ''1'', ''1'', ''2180.81'', ''1'', ''2015'', ''1'', ''PI20150518[00000149]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.056648969650269', '2015-05-18 17:56:12'),
(6576, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38527.68, `total_amount_cr` = 38527.68, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000149''', 'Aptransaction/invoicePosting', '0.029362916946411', '2015-05-18 17:56:12'),
(6577, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''298''', 'Gltransaction/journalPosting', '0.045761108398438', '2015-05-18 17:57:21'),
(6578, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000149''', 'Gltransaction/journalPosting', '0.029344081878662', '2015-05-18 17:57:21'),
(6579, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.050272941589355', '2015-05-18 17:57:21'),
(6580, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04444694519043', '2015-05-18 17:57:21'),
(6581, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028033971786499', '2015-05-18 17:57:21'),
(6582, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052712917327881', '2015-05-18 17:57:21'),
(6583, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''153''', 'purchasetransaction/receiveItemPost', '0.041762113571167', '2015-05-18 17:58:01'),
(6584, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 136 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.026414155960083', '2015-05-18 17:58:01'),
(6585, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000136'' WHERE `ID` =  ''153''', 'purchasetransaction/receiveItemPost', '0.057875871658325', '2015-05-18 17:58:01'),
(6586, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000136'', ''GRN20150518[00000150]'', '' [ GRN20150518[00000150] ]'', ''8'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03351616859436', '2015-05-18 17:58:01'),
(6587, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''151'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.037741899490356', '2015-05-18 17:58:02'),
(6588, 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'', ''PO20150100000136'', 1, ''[6505]PERODUA AXIA'', ''38'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''1'', ''GRN20150518[00000150]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029438972473145', '2015-05-18 17:58:02'),
(6589, 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, ''PO20150100000136'', ''[6505]PERODUA AXIA'', ''21'', 36346.87, ''1'', ''1'', ''36346.87'', ''1'', ''2015'', ''GRN20150518[00000153]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035265922546387', '2015-05-18 17:58:02'),
(6590, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36346.87, `total_amount_cr` = 36346.87, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000136''', 'purchasetransaction/receiveItemPost', '0.040745973587036', '2015-05-18 17:58:02'),
(6591, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''299''', 'Gltransaction/journalPosting', '0.079870939254761', '2015-05-18 17:58:34'),
(6592, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000136''', 'Gltransaction/journalPosting', '0.055365085601807', '2015-05-18 17:58:34'),
(6593, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043915987014771', '2015-05-18 17:58:34'),
(6594, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028014898300171', '2015-05-18 17:58:34'),
(6595, 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'', ''7033'', ''PERODUA MYVI'', ''PM2M602S002227033'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052950859069824', '2015-05-18 18:04:59'),
(6596, 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-29'', ''IV02123431'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.24343299865723', '2015-05-18 18:06:18'),
(6597, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (153, ''2'', ''152'', ''1'', ''PM2M602S002227033'', ''1'', ''16'', ''41314.98'', ''41314.98'', ''15'', ''6'', ''2478.9'', ''43793.88'')', 'aptransaction/savePurchaseRow', '0.03603982925415', '2015-05-18 18:06:18'),
(6598, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2478.9'', `totalAmount` = ''43793.88'' WHERE `ID` =  153', 'aptransaction/savePurchaseRow', '0.034965991973877', '2015-05-18 18:06:18'),
(6599, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =153', 'aptransaction/savePurchaseRow', '0.044183969497681', '2015-05-18 18:06:18'),
(6600, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''153'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.030668020248413', '2015-05-18 18:06:37'),
(6601, 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-29'', ''0'', ''IV02123431'', ''2'')', 'Aptransaction/invoicePosting', '0.072497129440308', '2015-05-18 18:06:37'),
(6602, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (154, ''153'', ''2'', ''152'', ''1'', -1, ''PM2M602S002227033'', ''1'', ''1'', ''1'', ''41314.98'', 41314.98)', 'Aptransaction/invoicePosting', '0.043698072433472', '2015-05-18 18:06:38'),
(6603, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 155 WHERE `ID` =  ''154''', 'Aptransaction/invoicePosting', '0.029571056365967', '2015-05-18 18:06:38'),
(6604, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 150 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028765201568604', '2015-05-18 18:06:38'),
(6605, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000150'' WHERE `ID` =  ''153''', 'Aptransaction/invoicePosting', '0.043251991271973', '2015-05-18 18:06:38'),
(6606, 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'', ''AP20150100000150'', ''PI20150518[00000150]'', ''Purchase Invoice Confirm [ PI20150518[00000150] ]'', ''3'', ''2015-04-29'', ''2015'', ''1'', 43793.88, 43793.88, ''2'')', 'Aptransaction/invoicePosting', '0.050918102264404', '2015-05-18 18:06:38'),
(6607, 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'', ''AP20150100000150'', 1, ''[7033]'', ''138'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000150]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064497947692871', '2015-05-18 18:06:38'),
(6608, 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, ''AP20150100000150'', ''[7033]'', ''38'', ''PERODUA SALES SDN BHD'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''PI20150518[00000150]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042332172393799', '2015-05-18 18:06:38'),
(6609, 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, ''AP20150100000150'', ''[7033]'', ''34'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000150]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028064012527466', '2015-05-18 18:06:38'),
(6610, 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, ''AP20150100000150'', ''[7033]'', ''138'', ''PERODUA SALES SDN BHD'', 2478.9, ''1'', ''1'', ''2478.9'', ''1'', ''2015'', ''1'', ''PI20150518[00000150]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034570932388306', '2015-05-18 18:06:38'),
(6611, 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` =  ''AP20150100000150''', 'Aptransaction/invoicePosting', '0.029388904571533', '2015-05-18 18:06:38'),
(6612, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''300''', 'Gltransaction/journalPosting', '0.042446136474609', '2015-05-18 18:07:46'),
(6613, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000150''', 'Gltransaction/journalPosting', '0.043311834335327', '2015-05-18 18:07:46'),
(6614, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05026912689209', '2015-05-18 18:07:46'),
(6615, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.045259952545166', '2015-05-18 18:07:46'),
(6616, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027688980102539', '2015-05-18 18:07:46'),
(6617, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056369066238403', '2015-05-18 18:07:47'),
(6618, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''154''', 'purchasetransaction/receiveItemPost', '0.029680967330933', '2015-05-18 18:08:20'),
(6619, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 137 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.02802300453186', '2015-05-18 18:08:20'),
(6620, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000137'' WHERE `ID` =  ''154''', 'purchasetransaction/receiveItemPost', '0.036403179168701', '2015-05-18 18:08:20'),
(6621, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000137'', ''GRN20150518[00000151]'', '' [ GRN20150518[00000151] ]'', ''8'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.055033922195435', '2015-05-18 18:08:20'),
(6622, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''152'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034218072891235', '2015-05-18 18:08:20'),
(6623, 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'', ''PO20150100000137'', 1, ''[7033]PERODUA MYVI'', ''38'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''1'', ''GRN20150518[00000151]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06554102897644', '2015-05-18 18:08:21'),
(6624, 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, ''PO20150100000137'', ''[7033]PERODUA MYVI'', ''21'', 41314.98, ''1'', ''1'', ''41314.98'', ''1'', ''2015'', ''GRN20150518[00000154]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029133081436157', '2015-05-18 18:08:21'),
(6625, 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` =  ''PO20150100000137''', 'purchasetransaction/receiveItemPost', '0.035903930664062', '2015-05-18 18:08:21'),
(6626, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''301''', 'Gltransaction/journalPosting', '0.10773706436157', '2015-05-18 18:08:55'),
(6627, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000137''', 'Gltransaction/journalPosting', '0.055570125579834', '2015-05-18 18:08:55'),
(6628, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053611993789673', '2015-05-18 18:08:55'),
(6629, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027297019958496', '2015-05-18 18:08:55'),
(6630, 2, 2, '::1', 'update', 'UPDATE `comp_purchase_order` SET `updateAble` = 0 WHERE `ID` =  0', 'receiveItems/receiveItemList2', '0.11170196533203', '2015-05-18 18:13:05'),
(6631, 2, 2, '::1', 'update', 'UPDATE `comp_purchase_order` SET `updateAble` = 0 WHERE `ID` =  0', 'receiveItems/receiveItemList2', '0.00051498413085938', '2015-05-18 18:13:15'),
(6632, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''1'', ''1'', ''1'', ''1'', 2, ''3'', '''', ''PI20150518'', ''2015-04-08'', ''IV000001'', '''', ''1'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.093273162841797', '2015-05-18 18:30:34'),
(6633, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (154, ''1'', ''1'', ''1'', ''PM2B200S003057161'', ''1'', ''15'', ''10000'', ''10000'', ''50'', ''6'', ''600'', ''10600'')', 'aptransaction/savePurchaseRow', '0.040131092071533', '2015-05-18 18:30:34'),
(6634, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  154', 'aptransaction/savePurchaseRow', '0.065102815628052', '2015-05-18 18:30:34'),
(6635, 1, 1, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =154', 'aptransaction/savePurchaseRow', '0.037036895751953', '2015-05-18 18:30:34'),
(6636, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''154'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051665067672729', '2015-05-18 18:30:51'),
(6637, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''1'', ''1'', ''3'', ''1'', ''1'', ''1'', ''GRN20150518'', ''2015-04-08'', ''0'', ''IV000001'', ''1'')', 'Aptransaction/invoicePosting', '0.061978816986084', '2015-05-18 18:30:51'),
(6638, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (155, ''154'', ''1'', ''1'', ''1'', -1, ''PM2B200S003057161'', ''1'', ''1'', ''1'', ''10000'', 10000)', 'Aptransaction/invoicePosting', '0.065819025039673', '2015-05-18 18:30:51'),
(6639, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 156 WHERE `ID` =  ''155''', 'Aptransaction/invoicePosting', '0.073398113250732', '2015-05-18 18:30:51'),
(6640, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''1''', 'Aptransaction/invoicePosting', '0.054219961166382', '2015-05-18 18:30:51'),
(6641, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000004'' WHERE `ID` =  ''154''', 'Aptransaction/invoicePosting', '0.043822050094604', '2015-05-18 18:30:51'),
(6642, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''1'', ''AP20150100000004'', ''PI20150518[00000004]'', ''Purchase Invoice Confirm [ PI20150518[00000004] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 10600, 10600, ''1'')', 'Aptransaction/invoicePosting', '0.11410617828369', '2015-05-18 18:30:51'),
(6643, 1, 1, '::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 (''1'', ''AP20150100000004'', 1, ''[AXIA]'', ''182'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000004]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.082941055297852', '2015-05-18 18:30:51'),
(6644, 1, 1, '::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 (''1'', 2, ''AP20150100000004'', ''[AXIA]'', ''183'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000004]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.042950868606567', '2015-05-18 18:30:51'),
(6645, 1, 1, '::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 (''1'', 3, ''AP20150100000004'', ''[AXIA]'', ''179'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000004]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.045598030090332', '2015-05-18 18:30:51'),
(6646, 1, 1, '::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 (''1'', 4, ''AP20150100000004'', ''[AXIA]'', ''182'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000004]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.039252996444702', '2015-05-18 18:30:51'),
(6647, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000004''', 'Aptransaction/invoicePosting', '0.07638692855835', '2015-05-18 18:30:51'),
(6648, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''302''', 'Gltransaction/journalPosting', '0.062237024307251', '2015-05-18 18:31:10'),
(6649, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000004''', 'Gltransaction/journalPosting', '0.055371999740601', '2015-05-18 18:31:10'),
(6650, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027806043624878', '2015-05-18 18:31:10'),
(6651, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034889936447144', '2015-05-18 18:31:10'),
(6652, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.027048110961914', '2015-05-18 18:31:10'),
(6653, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053699016571045', '2015-05-18 18:31:10'),
(6654, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_creditnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `currencyID`, `memo`, `creditNoteDate`, `supplierInvoiceID`, `projectID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''1'', ''1'', ''3'', ''PCN20150518'', ''1'', '''', ''2015-05-10'', ''154'', '''', ''1.00000'', ''10000'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseCredit', '0.25190901756287', '2015-05-18 18:36:05'),
(6655, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_creditnote_detail` (`creditnoteID`, `createdBy`, `itemId`, `invoiceDetailID`, `itemname`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `lineNo`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (1, ''1'', ''1'', ''155'', 0, ''PM2B200S003057161'', ''1'', ''15'', ''10000'', ''1'', ''10000'', ''50'', ''6'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseCredit', '0.028181076049805', '2015-05-18 18:36:05'),
(6656, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  1', 'aptransaction/saveNewParchaseCredit', '0.046603202819824', '2015-05-18 18:36:05'),
(6657, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `updateAble` = ''0'' WHERE `ID` =  ''1'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.069475173950195', '2015-05-18 18:36:17'),
(6658, 1, 1, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''1'', ''3'', ''2015'', ''2'', ''AP'', 1)', 'Aptransaction/creditNotePosting', '0.043175935745239', '2015-05-18 18:36:17'),
(6659, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `journalNo` = ''AP20150200000001'' WHERE `ID` =  ''1'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.0004420280456543', '2015-05-18 18:36:17'),
(6660, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `description`, `formNo`, `total_amount_dr`, `total_amount_cr`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''AP20150200000001'', ''Posting Credit Note Confirm [ PCN20150518[00000001][00000001] ]'', ''PCN20150518[00000001][00000001]'', 10600, 10600, ''3'', ''2015-05-10'', ''2015'', ''2'', ''1'')', 'Aptransaction/creditNotePosting', '0.045547008514404', '2015-05-18 18:36:17'),
(6661, 1, 1, '::1', 'update', 'UPDATE `item_details` SET `companyID` = ''1'', `itemID` = ''1'', `locationID` = ''1'', `onHandQty` = 1 WHERE `ID` =  ''1''', 'Aptransaction/creditNotePosting', '0.029486894607544', '2015-05-18 18:36:17'),
(6662, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `projectID`, `formNo`, `createdBy`) VALUES (''1'', ''AP20150200000001'', 1, ''[AXIA]PERODUA AXIA'', ''182'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''2'', ''2015'', ''1'', ''0'', ''PCN20150518[00000001][00000001]'', ''1'')', 'Aptransaction/creditNotePosting', '0.054811000823975', '2015-05-18 18:36:17'),
(6663, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 2, ''AP20150200000001'', ''[AXIA]PERODUA AXIA'', ''166'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''2'', ''2015'', ''PCN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.035973072052002', '2015-05-18 18:36:17'),
(6664, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 3, ''AP20150200000001'', ''[AXIA]PERODUA AXIA'', ''179'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''2'', ''2015'', ''PCN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.050564050674438', '2015-05-18 18:36:17'),
(6665, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 4, ''AP20150200000001'', ''[AXIA]PERODUA AXIA'', ''182'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''2'', ''2015'', ''PCN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.035966873168945', '2015-05-18 18:36:17'),
(6666, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150200000001''', 'Aptransaction/creditNotePosting', '0.076937198638916', '2015-05-18 18:36:17'),
(6667, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''303''', 'Gltransaction/journalPosting', '0.072679996490479', '2015-05-18 18:37:02'),
(6668, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150200000001''', 'Gltransaction/journalPosting', '0.039443016052246', '2015-05-18 18:37:02'),
(6669, 1, 1, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''1'', ''4'', ''182'', ''2015'', ''2'', ''0'', ''10000'', -10000, ''1'', ''2015-05-18: 12:05:01'')', 'Gltransaction/journalPosting', '0.046211957931519', '2015-05-18 18:37:02'),
(6670, 1, 1, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''1'', ''3'', ''166'', ''2015'', ''2'', ''10000'', ''0'', 10000, ''1'', ''2015-05-18: 12:05:01'')', 'Gltransaction/journalPosting', '0.025792121887207', '2015-05-18 18:37:02'),
(6671, 1, 1, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''1'', ''3'', ''179'', ''2015'', ''2'', ''600'', ''0'', 600, ''1'', ''2015-05-18: 12:05:01'')', 'Gltransaction/journalPosting', '0.034480094909668', '2015-05-18 18:37:02'),
(6672, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.041919946670532', '2015-05-18 18:37:02'),
(6673, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''155''', 'purchasetransaction/receiveItemPost', '0.029428958892822', '2015-05-18 18:42:12'),
(6674, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''2''', 'purchasetransaction/receiveItemPost', '0.02877402305603', '2015-05-18 18:42:12'),
(6675, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000004'' WHERE `ID` =  ''155''', 'purchasetransaction/receiveItemPost', '0.058554172515869', '2015-05-18 18:42:12'),
(6676, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''PO20150100000004'', ''GRN20150518[00000004]'', '' [ GRN20150518[00000004] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.058835983276367', '2015-05-18 18:42:12'),
(6677, 1, 1, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = 2 WHERE `ID` =  ''1''', 'purchasetransaction/receiveItemPost', '0.042765140533447', '2015-05-18 18:42:12'),
(6678, 1, 1, '::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 (''1'', ''PO20150100000004'', 1, ''[AXIA]PERODUA AXIA'', ''183'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''GRN20150518[00000004]'', ''1'')', 'purchasetransaction/receiveItemPost', '0.098766088485718', '2015-05-18 18:42:12'),
(6679, 1, 1, '::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 (''1'', 2, ''PO20150100000004'', ''[AXIA]PERODUA AXIA'', ''166'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''GRN20150518[00000155]'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.076563835144043', '2015-05-18 18:42:12');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6680, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000004''', 'purchasetransaction/receiveItemPost', '0.029011011123657', '2015-05-18 18:42:12'),
(6681, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''304''', 'Gltransaction/journalPosting', '0.035300016403198', '2015-05-18 18:42:31'),
(6682, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000004''', 'Gltransaction/journalPosting', '0.039124965667725', '2015-05-18 18:42:31'),
(6683, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.028095960617065', '2015-05-18 18:42:31'),
(6684, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034948825836182', '2015-05-18 18:42:31'),
(6685, 1, 1, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''1'', ''1'', ''2015'', ''2'', ''RV'', 1)', 'Gltransaction/journal_reverse_save', '0.053986072540283', '2015-05-18 18:46:37'),
(6686, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `description`, `referrence`, `module`, `effective_date`, `total_amount_dr`, `total_amount_cr`, `total_amount`, `year`, `period`, `createdBy`) VALUES (''1'', ''RV20150200000001'', ''rev'', 0, ''1'', ''2015-05-18'', ''10600'', ''10600'', ''0'', ''2015'', ''2'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.097564935684204', '2015-05-18 18:46:38'),
(6687, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150200000001'', ''1'', ''[AXIA]PERODUA AXIA'', ''182'', ''2015'', ''2'', ''1'', ''1'', ''0'', ''10000'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.071271896362305', '2015-05-18 18:46:38'),
(6688, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150200000001'', ''2'', ''[AXIA]PERODUA AXIA'', ''166'', ''2015'', ''2'', ''1'', ''1'', ''10000'', ''0'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.036051034927368', '2015-05-18 18:46:38'),
(6689, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150200000001'', ''3'', ''[AXIA]PERODUA AXIA'', ''179'', ''2015'', ''2'', ''1'', ''1'', ''600'', ''0'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.028064012527466', '2015-05-18 18:46:38'),
(6690, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150200000001'', ''4'', ''[AXIA]PERODUA AXIA'', ''182'', ''2015'', ''2'', ''1'', ''1'', ''0'', ''600'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.06506609916687', '2015-05-18 18:46:38'),
(6691, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''305''', 'Gltransaction/journalPosting', '0.066854953765869', '2015-05-18 18:46:52'),
(6692, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''RV20150200000001''', 'Gltransaction/journalPosting', '0.037420034408569', '2015-05-18 18:46:52'),
(6693, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.028218984603882', '2015-05-18 18:46:52'),
(6694, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035037040710449', '2015-05-18 18:46:53'),
(6695, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.026620149612427', '2015-05-18 18:46:53'),
(6696, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.035093069076538', '2015-05-18 18:46:53'),
(6697, 1, 1, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''1'', ''0001'', ''PERODUA MYVI'', ''PM2M502G002230001'', ''1'', ''22'', ''15'', 0, ''1'', ''0'', ''204'', ''221'', ''166'', ''50'', ''37'', 0)', 'icsetting/itemSave', '0.056178092956543', '2015-05-18 18:50:46'),
(6698, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''1'', ''1'', ''1'', ''1'', 2, ''3'', '''', ''PI20150518'', ''2015-04-01'', ''testcn'', '''', ''1'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12629699707031', '2015-05-18 18:52:00'),
(6699, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (155, ''1'', ''153'', ''1'', ''PM2M502G002230001'', ''1'', ''15'', ''10000'', ''10000'', ''50'', ''6'', ''600'', ''10600'')', 'aptransaction/savePurchaseRow', '0.10991311073303', '2015-05-18 18:52:00'),
(6700, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  155', 'aptransaction/savePurchaseRow', '0.023911952972412', '2015-05-18 18:52:00'),
(6701, 1, 1, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =155', 'aptransaction/savePurchaseRow', '0.037480115890503', '2015-05-18 18:52:00'),
(6702, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''155'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038933992385864', '2015-05-18 18:52:18'),
(6703, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''1'', ''1'', ''3'', ''1'', ''1'', ''1'', ''GRN20150518'', ''2015-04-01'', ''0'', ''testcn'', ''1'')', 'Aptransaction/invoicePosting', '0.058573961257935', '2015-05-18 18:52:18'),
(6704, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (156, ''155'', ''1'', ''153'', ''1'', -1, ''PM2M502G002230001'', ''1'', ''1'', ''1'', ''10000'', 10000)', 'Aptransaction/invoicePosting', '0.043732166290283', '2015-05-18 18:52:18'),
(6705, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 157 WHERE `ID` =  ''156''', 'Aptransaction/invoicePosting', '0.11718797683716', '2015-05-18 18:52:18'),
(6706, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''1''', 'Aptransaction/invoicePosting', '0.028253078460693', '2015-05-18 18:52:18'),
(6707, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000005'' WHERE `ID` =  ''155''', 'Aptransaction/invoicePosting', '0.044367790222168', '2015-05-18 18:52:18'),
(6708, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''1'', ''AP20150100000005'', ''PI20150518[00000005]'', ''Purchase Invoice Confirm [ PI20150518[00000005] ]'', ''3'', ''2015-04-01'', ''2015'', ''1'', 10600, 10600, ''1'')', 'Aptransaction/invoicePosting', '0.073662996292114', '2015-05-18 18:52:18'),
(6709, 1, 1, '::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 (''1'', ''AP20150100000005'', 1, ''[0001]'', ''182'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000005]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.064406871795654', '2015-05-18 18:52:18'),
(6710, 1, 1, '::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 (''1'', 2, ''AP20150100000005'', ''[0001]'', ''183'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000005]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.026654958724976', '2015-05-18 18:52:18'),
(6711, 1, 1, '::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 (''1'', 3, ''AP20150100000005'', ''[0001]'', ''179'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000005]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.035983085632324', '2015-05-18 18:52:19'),
(6712, 1, 1, '::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 (''1'', 4, ''AP20150100000005'', ''[0001]'', ''182'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000005]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.026661157608032', '2015-05-18 18:52:19'),
(6713, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000005''', 'Aptransaction/invoicePosting', '0.037286043167114', '2015-05-18 18:52:19'),
(6714, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''306''', 'Gltransaction/journalPosting', '0.08831000328064', '2015-05-18 18:53:29'),
(6715, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000005''', 'Gltransaction/journalPosting', '0.088036060333252', '2015-05-18 18:53:29'),
(6716, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041268825531006', '2015-05-18 18:53:29'),
(6717, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052664995193481', '2015-05-18 18:53:29'),
(6718, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.035959959030151', '2015-05-18 18:53:29'),
(6719, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053275108337402', '2015-05-18 18:53:30'),
(6720, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_creditnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `currencyID`, `memo`, `creditNoteDate`, `supplierInvoiceID`, `projectID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''1'', ''1'', ''3'', ''PCN20150518'', ''1'', '''', ''2015-04-30'', ''155'', '''', ''1.00000'', ''10000'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseCredit', '0.11763787269592', '2015-05-18 19:03:16'),
(6721, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_creditnote_detail` (`creditnoteID`, `createdBy`, `itemId`, `invoiceDetailID`, `itemname`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `lineNo`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (2, ''1'', ''153'', ''156'', 0, ''PM2M502G002230001'', ''1'', ''15'', ''10000'', ''1'', ''10000'', ''50'', ''6'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseCredit', '0.049949884414673', '2015-05-18 19:03:16'),
(6722, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  2', 'aptransaction/saveNewParchaseCredit', '0.046725034713745', '2015-05-18 19:03:16'),
(6723, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `updateAble` = ''0'' WHERE `ID` =  ''2'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.10457396507263', '2015-05-18 19:04:15'),
(6724, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''1''', 'Aptransaction/creditNotePosting', '0.028502225875854', '2015-05-18 19:04:15'),
(6725, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `journalNo` = ''AP20150100000006'' WHERE `ID` =  ''2'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.00041699409484863', '2015-05-18 19:04:15'),
(6726, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `description`, `formNo`, `total_amount_dr`, `total_amount_cr`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''AP20150100000006'', ''Posting Credit Note Confirm [ PCN20150518[00000002][00000002] ]'', ''PCN20150518[00000002][00000002]'', 10600, 10600, ''3'', ''2015-04-30'', ''2015'', ''1'', ''1'')', 'Aptransaction/creditNotePosting', '0.078567981719971', '2015-05-18 19:04:15'),
(6727, 1, 1, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`) VALUES (''1'', ''153'', ''1'', ''1'')', 'Aptransaction/creditNotePosting', '0.034265995025635', '2015-05-18 19:04:15'),
(6728, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `projectID`, `formNo`, `createdBy`) VALUES (''1'', ''AP20150100000006'', 1, ''[0001]PERODUA MYVI'', ''182'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''0'', ''PCN20150518[00000002][00000002]'', ''1'')', 'Aptransaction/creditNotePosting', '0.08116602897644', '2015-05-18 19:04:15'),
(6729, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 2, ''AP20150100000006'', ''[0001]PERODUA MYVI'', ''166'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''PCN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.027484178543091', '2015-05-18 19:04:15'),
(6730, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 3, ''AP20150100000006'', ''[0001]PERODUA MYVI'', ''179'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''PCN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.037009000778198', '2015-05-18 19:04:15'),
(6731, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 4, ''AP20150100000006'', ''[0001]PERODUA MYVI'', ''182'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''PCN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/creditNotePosting', '0.027427911758423', '2015-05-18 19:04:15'),
(6732, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000006''', 'Aptransaction/creditNotePosting', '0.037487030029297', '2015-05-18 19:04:15'),
(6733, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `updateAble` = ''0'' WHERE `ID` =  ''2'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.00046610832214355', '2015-05-18 19:04:19'),
(6734, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 7 WHERE `ID` =  ''1''', 'Aptransaction/creditNotePosting', '0.062349081039429', '2015-05-18 19:04:19'),
(6735, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_creditnote` SET `journalNo` = ''AP20150100000007'' WHERE `ID` =  ''2'' AND `updateAble` =  1', 'Aptransaction/creditNotePosting', '0.00046086311340332', '2015-05-18 19:04:19'),
(6736, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `description`, `formNo`, `total_amount_dr`, `total_amount_cr`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''AP20150100000007'', ''Posting Credit Note Confirm [ PCN20150518[00000002][00000002] ]'', ''PCN20150518[00000002][00000002]'', 10600, 10600, ''3'', ''2015-04-30'', ''2015'', ''1'', ''1'')', 'Aptransaction/creditNotePosting', '0.0607590675354', '2015-05-18 19:04:19'),
(6737, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''307''', 'Gltransaction/journalPosting', '0.074750185012817', '2015-05-18 19:05:16'),
(6738, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000006''', 'Gltransaction/journalPosting', '0.088081121444702', '2015-05-18 19:05:16'),
(6739, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.055851936340332', '2015-05-18 19:05:16'),
(6740, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037325143814087', '2015-05-18 19:05:16'),
(6741, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.035481929779053', '2015-05-18 19:05:16'),
(6742, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052977085113525', '2015-05-18 19:05:16'),
(6743, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''5''', 'Gltransaction/journal_reverse_save', '0.0554039478302', '2015-05-18 19:07:45'),
(6744, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `description`, `referrence`, `module`, `effective_date`, `total_amount_dr`, `total_amount_cr`, `total_amount`, `year`, `period`, `createdBy`) VALUES (''1'', ''RV20150100000005'', ''rev'', 0, ''1'', ''2015-04-30'', ''10600'', ''10600'', ''0'', ''2015'', ''1'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.058763980865479', '2015-05-18 19:07:45'),
(6745, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150100000005'', ''1'', ''[0001]PERODUA MYVI'', ''182'', ''2015'', ''1'', ''1'', ''1'', ''0'', ''10000'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.063070058822632', '2015-05-18 19:07:45'),
(6746, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150100000005'', ''2'', ''[0001]PERODUA MYVI'', ''166'', ''2015'', ''1'', ''1'', ''1'', ''10000'', ''0'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.03698205947876', '2015-05-18 19:07:45'),
(6747, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150100000005'', ''3'', ''[0001]PERODUA MYVI'', ''179'', ''2015'', ''1'', ''1'', ''1'', ''600'', ''0'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.027506113052368', '2015-05-18 19:07:45'),
(6748, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `year`, `period`, `exchange_rate`, `currencyID`, `amount_cr`, `amount_dr`, `createdBy`) VALUES (''1'', ''RV20150100000005'', ''4'', ''[0001]PERODUA MYVI'', ''182'', ''2015'', ''1'', ''1'', ''1'', ''0'', ''600'', ''demo'')', 'Gltransaction/journal_reverse_save', '0.037111043930054', '2015-05-18 19:07:45'),
(6749, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''309''', 'Gltransaction/journalPosting', '0.041311025619507', '2015-05-18 19:08:07'),
(6750, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''RV20150100000005''', 'Gltransaction/journalPosting', '0.038234949111938', '2015-05-18 19:08:07'),
(6751, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.050277948379517', '2015-05-18 19:08:08'),
(6752, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.024999141693115', '2015-05-18 19:08:08'),
(6753, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.037037134170532', '2015-05-18 19:08:08'),
(6754, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.06379508972168', '2015-05-18 19:08:08'),
(6755, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''308''', 'Gltransaction/journalPosting', '0.08076286315918', '2015-05-18 19:08:13'),
(6756, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000007''', 'Gltransaction/journalPosting', '0.00058388710021973', '2015-05-18 19:08:13'),
(6757, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''156''', 'purchasetransaction/receiveItemPost', '0.035897970199585', '2015-05-18 19:14:30'),
(6758, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 5 WHERE `ID` =  ''2''', 'purchasetransaction/receiveItemPost', '0.038985013961792', '2015-05-18 19:14:30'),
(6759, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000005'' WHERE `ID` =  ''156''', 'purchasetransaction/receiveItemPost', '0.038398027420044', '2015-05-18 19:14:30'),
(6760, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''PO20150100000005'', ''GRN20150518[00000005]'', '' [ GRN20150518[00000005] ]'', ''8'', ''2015-04-01'', ''2015'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.064316034317017', '2015-05-18 19:14:30'),
(6761, 1, 1, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = 1 WHERE `ID` =  ''137''', 'purchasetransaction/receiveItemPost', '0.035038948059082', '2015-05-18 19:14:30'),
(6762, 1, 1, '::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 (''1'', ''PO20150100000005'', 1, ''[0001]PERODUA MYVI'', ''183'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''GRN20150518[00000005]'', ''1'')', 'purchasetransaction/receiveItemPost', '0.070750951766968', '2015-05-18 19:14:30'),
(6763, 1, 1, '::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 (''1'', 2, ''PO20150100000005'', ''[0001]PERODUA MYVI'', ''166'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''GRN20150518[00000156]'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.038181781768799', '2015-05-18 19:14:30'),
(6764, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000005''', 'purchasetransaction/receiveItemPost', '0.026724100112915', '2015-05-18 19:14:30'),
(6765, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''310''', 'Gltransaction/journalPosting', '0.09485387802124', '2015-05-18 19:15:00'),
(6766, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000005''', 'Gltransaction/journalPosting', '0.049160003662109', '2015-05-18 19:15:01'),
(6767, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.039201021194458', '2015-05-18 19:15:01'),
(6768, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.024916887283325', '2015-05-18 19:15:01'),
(6769, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''1'', ''1'', ''3'', ''PDN20150518'', '''', ''2015-04-30'', ''155'', '''', ''1'', ''1.00000'', ''10000'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseDebit', '0.063115835189819', '2015-05-18 19:16:49'),
(6770, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (1, ''1'', ''153'', ''156'', ''15'', ''PM2M502G002230001'', ''1'', ''10000'', ''10000'', ''10600'', ''50'', ''1'', ''6'', ''600'')', 'aptransaction/saveNewParchaseDebit', '0.038280010223389', '2015-05-18 19:16:49'),
(6771, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  1', 'aptransaction/saveNewParchaseDebit', '0.055661916732788', '2015-05-18 19:16:49'),
(6772, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''1''', 'Aptransaction/debitNotePosting', '0.03879189491272', '2015-05-18 19:17:10'),
(6773, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 8 WHERE `ID` =  ''1''', 'Aptransaction/debitNotePosting', '0.038867950439453', '2015-05-18 19:17:10'),
(6774, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000008'' WHERE `ID` =  ''1''', 'Aptransaction/debitNotePosting', '0.038256883621216', '2015-05-18 19:17:10'),
(6775, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''1'', ''AP20150100000008'', ''PDN20150518[00000001]'', ''Posting Debit Note Confirm [ PDN20150518[00000001] ]'', ''3'', ''2015-04-30'', ''2015'', ''1'', 10600, 10600, ''1'')', 'Aptransaction/debitNotePosting', '0.057497024536133', '2015-05-18 19:17:10'),
(6776, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''1'', ''AP20150100000008'', 1, ''[0001]PM2M502G002230001'', ''182'', ''PSSB'', 10000, 1, ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PDN20150518[00000001][00000001]'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.072729825973511', '2015-05-18 19:17:10'),
(6777, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 2, ''AP20150100000008'', ''[0001]PM2M502G002230001'', ''166'', ''PSSB'', 10000, 1, ''1'', ''10000'', ''1'', ''2015'', ''PDN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.02667498588562', '2015-05-18 19:17:10'),
(6778, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 3, ''AP20150100000008'', ''[0001]PM2M502G002230001'', ''182'', ''PSSB'', 600, 1, ''1'', ''600'', ''1'', ''2015'', ''PDN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.037436962127686', '2015-05-18 19:17:10'),
(6779, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 4, ''AP20150100000008'', ''[0001]PM2M502G002230001'', ''179'', ''PSSB'', 600, 1, ''1'', ''600'', ''1'', ''2015'', ''PDN20150518[00000001][00000001]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.025182008743286', '2015-05-18 19:17:10'),
(6780, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000008''', 'Aptransaction/debitNotePosting', '0.038820028305054', '2015-05-18 19:17:10'),
(6781, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''311''', 'Gltransaction/journalPosting', '0.057168006896973', '2015-05-18 19:17:28'),
(6782, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000008''', 'Gltransaction/journalPosting', '0.088015079498291', '2015-05-18 19:17:28'),
(6783, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.050050973892212', '2015-05-18 19:17:28'),
(6784, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036667108535767', '2015-05-18 19:17:28'),
(6785, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.036552906036377', '2015-05-18 19:17:28'),
(6786, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.03664493560791', '2015-05-18 19:17:28'),
(6787, 1, 1, '::1', 'insert', 'INSERT INTO `item` (`companyID`, `itemCode`, `name`, `description`, `itemCategoryID`, `itemTypeID`, `unitOfMeasureID`, `editDescription`, `itemStatusID`, `reorderLevel`, `incomeID`, `cogsID`, `inventoriesID`, `inputTaxID`, `outputTaxID`, `supplierID`) VALUES (''1'', ''0002'', ''PERODUA AXIA'', ''PM2B200S0030570002'', ''1'', ''22'', ''15'', 0, ''1'', ''0'', ''204'', ''221'', ''166'', ''50'', ''37'', 0)', 'icsetting/itemSave', '0.053252935409546', '2015-05-18 19:34:34'),
(6788, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''1'', ''1'', ''1'', ''1'', 2, ''3'', '''', ''PI20150518'', ''2015-04-01'', ''IV01-CN NO GR'', '''', ''1'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.095728874206543', '2015-05-18 19:37:49'),
(6789, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (156, ''1'', ''154'', ''1'', ''PM2B200S0030570002'', ''1'', ''15'', ''10000'', ''10000'', ''50'', ''6'', ''600'', ''10600'')', 'aptransaction/savePurchaseRow', '0.048539161682129', '2015-05-18 19:37:49'),
(6790, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  156', 'aptransaction/savePurchaseRow', '0.025949954986572', '2015-05-18 19:37:49'),
(6791, 1, 1, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =156', 'aptransaction/savePurchaseRow', '0.038168907165527', '2015-05-18 19:37:49'),
(6792, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''156'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.039684057235718', '2015-05-18 19:38:19'),
(6793, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''1'', ''1'', ''3'', ''1'', ''1'', ''1'', ''GRN20150518'', ''2015-04-01'', ''0'', ''IV01-CN NO GR'', ''1'')', 'Aptransaction/invoicePosting', '0.064494848251343', '2015-05-18 19:38:19'),
(6794, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (157, ''156'', ''1'', ''154'', ''1'', -1, ''PM2B200S0030570002'', ''1'', ''1'', ''1'', ''10000'', 10000)', 'Aptransaction/invoicePosting', '0.060389995574951', '2015-05-18 19:38:19'),
(6795, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 158 WHERE `ID` =  ''157''', 'Aptransaction/invoicePosting', '0.038279056549072', '2015-05-18 19:38:19'),
(6796, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 9 WHERE `ID` =  ''1''', 'Aptransaction/invoicePosting', '0.03999400138855', '2015-05-18 19:38:19'),
(6797, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000009'' WHERE `ID` =  ''156''', 'Aptransaction/invoicePosting', '0.054408073425293', '2015-05-18 19:38:19'),
(6798, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''1'', ''AP20150100000009'', ''PI20150518[00000006]'', ''Purchase Invoice Confirm [ PI20150518[00000006] ]'', ''3'', ''2015-04-01'', ''2015'', ''1'', 10600, 10600, ''1'')', 'Aptransaction/invoicePosting', '0.070164203643799', '2015-05-18 19:38:19'),
(6799, 1, 1, '::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 (''1'', ''AP20150100000009'', 1, ''[0002]'', ''182'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000006]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.063970804214478', '2015-05-18 19:38:19'),
(6800, 1, 1, '::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 (''1'', 2, ''AP20150100000009'', ''[0002]'', ''183'', ''PSSB'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PI20150518[00000006]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.036985874176025', '2015-05-18 19:38:19'),
(6801, 1, 1, '::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 (''1'', 3, ''AP20150100000009'', ''[0002]'', ''179'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000006]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.036755084991455', '2015-05-18 19:38:19'),
(6802, 1, 1, '::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 (''1'', 4, ''AP20150100000009'', ''[0002]'', ''182'', ''PSSB'', 600, ''1'', ''1'', ''600'', ''1'', ''2015'', ''1'', ''PI20150518[00000006]'', NULL, ''1'')', 'Aptransaction/invoicePosting', '0.063494205474854', '2015-05-18 19:38:19'),
(6803, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000009''', 'Aptransaction/invoicePosting', '0.055904150009155', '2015-05-18 19:38:19'),
(6804, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''312''', 'Gltransaction/journalPosting', '0.087696075439453', '2015-05-18 19:38:57');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6805, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000009''', 'Gltransaction/journalPosting', '0.066121101379395', '2015-05-18 19:38:57'),
(6806, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.049728155136108', '2015-05-18 19:38:57'),
(6807, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.025970935821533', '2015-05-18 19:38:57'),
(6808, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.035809993743896', '2015-05-18 19:38:57'),
(6809, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.025949954986572', '2015-05-18 19:38:57'),
(6810, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''1'', ''1'', ''3'', ''PDN20150518'', '''', ''2015-04-30'', ''156'', '''', ''1'', ''1.00000'', ''10000'', ''600'', ''10600'')', 'aptransaction/saveNewParchaseDebit', '0.061082124710083', '2015-05-18 19:42:33'),
(6811, 1, 1, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (2, ''1'', ''154'', ''157'', ''15'', ''PM2B200S0030570002'', ''1'', ''10000'', ''10000'', ''10600'', ''50'', ''1'', ''6'', ''600'')', 'aptransaction/saveNewParchaseDebit', '0.032351016998291', '2015-05-18 19:42:33'),
(6812, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''600'', `totalAmount` = ''10600'' WHERE `ID` =  2', 'aptransaction/saveNewParchaseDebit', '0.043696880340576', '2015-05-18 19:42:33'),
(6813, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''2''', 'Aptransaction/debitNotePosting', '0.070433855056763', '2015-05-18 19:43:10'),
(6814, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 10 WHERE `ID` =  ''1''', 'Aptransaction/debitNotePosting', '0.050331830978394', '2015-05-18 19:43:10'),
(6815, 1, 1, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000010'' WHERE `ID` =  ''2''', 'Aptransaction/debitNotePosting', '0.053921937942505', '2015-05-18 19:43:10'),
(6816, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `total_amount_dr`, `total_amount_cr`, `createdBy`) VALUES (''1'', ''AP20150100000010'', ''PDN20150518[00000002]'', ''Posting Debit Note Confirm [ PDN20150518[00000002] ]'', ''3'', ''2015-04-30'', ''2015'', ''1'', 10600, 10600, ''1'')', 'Aptransaction/debitNotePosting', '0.080720901489258', '2015-05-18 19:43:10'),
(6817, 1, 1, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''1'' AND `itemID` =  ''154'' AND `companyID` =  ''1''', 'Aptransaction/debitNotePosting', '0.0078320503234863', '2015-05-18 19:43:10'),
(6818, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''158''', 'Aptransaction/debitNotePosting', '0.057054042816162', '2015-05-18 19:43:10'),
(6819, 1, 1, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''158'', ''2'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.027190208435059', '2015-05-18 19:43:10'),
(6820, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''1'', ''AP20150100000010'', 1, ''[0002]PM2B200S0030570002'', ''182'', ''PSSB'', 10000, 1, ''1'', ''10000'', ''1'', ''2015'', ''1'', ''PDN20150518[00000002][00000002]'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.18625593185425', '2015-05-18 19:43:10'),
(6821, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 2, ''AP20150100000010'', ''[0002]PM2B200S0030570002'', ''166'', ''PSSB'', 10000, 1, ''1'', ''10000'', ''1'', ''2015'', ''PDN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.036396980285645', '2015-05-18 19:43:10'),
(6822, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 3, ''AP20150100000010'', ''[0002]PM2B200S0030570002'', ''182'', ''PSSB'', 600, 1, ''1'', ''600'', ''1'', ''2015'', ''PDN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.02620005607605', '2015-05-18 19:43:10'),
(6823, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''1'', 4, ''AP20150100000010'', ''[0002]PM2B200S0030570002'', ''179'', ''PSSB'', 600, 1, ''1'', ''600'', ''1'', ''2015'', ''PDN20150518[00000002][00000002]'', ''1'', ''0'', ''1'')', 'Aptransaction/debitNotePosting', '0.036405086517334', '2015-05-18 19:43:10'),
(6824, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10600, `total_amount_cr` = 10600, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000010''', 'Aptransaction/debitNotePosting', '0.05535101890564', '2015-05-18 19:43:10'),
(6825, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''313''', 'Gltransaction/journalPosting', '0.060741901397705', '2015-05-18 19:43:31'),
(6826, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''AP20150100000010''', 'Gltransaction/journalPosting', '0.081680059432983', '2015-05-18 19:43:31'),
(6827, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.033924102783203', '2015-05-18 19:43:31'),
(6828, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.03556489944458', '2015-05-18 19:43:31'),
(6829, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''182'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.0260009765625', '2015-05-18 19:43:31'),
(6830, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''179'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.03563380241394', '2015-05-18 19:43:31'),
(6831, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''157''', 'purchasetransaction/receiveItemPost', '0.060638904571533', '2015-05-18 19:45:48'),
(6832, 1, 1, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 6 WHERE `ID` =  ''2''', 'purchasetransaction/receiveItemPost', '0.039025068283081', '2015-05-18 19:45:48'),
(6833, 1, 1, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000006'' WHERE `ID` =  ''157''', 'purchasetransaction/receiveItemPost', '0.028100967407227', '2015-05-18 19:45:48'),
(6834, 1, 1, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''1'', ''PO20150100000006'', ''GRN20150518[00000006]'', '' [ GRN20150518[00000006] ]'', ''8'', ''2015-04-01'', ''2015'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.059062957763672', '2015-05-18 19:45:48'),
(6835, 1, 1, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''1'', ''154'', ''1'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.047860860824585', '2015-05-18 19:45:48'),
(6836, 1, 1, '::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 (''1'', ''PO20150100000006'', 1, ''[0002]PERODUA AXIA'', ''183'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''1'', ''GRN20150518[00000006]'', ''1'')', 'purchasetransaction/receiveItemPost', '0.049374103546143', '2015-05-18 19:45:48'),
(6837, 1, 1, '::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 (''1'', 2, ''PO20150100000006'', ''[0002]PERODUA AXIA'', ''166'', 10000, ''1'', ''1'', ''10000'', ''1'', ''2015'', ''GRN20150518[00000157]'', ''1'', ''1'')', 'purchasetransaction/receiveItemPost', '0.037457942962646', '2015-05-18 19:45:49'),
(6838, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 10000, `total_amount_cr` = 10000, `total_amount` = 0 WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000006''', 'purchasetransaction/receiveItemPost', '0.054394006729126', '2015-05-18 19:45:49'),
(6839, 1, 1, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''314''', 'Gltransaction/journalPosting', '0.090620040893555', '2015-05-18 19:46:12'),
(6840, 1, 1, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''1'' AND `journalID` =  ''PO20150100000006''', 'Gltransaction/journalPosting', '0.060870885848999', '2015-05-18 19:46:13'),
(6841, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''183'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034356117248535', '2015-05-18 19:46:13'),
(6842, 1, 1, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''1'' WHERE `a`.`companyID` =  ''1'' AND `a`.`acctID` =  ''166'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.025768041610718', '2015-05-18 19:46:13'),
(6843, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''108''', 'purchasetransaction/receiveItemPost', '0.035914897918701', '2015-05-19 11:45:03'),
(6844, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 138 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039002895355225', '2015-05-19 11:45:03'),
(6845, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000138'' WHERE `ID` =  ''108''', 'purchasetransaction/receiveItemPost', '0.061556816101074', '2015-05-19 11:45:03'),
(6846, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000138'', ''GRN20150517[00000105]'', '' [ GRN20150517[00000105] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.10774803161621', '2015-05-19 11:45:03'),
(6847, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''106'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034854173660278', '2015-05-19 11:45:03'),
(6848, 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'', ''PO20150100000138'', 1, ''[9259]PERODUA ALZA'', ''38'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000105]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065036773681641', '2015-05-19 11:45:03'),
(6849, 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, ''PO20150100000138'', ''[9259]PERODUA ALZA'', ''21'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''GRN20150517[00000108]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027811050415039', '2015-05-19 11:45:03'),
(6850, 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` =  ''PO20150100000138''', 'purchasetransaction/receiveItemPost', '0.043787956237793', '2015-05-19 11:45:03'),
(6851, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''315''', 'Gltransaction/journalPosting', '0.32913494110107', '2015-05-19 11:45:59'),
(6852, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000138''', 'Gltransaction/journalPosting', '0.055326223373413', '2015-05-19 11:45:59'),
(6853, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.045253992080688', '2015-05-19 11:45:59'),
(6854, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035836935043335', '2015-05-19 11:45:59'),
(6855, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', ''CN00093680'', ''2015-04-20'', ''107'', '''', ''1'', ''1.00000'', ''52338.76'', ''3140.33'', ''55479.09'')', 'aptransaction/saveNewParchaseDebit', '0.090887069702148', '2015-05-19 11:50:46'),
(6856, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (3, ''2'', ''106'', ''108'', ''16'', ''PM2M502G002239259'', ''1'', ''52338.76'', ''52338.76'', ''55479.09'', ''15'', ''1'', ''6'', ''3140.33'')', 'aptransaction/saveNewParchaseDebit', '0.037307024002075', '2015-05-19 11:50:46'),
(6857, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  3', 'aptransaction/saveNewParchaseDebit', '0.062844038009644', '2015-05-19 11:50:46'),
(6858, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.03526496887207', '2015-05-19 11:51:32'),
(6859, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 151 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.039314985275269', '2015-05-19 11:51:32'),
(6860, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000151'' WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.028221130371094', '2015-05-19 11:51:32'),
(6861, 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'', ''AP20150100000151'', ''PDN20150519[00000001]'', ''Posting Debit Note Confirm [ PDN20150519[00000001] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/debitNotePosting', '0.057689905166626', '2015-05-19 11:51:32'),
(6862, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''106'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.041944980621338', '2015-05-19 11:51:32'),
(6863, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''109''', 'Aptransaction/debitNotePosting', '0.027673959732056', '2015-05-19 11:51:32'),
(6864, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''109'', ''3'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.049127817153931', '2015-05-19 11:51:32'),
(6865, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000151'', 1, ''[9259]PM2M502G002239259'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, 1, ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PDN20150519[00000001][00000003]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.063893795013428', '2015-05-19 11:51:32'),
(6866, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000151'', ''[9259]PM2M502G002239259'', ''21'', ''PERODUA SALES SDN BHD'', 52338.76, 1, ''1'', ''52338.76'', ''1'', ''2015'', ''PDN20150519[00000001][00000003]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.026656150817871', '2015-05-19 11:51:33'),
(6867, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000151'', ''[9259]PM2M502G002239259'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, 1, ''1'', ''3140.33'', ''1'', ''2015'', ''PDN20150519[00000001][00000003]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.035964012145996', '2015-05-19 11:51:33'),
(6868, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000151'', ''[9259]PM2M502G002239259'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, 1, ''1'', ''3140.33'', ''1'', ''2015'', ''PDN20150519[00000001][00000003]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.026670932769775', '2015-05-19 11:51:33'),
(6869, 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` =  ''AP20150100000151''', 'Aptransaction/debitNotePosting', '0.037345170974731', '2015-05-19 11:51:33'),
(6870, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''316''', 'Gltransaction/journalPosting', '0.31131100654602', '2015-05-19 11:54:07'),
(6871, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000151''', 'Gltransaction/journalPosting', '0.06589412689209', '2015-05-19 11:54:07'),
(6872, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060276031494141', '2015-05-19 11:54:07'),
(6873, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026810884475708', '2015-05-19 11:54:07'),
(6874, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035259008407593', '2015-05-19 11:54:07'),
(6875, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049046993255615', '2015-05-19 11:54:07'),
(6876, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''114''', 'purchasetransaction/receiveItemPost', '0.035547971725464', '2015-05-19 12:07:36'),
(6877, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 139 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.061646938323975', '2015-05-19 12:07:36'),
(6878, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000139'' WHERE `ID` =  ''114''', 'purchasetransaction/receiveItemPost', '0.03927206993103', '2015-05-19 12:07:36'),
(6879, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000139'', ''GRN20150517[00000111]'', '' [ GRN20150517[00000111] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036350011825562', '2015-05-19 12:07:36'),
(6880, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''112'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033781051635742', '2015-05-19 12:07:36'),
(6881, 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'', ''PO20150100000139'', 1, ''[2156]PERODUA ALZA'', ''38'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''GRN20150517[00000111]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054906845092773', '2015-05-19 12:07:36'),
(6882, 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, ''PO20150100000139'', ''[2156]PERODUA ALZA'', ''21'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''GRN20150517[00000114]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027671098709106', '2015-05-19 12:07:36'),
(6883, 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` =  ''PO20150100000139''', 'purchasetransaction/receiveItemPost', '0.032718181610107', '2015-05-19 12:07:37'),
(6884, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''317''', 'Gltransaction/journalPosting', '0.31417608261108', '2015-05-19 12:08:31'),
(6885, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000139''', 'Gltransaction/journalPosting', '0.055361986160278', '2015-05-19 12:08:31'),
(6886, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04026198387146', '2015-05-19 12:08:31'),
(6887, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027025938034058', '2015-05-19 12:08:31'),
(6888, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', '''', ''2015-04-24'', ''113'', '''', ''1'', ''1.00000'', ''52338.76'', ''3140.33'', ''55479.09'')', 'aptransaction/saveNewParchaseDebit', '0.097028017044067', '2015-05-19 12:09:46'),
(6889, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (4, ''2'', ''112'', ''114'', ''16'', ''PM2M502G002242156'', ''1'', ''52338.76'', ''52338.76'', ''55479.09'', ''15'', ''1'', ''6'', ''3140.33'')', 'aptransaction/saveNewParchaseDebit', '0.059115886688232', '2015-05-19 12:09:46'),
(6890, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  4', 'aptransaction/saveNewParchaseDebit', '0.09119701385498', '2015-05-19 12:09:46'),
(6891, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''4''', 'Aptransaction/debitNotePosting', '0.084540843963623', '2015-05-19 12:10:13'),
(6892, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 152 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.055178165435791', '2015-05-19 12:10:13'),
(6893, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000152'' WHERE `ID` =  ''4''', 'Aptransaction/debitNotePosting', '0.065489053726196', '2015-05-19 12:10:13'),
(6894, 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'', ''AP20150100000152'', ''PDN20150519[00000002]'', ''Posting Debit Note Confirm [ PDN20150519[00000002] ]'', ''3'', ''2015-04-24'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/debitNotePosting', '0.04633903503418', '2015-05-19 12:10:13'),
(6895, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''112'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.061178922653198', '2015-05-19 12:10:13'),
(6896, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''115''', 'Aptransaction/debitNotePosting', '0.054409980773926', '2015-05-19 12:10:13'),
(6897, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''115'', ''4'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.084199905395508', '2015-05-19 12:10:13'),
(6898, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000152'', 1, ''[2156]PM2M502G002242156'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, 1, ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PDN20150519[00000002][00000004]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.11285805702209', '2015-05-19 12:10:13'),
(6899, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000152'', ''[2156]PM2M502G002242156'', ''21'', ''PERODUA SALES SDN BHD'', 52338.76, 1, ''1'', ''52338.76'', ''1'', ''2015'', ''PDN20150519[00000002][00000004]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.1307110786438', '2015-05-19 12:10:13'),
(6900, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000152'', ''[2156]PM2M502G002242156'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, 1, ''1'', ''3140.33'', ''1'', ''2015'', ''PDN20150519[00000002][00000004]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.063711881637573', '2015-05-19 12:10:13'),
(6901, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000152'', ''[2156]PM2M502G002242156'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, 1, ''1'', ''3140.33'', ''1'', ''2015'', ''PDN20150519[00000002][00000004]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.04926586151123', '2015-05-19 12:10:13'),
(6902, 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` =  ''AP20150100000152''', 'Aptransaction/debitNotePosting', '0.091943979263306', '2015-05-19 12:10:13'),
(6903, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''318''', 'Gltransaction/journalPosting', '0.084391117095947', '2015-05-19 12:10:59'),
(6904, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000152''', 'Gltransaction/journalPosting', '0.028378009796143', '2015-05-19 12:10:59'),
(6905, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.071684122085571', '2015-05-19 12:10:59'),
(6906, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026578903198242', '2015-05-19 12:10:59'),
(6907, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035221815109253', '2015-05-19 12:10:59'),
(6908, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.070915937423706', '2015-05-19 12:10:59'),
(6909, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''133''', 'purchasetransaction/receiveItemPost', '0.096383810043335', '2015-05-19 12:16:49'),
(6910, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 140 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039561033248901', '2015-05-19 12:16:49'),
(6911, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000140'' WHERE `ID` =  ''133''', 'purchasetransaction/receiveItemPost', '0.028507232666016', '2015-05-19 12:16:49'),
(6912, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000140'', ''GRN20150517[00000130]'', '' [ GRN20150517[00000130] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.052010059356689', '2015-05-19 12:16:49'),
(6913, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''131'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.027225971221924', '2015-05-19 12:16:49'),
(6914, 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'', ''PO20150100000140'', 1, ''[6892]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150517[00000130]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04345178604126', '2015-05-19 12:16:49'),
(6915, 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, ''PO20150100000140'', ''[6892]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150517[00000133]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035971164703369', '2015-05-19 12:16:49'),
(6916, 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` =  ''PO20150100000140''', 'purchasetransaction/receiveItemPost', '0.06215500831604', '2015-05-19 12:16:49'),
(6917, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''319''', 'Gltransaction/journalPosting', '0.088558912277222', '2015-05-19 12:17:54'),
(6918, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000140''', 'Gltransaction/journalPosting', '0.066441059112549', '2015-05-19 12:17:54'),
(6919, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.073260068893433', '2015-05-19 12:17:54'),
(6920, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.13104009628296', '2015-05-19 12:17:54'),
(6921, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', '''', ''2015-04-21'', ''132'', '''', ''1'', ''1.00000'', ''38714.79'', ''2322.89'', ''41037.68'')', 'aptransaction/saveNewParchaseDebit', '0.044829845428467', '2015-05-19 12:19:13'),
(6922, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (5, ''2'', ''131'', ''133'', ''16'', ''PM2M602S002226892'', ''1'', ''38714.79'', ''38714.79'', ''41037.68'', ''15'', ''1'', ''6'', ''2322.89'')', 'aptransaction/saveNewParchaseDebit', '0.028971910476685', '2015-05-19 12:19:14'),
(6923, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  5', 'aptransaction/saveNewParchaseDebit', '0.05587100982666', '2015-05-19 12:19:14'),
(6924, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''5''', 'Aptransaction/debitNotePosting', '0.065732002258301', '2015-05-19 12:19:44'),
(6925, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 153 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.050572156906128', '2015-05-19 12:19:44'),
(6926, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000153'' WHERE `ID` =  ''5''', 'Aptransaction/debitNotePosting', '0.028871059417725', '2015-05-19 12:19:44'),
(6927, 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'', ''AP20150100000153'', ''PDN20150519[00000003]'', ''Posting Debit Note Confirm [ PDN20150519[00000003] ]'', ''3'', ''2015-04-21'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/debitNotePosting', '0.061578989028931', '2015-05-19 12:19:44'),
(6928, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''131'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.042518138885498', '2015-05-19 12:19:44'),
(6929, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''134''', 'Aptransaction/debitNotePosting', '0.028460025787354', '2015-05-19 12:19:44'),
(6930, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''134'', ''5'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.037265062332153', '2015-05-19 12:19:44'),
(6931, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000153'', 1, ''[6892]PM2M602S002226892'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, 1, ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PDN20150519[00000003][00000005]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.071125030517578', '2015-05-19 12:19:44'),
(6932, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000153'', ''[6892]PM2M602S002226892'', ''21'', ''PERODUA SALES SDN BHD'', 38714.79, 1, ''1'', ''38714.79'', ''1'', ''2015'', ''PDN20150519[00000003][00000005]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.03582501411438', '2015-05-19 12:19:44'),
(6933, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000153'', ''[6892]PM2M602S002226892'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, 1, ''1'', ''2322.89'', ''1'', ''2015'', ''PDN20150519[00000003][00000005]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.052869081497192', '2015-05-19 12:19:44');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(6934, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000153'', ''[6892]PM2M602S002226892'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, 1, ''1'', ''2322.89'', ''1'', ''2015'', ''PDN20150519[00000003][00000005]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.02745795249939', '2015-05-19 12:19:44'),
(6935, 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` =  ''AP20150100000153''', 'Aptransaction/debitNotePosting', '0.036635160446167', '2015-05-19 12:19:44'),
(6936, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''320''', 'Gltransaction/journalPosting', '0.3173189163208', '2015-05-19 12:21:00'),
(6937, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000153''', 'Gltransaction/journalPosting', '0.044209003448486', '2015-05-19 12:21:01'),
(6938, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.071958065032959', '2015-05-19 12:21:01'),
(6939, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075779914855957', '2015-05-19 12:21:01'),
(6940, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063665866851807', '2015-05-19 12:21:01'),
(6941, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053546905517578', '2015-05-19 12:21:01'),
(6942, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''85''', 'purchasetransaction/receiveItemPost', '0.069453954696655', '2015-05-19 12:25:08'),
(6943, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 141 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039166927337646', '2015-05-19 12:25:08'),
(6944, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000141'' WHERE `ID` =  ''85''', 'purchasetransaction/receiveItemPost', '0.029356002807617', '2015-05-19 12:25:08'),
(6945, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000141'', ''GRN20150517[00000082]'', '' [ GRN20150517[00000082] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05899715423584', '2015-05-19 12:25:08'),
(6946, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''83'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041839122772217', '2015-05-19 12:25:08'),
(6947, 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'', ''PO20150100000141'', 1, ''[8671]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150517[00000082]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.12023282051086', '2015-05-19 12:25:08'),
(6948, 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, ''PO20150100000141'', ''[8671]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150517[00000085]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029770851135254', '2015-05-19 12:25:08'),
(6949, 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` =  ''PO20150100000141''', 'purchasetransaction/receiveItemPost', '0.036005020141602', '2015-05-19 12:25:08'),
(6950, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''321''', 'Gltransaction/journalPosting', '0.087822914123535', '2015-05-19 12:25:55'),
(6951, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000141''', 'Gltransaction/journalPosting', '0.06641697883606', '2015-05-19 12:25:55'),
(6952, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060803174972534', '2015-05-19 12:25:55'),
(6953, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027714014053345', '2015-05-19 12:25:55'),
(6954, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', ''CN00101587'', ''2015-04-28'', ''84'', '''', ''1'', ''1.00000'', ''46571.12'', ''2794.27'', ''49365.39'')', 'aptransaction/saveNewParchaseDebit', '0.084128141403198', '2015-05-19 12:27:33'),
(6955, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (6, ''2'', ''83'', ''85'', ''16'', ''PM2M603S002118671'', ''1'', ''46571.12'', ''46571.12'', ''49365.39'', ''15'', ''1'', ''6'', ''2794.27'')', 'aptransaction/saveNewParchaseDebit', '0.044071912765503', '2015-05-19 12:27:33'),
(6956, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  6', 'aptransaction/saveNewParchaseDebit', '0.096734046936035', '2015-05-19 12:27:33'),
(6957, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''6''', 'Aptransaction/debitNotePosting', '0.044500827789307', '2015-05-19 12:28:09'),
(6958, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 154 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.039833068847656', '2015-05-19 12:28:09'),
(6959, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000154'' WHERE `ID` =  ''6''', 'Aptransaction/debitNotePosting', '0.028810024261475', '2015-05-19 12:28:09'),
(6960, 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'', ''AP20150100000154'', ''PDN20150519[00000004]'', ''Posting Debit Note Confirm [ PDN20150519[00000004] ]'', ''3'', ''2015-04-28'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/debitNotePosting', '0.061481952667236', '2015-05-19 12:28:09'),
(6961, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''83'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.041954040527344', '2015-05-19 12:28:09'),
(6962, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''86''', 'Aptransaction/debitNotePosting', '0.029522895812988', '2015-05-19 12:28:09'),
(6963, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''86'', ''6'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.036218881607056', '2015-05-19 12:28:09'),
(6964, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000154'', 1, ''[8671]PM2M603S002118671'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, 1, ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PDN20150519[00000004][00000006]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.072211027145386', '2015-05-19 12:28:09'),
(6965, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000154'', ''[8671]PM2M603S002118671'', ''21'', ''PERODUA SALES SDN BHD'', 46571.12, 1, ''1'', ''46571.12'', ''1'', ''2015'', ''PDN20150519[00000004][00000006]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.034672975540161', '2015-05-19 12:28:10'),
(6966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000154'', ''[8671]PM2M603S002118671'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, 1, ''1'', ''2794.27'', ''1'', ''2015'', ''PDN20150519[00000004][00000006]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.028052091598511', '2015-05-19 12:28:10'),
(6967, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000154'', ''[8671]PM2M603S002118671'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, 1, ''1'', ''2794.27'', ''1'', ''2015'', ''PDN20150519[00000004][00000006]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.0346360206604', '2015-05-19 12:28:10'),
(6968, 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` =  ''AP20150100000154''', 'Aptransaction/debitNotePosting', '0.029388189315796', '2015-05-19 12:28:10'),
(6969, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''322''', 'Gltransaction/journalPosting', '0.077764987945557', '2015-05-19 12:29:10'),
(6970, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000154''', 'Gltransaction/journalPosting', '0.029621124267578', '2015-05-19 12:29:10'),
(6971, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.082370042800903', '2015-05-19 12:29:10'),
(6972, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027838945388794', '2015-05-19 12:29:10'),
(6973, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033949851989746', '2015-05-19 12:29:10'),
(6974, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027884960174561', '2015-05-19 12:29:10'),
(6975, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''142''', 'purchasetransaction/receiveItemPost', '0.093361139297485', '2015-05-19 12:33:08'),
(6976, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 142 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.025454998016357', '2015-05-19 12:33:08'),
(6977, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000142'' WHERE `ID` =  ''142''', 'purchasetransaction/receiveItemPost', '0.047283172607422', '2015-05-19 12:33:08'),
(6978, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000142'', ''GRN20150518[00000139]'', '' [ GRN20150518[00000139] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.046941995620728', '2015-05-19 12:33:08'),
(6979, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''140'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.028422117233276', '2015-05-19 12:33:08'),
(6980, 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'', ''PO20150100000142'', 1, ''[7253]PERODUA MYVI'', ''38'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''GRN20150518[00000139]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035294055938721', '2015-05-19 12:33:08'),
(6981, 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, ''PO20150100000142'', ''[7253]PERODUA MYVI'', ''21'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''GRN20150518[00000142]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029335021972656', '2015-05-19 12:33:08'),
(6982, 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` =  ''PO20150100000142''', 'purchasetransaction/receiveItemPost', '0.046736001968384', '2015-05-19 12:33:08'),
(6983, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''323''', 'Gltransaction/journalPosting', '0.32211685180664', '2015-05-19 12:34:32'),
(6984, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000142''', 'Gltransaction/journalPosting', '0.065397024154663', '2015-05-19 12:34:32'),
(6985, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039325952529907', '2015-05-19 12:34:32'),
(6986, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027574062347412', '2015-05-19 12:34:32'),
(6987, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', ''CN00093940'', ''2015-04-23'', ''141'', '''', ''1'', ''1.00000'', ''38636.79'', ''2318.21'', ''40955'')', 'aptransaction/saveNewParchaseDebit', '0.068758010864258', '2015-05-19 12:35:48'),
(6988, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (7, ''2'', ''140'', ''142'', ''16'', ''PM2M602S002227253'', ''1'', ''38636.79'', ''38636.79'', ''40955'', ''15'', ''1'', ''6'', ''2318.21'')', 'aptransaction/saveNewParchaseDebit', '0.035349130630493', '2015-05-19 12:35:48'),
(6989, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  7', 'aptransaction/saveNewParchaseDebit', '0.034536838531494', '2015-05-19 12:35:48'),
(6990, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''7''', 'Aptransaction/debitNotePosting', '0.085578918457031', '2015-05-19 12:36:06'),
(6991, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 155 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.072821140289307', '2015-05-19 12:36:06'),
(6992, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000155'' WHERE `ID` =  ''7''', 'Aptransaction/debitNotePosting', '0.051481962203979', '2015-05-19 12:36:06'),
(6993, 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'', ''AP20150100000155'', ''PDN20150519[00000005]'', ''Posting Debit Note Confirm [ PDN20150519[00000005] ]'', ''3'', ''2015-04-23'', ''2015'', ''1'', 40955, 40955, ''2'')', 'Aptransaction/debitNotePosting', '0.057512998580933', '2015-05-19 12:36:06'),
(6994, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''140'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.052576065063477', '2015-05-19 12:36:06'),
(6995, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''143''', 'Aptransaction/debitNotePosting', '0.054469108581543', '2015-05-19 12:36:06'),
(6996, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''143'', ''7'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.029973030090332', '2015-05-19 12:36:06'),
(6997, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000155'', 1, ''[7253]PM2M602S002227253'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, 1, ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PDN20150519[00000005][00000007]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.12314510345459', '2015-05-19 12:36:06'),
(6998, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000155'', ''[7253]PM2M602S002227253'', ''21'', ''PERODUA SALES SDN BHD'', 38636.79, 1, ''1'', ''38636.79'', ''1'', ''2015'', ''PDN20150519[00000005][00000007]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.052983999252319', '2015-05-19 12:36:06'),
(6999, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000155'', ''[7253]PM2M602S002227253'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, 1, ''1'', ''2318.21'', ''1'', ''2015'', ''PDN20150519[00000005][00000007]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.075548887252808', '2015-05-19 12:36:06'),
(7000, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000155'', ''[7253]PM2M602S002227253'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, 1, ''1'', ''2318.21'', ''1'', ''2015'', ''PDN20150519[00000005][00000007]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.028496980667114', '2015-05-19 12:36:06'),
(7001, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000155''', 'Aptransaction/debitNotePosting', '0.057683944702148', '2015-05-19 12:36:06'),
(7002, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''324''', 'Gltransaction/journalPosting', '0.093177080154419', '2015-05-19 12:37:09'),
(7003, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000155''', 'Gltransaction/journalPosting', '0.044250965118408', '2015-05-19 12:37:10'),
(7004, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.084625959396362', '2015-05-19 12:37:10'),
(7005, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052588939666748', '2015-05-19 12:37:10'),
(7006, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042428016662598', '2015-05-19 12:37:10'),
(7007, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027642011642456', '2015-05-19 12:37:10'),
(7008, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''77''', 'purchasetransaction/receiveItemPost', '0.063445806503296', '2015-05-19 12:38:08'),
(7009, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 143 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039116144180298', '2015-05-19 12:38:08'),
(7010, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000143'' WHERE `ID` =  ''77''', 'purchasetransaction/receiveItemPost', '0.030105113983154', '2015-05-19 12:38:08'),
(7011, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000143'', ''GRN20150516[00000074]'', '' [ GRN20150516[00000074] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.050547122955322', '2015-05-19 12:38:08'),
(7012, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''75'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034971952438354', '2015-05-19 12:38:08'),
(7013, 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'', ''PO20150100000143'', 1, ''[0581]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150516[00000074]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.076056957244873', '2015-05-19 12:38:08'),
(7014, 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, ''PO20150100000143'', ''[0581]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150516[00000077]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029738903045654', '2015-05-19 12:38:08'),
(7015, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48397.48, `total_amount_cr` = 48397.48, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000143''', 'purchasetransaction/receiveItemPost', '0.035331010818481', '2015-05-19 12:38:08'),
(7016, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''325''', 'Gltransaction/journalPosting', '0.063951015472412', '2015-05-19 12:38:46'),
(7017, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000143''', 'Gltransaction/journalPosting', '0.077522993087769', '2015-05-19 12:38:46'),
(7018, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.047229051589966', '2015-05-19 12:38:46'),
(7019, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033901214599609', '2015-05-19 12:38:46'),
(7020, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', ''CN00093519'', ''2015-04-16'', ''76'', '''', ''1'', ''1.00000'', ''48397.48'', ''2903.85'', ''51301.33'')', 'aptransaction/saveNewParchaseDebit', '0.088436841964722', '2015-05-19 12:40:36'),
(7021, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (8, ''2'', ''75'', ''77'', ''16'', ''PM2M502G002230581'', ''1'', ''48397.48'', ''48397.48'', ''51301.33'', ''15'', ''1'', ''6'', ''2903.85'')', 'aptransaction/saveNewParchaseDebit', '0.042736053466797', '2015-05-19 12:40:36'),
(7022, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  8', 'aptransaction/saveNewParchaseDebit', '0.1079409122467', '2015-05-19 12:40:36'),
(7023, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''8''', 'Aptransaction/debitNotePosting', '0.08748197555542', '2015-05-19 12:41:00'),
(7024, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 156 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.051584005355835', '2015-05-19 12:41:00'),
(7025, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000156'' WHERE `ID` =  ''8''', 'Aptransaction/debitNotePosting', '0.054417133331299', '2015-05-19 12:41:00'),
(7026, 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'', ''AP20150100000156'', ''PDN20150519[00000006]'', ''Posting Debit Note Confirm [ PDN20150519[00000006] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/debitNotePosting', '0.043554067611694', '2015-05-19 12:41:01'),
(7027, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''75'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.053729057312012', '2015-05-19 12:41:01'),
(7028, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''78''', 'Aptransaction/debitNotePosting', '0.044454097747803', '2015-05-19 12:41:01'),
(7029, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''78'', ''8'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.087599992752075', '2015-05-19 12:41:01'),
(7030, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000156'', 1, ''[0581]PM2M502G002230581'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, 1, ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PDN20150519[00000006][00000008]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.04288911819458', '2015-05-19 12:41:01'),
(7031, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000156'', ''[0581]PM2M502G002230581'', ''21'', ''PERODUA SALES SDN BHD'', 48397.48, 1, ''1'', ''48397.48'', ''1'', ''2015'', ''PDN20150519[00000006][00000008]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.11937689781189', '2015-05-19 12:41:01'),
(7032, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000156'', ''[0581]PM2M502G002230581'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, 1, ''1'', ''2903.85'', ''1'', ''2015'', ''PDN20150519[00000006][00000008]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.053868055343628', '2015-05-19 12:41:01'),
(7033, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000156'', ''[0581]PM2M502G002230581'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, 1, ''1'', ''2903.85'', ''1'', ''2015'', ''PDN20150519[00000006][00000008]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.075079917907715', '2015-05-19 12:41:01'),
(7034, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51301.33, `total_amount_cr` = 51301.33, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000156''', 'Aptransaction/debitNotePosting', '0.029698133468628', '2015-05-19 12:41:01'),
(7035, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''326''', 'Gltransaction/journalPosting', '0.06370997428894', '2015-05-19 12:41:56'),
(7036, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000156''', 'Gltransaction/journalPosting', '0.065380096435547', '2015-05-19 12:41:56'),
(7037, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039286851882935', '2015-05-19 12:41:56'),
(7038, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028262138366699', '2015-05-19 12:41:56'),
(7039, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033924102783203', '2015-05-19 12:41:56'),
(7040, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028203964233398', '2015-05-19 12:41:56'),
(7041, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''120''', 'purchasetransaction/receiveItemPost', '0.071089029312134', '2015-05-19 12:43:52'),
(7042, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 144 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.039545059204102', '2015-05-19 12:43:52'),
(7043, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000144'' WHERE `ID` =  ''120''', 'purchasetransaction/receiveItemPost', '0.030043125152588', '2015-05-19 12:43:52'),
(7044, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000144'', ''GRN20150517[00000117]'', '' [ GRN20150517[00000117] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047908067703247', '2015-05-19 12:43:52'),
(7045, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''118'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033728837966919', '2015-05-19 12:43:52'),
(7046, 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'', ''PO20150100000144'', 1, ''[6870]PERODUA ALZA'', ''38'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''GRN20150517[00000117]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054948091506958', '2015-05-19 12:43:52'),
(7047, 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, ''PO20150100000144'', ''[6870]PERODUA ALZA'', ''21'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''GRN20150517[00000120]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053999185562134', '2015-05-19 12:43:52'),
(7048, 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` =  ''PO20150100000144''', 'purchasetransaction/receiveItemPost', '0.030452013015747', '2015-05-19 12:43:52'),
(7049, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''327''', 'Gltransaction/journalPosting', '0.37172508239746', '2015-05-19 12:44:40'),
(7050, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000144''', 'Gltransaction/journalPosting', '0.087960958480835', '2015-05-19 12:44:40'),
(7051, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054399013519287', '2015-05-19 12:44:40'),
(7052, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052614212036133', '2015-05-19 12:44:40'),
(7053, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote` (`companyID`, `createdBy`, `supplierID`, `formNo`, `memo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `currencyID`, `exchangeRate`, `totalAmount`, `totalTaxAmount`, `totalPayable`) VALUES (''2'', ''2'', ''2'', ''PDN20150519'', ''CN00093516'', ''2015-04-16'', ''119'', '''', ''1'', ''1.00000'', ''57265.78'', ''3435.95'', ''60701.73'')', 'aptransaction/saveNewParchaseDebit', '0.06553316116333', '2015-05-19 12:45:54'),
(7054, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_debitnote_detail` (`debitnoteID`, `createdBy`, `itemID`, `invoiceDetailID`, `umID`, `itemdescription`, `quantity`, `unitPrice`, `amountExcludedTax`, `amountIncludedTax`, `taxID`, `lineNo`, `taxRate`, `taxAmount`) VALUES (9, ''2'', ''118'', ''120'', ''16'', ''PM2M502G002236870'', ''1'', ''57265.78'', ''57265.78'', ''60701.73'', ''15'', ''1'', ''6'', ''3435.95'')', 'aptransaction/saveNewParchaseDebit', '0.030154943466187', '2015-05-19 12:45:54'),
(7055, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  9', 'aptransaction/saveNewParchaseDebit', '0.03255295753479', '2015-05-19 12:45:54'),
(7056, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `updateAble` = ''0'' WHERE `ID` =  ''9''', 'Aptransaction/debitNotePosting', '0.074288845062256', '2015-05-19 12:46:21'),
(7057, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 157 WHERE `ID` =  ''3''', 'Aptransaction/debitNotePosting', '0.039330959320068', '2015-05-19 12:46:21'),
(7058, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_debitnote` SET `journalNo` = ''AP20150100000157'' WHERE `ID` =  ''9''', 'Aptransaction/debitNotePosting', '0.03037691116333', '2015-05-19 12:46:21'),
(7059, 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'', ''AP20150100000157'', ''PDN20150519[00000007]'', ''Posting Debit Note Confirm [ PDN20150519[00000007] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/debitNotePosting', '0.06000804901123', '2015-05-19 12:46:21'),
(7060, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''118'' AND `companyID` =  ''2''', 'Aptransaction/debitNotePosting', '0.042507886886597', '2015-05-19 12:46:21'),
(7061, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''121''', 'Aptransaction/debitNotePosting', '0.029966115951538', '2015-05-19 12:46:21'),
(7062, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''121'', ''9'', ''4'', ''1'')', 'Aptransaction/debitNotePosting', '0.035742044448853', '2015-05-19 12:46:21'),
(7063, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''AP20150100000157'', 1, ''[6870]PM2M502G002236870'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, 1, ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PDN20150519[00000007][00000009]'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.075017929077148', '2015-05-19 12:46:21');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7064, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''AP20150100000157'', ''[6870]PM2M502G002236870'', ''21'', ''PERODUA SALES SDN BHD'', 57265.78, 1, ''1'', ''57265.78'', ''1'', ''2015'', ''PDN20150519[00000007][00000009]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.028934001922607', '2015-05-19 12:46:21'),
(7065, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 3, ''AP20150100000157'', ''[6870]PM2M502G002236870'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, 1, ''1'', ''3435.95'', ''1'', ''2015'', ''PDN20150519[00000007][00000009]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.033659934997559', '2015-05-19 12:46:22'),
(7066, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 4, ''AP20150100000157'', ''[6870]PM2M502G002236870'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, 1, ''1'', ''3435.95'', ''1'', ''2015'', ''PDN20150519[00000007][00000009]'', ''1'', ''0'', ''2'')', 'Aptransaction/debitNotePosting', '0.028897047042847', '2015-05-19 12:46:22'),
(7067, 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` =  ''AP20150100000157''', 'Aptransaction/debitNotePosting', '0.035009860992432', '2015-05-19 12:46:22'),
(7068, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''328''', 'Gltransaction/journalPosting', '0.092548847198486', '2015-05-19 12:48:00'),
(7069, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000157''', 'Gltransaction/journalPosting', '0.065900087356567', '2015-05-19 12:48:00'),
(7070, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.07188606262207', '2015-05-19 12:48:01'),
(7071, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028876066207886', '2015-05-19 12:48:01'),
(7072, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043736934661865', '2015-05-19 12:48:01'),
(7073, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053513050079346', '2015-05-19 12:48:01'),
(7074, 1, 1, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''1'', ''1'', ''YUA11751'', ''2015-05-01'', '''', '''', '''', ''3'', ''null'', ''1.00000'', ''1'', 0, ''31317.68'', ''31317.68'', '''', '''', '''', ''1'', ''1'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.13263607025146', '2015-05-19 15:37:31'),
(7075, 1, 1, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (2, ''1'', ''1'', ''154'', ''1'', ''15'', ''PM2B200S0030570002'', ''29544.98'', ''29544.98'', ''37'', ''6'', ''1772.7'', ''31317.68'')', 'Artransaction/saveNewDirectSaleInvoice', '0.076095104217529', '2015-05-19 15:37:31'),
(7076, 1, 1, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1772.7'', `totalAmount` = ''31317.68'' WHERE `ID` =  2', 'Artransaction/saveNewDirectSaleInvoice', '0.029323101043701', '2015-05-19 15:37:31'),
(7077, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100A0001'', ''Ahmad Faisal Bin Abdul Hamid'', ''yaumanauto'', ''2015-05-21 04-27-46'')', 'glsetting/chartOfAcct', '0.052879095077515', '2015-05-21 10:30:16'),
(7078, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Ahmad Faisal Bin Abdul Hamid'', ''2706513'', ''A00-01'', ''No 15 Jalan 41/10'', ''Taman Koperasi Polis'', ''Fasa 2'', ''Batu Caves'', ''68100'', ''1931'', ''458'', 0, 0, '''', ''+6017-3952854'', '''', '''', '''', ''283'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.098599910736084', '2015-05-21 10:34:40'),
(7079, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''7'', ''410000001'', ''Sales - Others'', ''yaumanauto'', ''2015-05-21 04-41-27'')', 'glsetting/chartOfAcct', '0.049410104751587', '2015-05-21 10:42:49'),
(7080, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''2'', ''1'', ''INV20150521'', ''2015-04-14'', ''2706513'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''31317.68'', ''31317.68'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.15025806427002', '2015-05-21 10:46:58'),
(7081, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (3, ''1'', ''2'', ''63'', ''1'', ''16'', ''PM2B200S003057161'', ''29544.98'', ''29544.98'', ''2'', ''6'', ''1772.7'', ''31317.68'')', 'Artransaction/saveNewDirectSaleInvoice', '0.065246820449829', '2015-05-21 10:46:58'),
(7082, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1772.7'', `totalAmount` = ''31317.68'' WHERE `ID` =  3', 'Artransaction/saveNewDirectSaleInvoice', '0.058909893035889', '2015-05-21 10:46:58'),
(7083, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''3'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''1319.47'', ''8'', ''0'', ''0'', ''1319.47'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.095443964004517', '2015-05-21 10:51:31'),
(7084, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1772.7'', `totalAmount` = ''32637.15'', `totalReceivable` = ''32637.15'' WHERE `ID` =  ''3''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.0296471118927', '2015-05-21 10:51:31'),
(7085, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''2'', ''2015-04-14'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 30864.45, '''', ''2'', ''SDN20150521'')', 'artransaction/directInvoicePosting', '0.1249668598175', '2015-05-21 10:52:54'),
(7086, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (3, ''1'', ''63'', ''3'', 29544.98, ''29544.98'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.034779071807861', '2015-05-21 10:52:54'),
(7087, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 3 WHERE `ID` =  ''3''', 'artransaction/directInvoicePosting', '0.032344818115234', '2015-05-21 10:52:54'),
(7088, 2, 2, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''2'', ''2'', ''2015'', ''1'', ''AR'', 1)', 'artransaction/directInvoicePosting', '0.044026136398315', '2015-05-21 10:52:54'),
(7089, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000001'', `updateAble` = ''0'' WHERE `ID` =  ''3''', 'artransaction/directInvoicePosting', '0.070725917816162', '2015-05-21 10:52:54'),
(7090, 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'', ''AR20150100000001'', ''INV20150521[00000001]'', ''Posting Direct Sales Invoices [ INV20150521[00000001] ]'', ''2'', ''2015-04-14'', ''2015'', ''1'', 32637.15, 32637.15, ''2'')', 'artransaction/directInvoicePosting', '0.06534218788147', '2015-05-21 10:52:54'),
(7091, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000001'', ''[7161]PM2B200S003057161'', ''283'', ''Ahmad Faisal Bin Abdul Hamid'', 29544.98, ''1'', ''1'', ''29544.98'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.064887046813965', '2015-05-21 10:52:54'),
(7092, 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'', ''AR20150100000001'', 2, ''[7161]PM2B200S003057161'', ''59'', ''Ahmad Faisal Bin Abdul Hamid'', 29544.98, ''1'', ''1'', ''29544.98'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030785083770752', '2015-05-21 10:52:54'),
(7093, 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, ''AR20150100000001'', ''[7161]PM2B200S003057161'', ''283'', ''Ahmad Faisal Bin Abdul Hamid'', 1772.7, ''1'', ''1'', ''1772.7'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.033696889877319', '2015-05-21 10:52:54'),
(7094, 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, ''AR20150100000001'', ''[7161]PM2B200S003057161'', ''41'', ''Ahmad Faisal Bin Abdul Hamid'', 1772.7, ''1'', ''1'', ''1772.7'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030655145645142', '2015-05-21 10:52:54'),
(7095, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000001'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''283'', ''Ahmad Faisal Bin Abdul Hamid'', 1319.47, ''1'', ''1'', ''1319.47'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.033771991729736', '2015-05-21 10:52:54'),
(7096, 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'', ''AR20150100000001'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Ahmad Faisal Bin Abdul Hamid'', 1319.47, ''1'', ''1'', ''1319.47'', ''1'', ''2015'', ''1'', ''INV20150521[00000001]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03068995475769', '2015-05-21 10:52:54'),
(7097, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 32637.15, `total_amount_cr` = 32637.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000001''', 'artransaction/directInvoicePosting', '0.056365966796875', '2015-05-21 10:52:54'),
(7098, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''329''', 'Gltransaction/journalPosting', '0.069338798522949', '2015-05-21 10:55:19'),
(7099, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000001''', 'Gltransaction/journalPosting', '0.067332983016968', '2015-05-21 10:55:19'),
(7100, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''283'', ''2015'', ''1'', ''29544.98'', ''0'', 29544.98, ''2'', ''2015-05-21: 04:05:19'')', 'Gltransaction/journalPosting', '0.04928994178772', '2015-05-21 10:55:19'),
(7101, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''7'', ''59'', ''2015'', ''1'', ''0'', ''29544.98'', -29544.98, ''2'', ''2015-05-21: 04:05:19'')', 'Gltransaction/journalPosting', '0.051888942718506', '2015-05-21 10:55:19'),
(7102, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''283'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.030401945114136', '2015-05-21 10:55:19'),
(7103, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.16574215888977', '2015-05-21 10:55:19'),
(7104, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''283'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052641153335571', '2015-05-21 10:55:19'),
(7105, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''7'', ''284'', ''2015'', ''1'', ''0'', ''1319.47'', -1319.47, ''2'', ''2015-05-21: 04:05:19'')', 'Gltransaction/journalPosting', '0.042065858840942', '2015-05-21 10:55:19'),
(7106, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''3''', 'sotransaction/doPosting', '0.038367986679077', '2015-05-21 10:59:27'),
(7107, 2, 2, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''2'', ''5'', ''2015'', ''1'', ''SO'', 1)', 'sotransaction/doPosting', '0.050748825073242', '2015-05-21 10:59:27'),
(7108, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000001'' WHERE `ID` =  ''3''', 'sotransaction/doPosting', '0.032268047332764', '2015-05-21 10:59:27'),
(7109, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000001'', ''SDN20150521[00000001]'', ''Delivery Order Confirm [ SDN20150521[00000001] ]'', ''5'', ''2015-04-14'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.059203863143921', '2015-05-21 10:59:27'),
(7110, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''63'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.041090965270996', '2015-05-21 10:59:27'),
(7111, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''66''', 'sotransaction/doPosting', '0.034857034683228', '2015-05-21 10:59:27'),
(7112, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''66'', ''3'', ''1'', ''1'')', 'sotransaction/doPosting', '0.030781984329224', '2015-05-21 10:59:27'),
(7113, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000001'', 1, ''[7161]PM2B200S003057161'', ''76'', ''2'', 28104.98, 1, ''1'', 28104.98, ''1'', ''2015'', 1, ''SDN20150521[00000001][00000001]'', NULL, ''2'')', 'sotransaction/doPosting', '0.055549144744873', '2015-05-21 10:59:27'),
(7114, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000001'', ''[7161]PM2B200S003057161'', ''21'', ''2'', 28104.98, 1, ''1'', 28104.98, ''1'', ''2015'', ''SDN20150521[00000001][00000003]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.029285907745361', '2015-05-21 10:59:27'),
(7115, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28104.98, `total_amount_cr` = 28104.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000001''', 'sotransaction/doPosting', '0.045795917510986', '2015-05-21 10:59:28'),
(7116, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''330''', 'Gltransaction/journalPosting', '0.063375949859619', '2015-05-21 11:00:23'),
(7117, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000001''', 'Gltransaction/journalPosting', '0.033232927322388', '2015-05-21 11:00:23'),
(7118, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''8'', ''76'', ''2015'', ''1'', ''28104.98'', ''0'', 28104.98, ''2'', ''2015-05-21: 05:05:23'')', 'Gltransaction/journalPosting', '0.039200067520142', '2015-05-21 11:00:23'),
(7119, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029703855514526', '2015-05-21 11:00:23'),
(7120, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0001'', ''Noor Syahira Binti Mahmud'', ''yaumanauto'', ''2015-05-21 05-25-51'')', 'glsetting/chartOfAcct', '0.050575017929077', '2015-05-21 11:27:34'),
(7121, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Noor Syahira Binti Mahmud'', ''2726568'', ''N00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''285'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.05535101890564', '2015-05-21 11:33:13'),
(7122, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100S0001'', ''Shirley Auwardt'', ''yaumanauto'', ''2015-05-21 05-35-39'')', 'glsetting/chartOfAcct', '0.051384925842285', '2015-05-21 11:36:49'),
(7123, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Shirley Auwardt'', ''1146589'', ''S00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''286'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.050246953964233', '2015-05-21 11:38:25'),
(7124, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100C0001'', ''Chan Luok Yee'', ''yaumanauto'', ''2015-05-21 05-58-14'')', 'glsetting/chartOfAcct', '0.053244113922119', '2015-05-21 11:59:44'),
(7125, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Chan Luok Yee'', ''2748721'', ''C00-01'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''287'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.057142972946167', '2015-05-21 12:01:49'),
(7126, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''5'', ''1'', ''INV20150521'', ''2015-04-30'', ''YUA11857'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''54247.49'', ''54247.49'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.12884283065796', '2015-05-21 12:05:10'),
(7127, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (4, ''1'', ''2'', ''2'', ''1'', ''16'', ''PM2M502G002233768'', ''51176.88'', ''51176.88'', ''2'', ''6'', ''3070.61'', ''54247.49'')', 'Artransaction/saveNewDirectSaleInvoice', '0.131502866745', '2015-05-21 12:05:10'),
(7128, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3070.61'', `totalAmount` = ''54247.49'' WHERE `ID` =  4', 'Artransaction/saveNewDirectSaleInvoice', '0.030429840087891', '2015-05-21 12:05:10'),
(7129, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''4'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2084.51'', ''8'', ''0'', ''0'', ''2084.51'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.08843994140625', '2015-05-21 12:06:34'),
(7130, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3070.61'', `totalAmount` = ''56332'', `totalReceivable` = ''56332'' WHERE `ID` =  ''4''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.063060998916626', '2015-05-21 12:06:34'),
(7131, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''5'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 53261.39, '''', ''2'', ''SDN20150521'')', 'artransaction/directInvoicePosting', '0.10564994812012', '2015-05-21 12:07:12'),
(7132, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (4, ''1'', ''2'', ''4'', 51176.88, ''51176.88'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.085034132003784', '2015-05-21 12:07:12'),
(7133, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 4 WHERE `ID` =  ''4''', 'artransaction/directInvoicePosting', '0.099234819412231', '2015-05-21 12:07:12'),
(7134, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.07637095451355', '2015-05-21 12:07:12'),
(7135, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000002'', `updateAble` = ''0'' WHERE `ID` =  ''4''', 'artransaction/directInvoicePosting', '0.050438165664673', '2015-05-21 12:07:12'),
(7136, 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'', ''AR20150100000002'', ''INV20150521[00000002]'', ''Posting Direct Sales Invoices [ INV20150521[00000002] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 56332, 56332, ''2'')', 'artransaction/directInvoicePosting', '0.037431001663208', '2015-05-21 12:07:12'),
(7137, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000002'', ''[3768]PM2M502G002233768'', ''287'', ''Chan Luok Yee'', 51176.88, ''1'', ''1'', ''51176.88'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.077002048492432', '2015-05-21 12:07:12'),
(7138, 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'', ''AR20150100000002'', 2, ''[3768]PM2M502G002233768'', ''59'', ''Chan Luok Yee'', 51176.88, ''1'', ''1'', ''51176.88'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03168797492981', '2015-05-21 12:07:12'),
(7139, 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, ''AR20150100000002'', ''[3768]PM2M502G002233768'', ''287'', ''Chan Luok Yee'', 3070.61, ''1'', ''1'', ''3070.61'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032780885696411', '2015-05-21 12:07:12'),
(7140, 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, ''AR20150100000002'', ''[3768]PM2M502G002233768'', ''41'', ''Chan Luok Yee'', 3070.61, ''1'', ''1'', ''3070.61'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031736135482788', '2015-05-21 12:07:12'),
(7141, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000002'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''287'', ''Chan Luok Yee'', 2084.51, ''1'', ''1'', ''2084.51'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032779932022095', '2015-05-21 12:07:12'),
(7142, 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'', ''AR20150100000002'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Chan Luok Yee'', 2084.51, ''1'', ''1'', ''2084.51'', ''1'', ''2015'', ''1'', ''INV20150521[00000002]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.064978122711182', '2015-05-21 12:07:12'),
(7143, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 56332, `total_amount_cr` = 56332, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000002''', 'artransaction/directInvoicePosting', '0.044209003448486', '2015-05-21 12:07:12'),
(7144, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''331''', 'Gltransaction/journalPosting', '0.086251974105835', '2015-05-21 12:08:24'),
(7145, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000002''', 'Gltransaction/journalPosting', '0.06541895866394', '2015-05-21 12:08:24'),
(7146, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''287'', ''2015'', ''1'', ''51176.88'', ''0'', 51176.88, ''2'', ''2015-05-21: 06:05:23'')', 'Gltransaction/journalPosting', '0.06099796295166', '2015-05-21 12:08:24'),
(7147, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.029946088790894', '2015-05-21 12:08:24'),
(7148, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''287'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.043295860290527', '2015-05-21 12:08:24'),
(7149, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052658796310425', '2015-05-21 12:08:24'),
(7150, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''287'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042577028274536', '2015-05-21 12:08:24'),
(7151, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.05274510383606', '2015-05-21 12:08:24'),
(7152, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''4''', 'sotransaction/doPosting', '0.043930053710938', '2015-05-21 12:08:58'),
(7153, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.050346851348877', '2015-05-21 12:08:58'),
(7154, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000002'' WHERE `ID` =  ''4''', 'sotransaction/doPosting', '0.033241033554077', '2015-05-21 12:08:58'),
(7155, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000002'', ''SDN20150521[00000002]'', ''Delivery Order Confirm [ SDN20150521[00000002] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.069582223892212', '2015-05-21 12:08:58'),
(7156, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''2'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.042634963989258', '2015-05-21 12:08:58'),
(7157, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''6''', 'sotransaction/doPosting', '0.03239107131958', '2015-05-21 12:08:58'),
(7158, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''6'', ''4'', ''1'', ''1'')', 'sotransaction/doPosting', '0.033332109451294', '2015-05-21 12:08:58'),
(7159, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000002'', 1, ''[3768]PM2M502G002233768'', ''76'', ''5'', 49114.88, 1, ''1'', 49114.88, ''1'', ''2015'', 1, ''SDN20150521[00000002][00000002]'', NULL, ''2'')', 'sotransaction/doPosting', '0.075095176696777', '2015-05-21 12:08:58'),
(7160, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000002'', ''[3768]PM2M502G002233768'', ''21'', ''5'', 49114.88, 1, ''1'', 49114.88, ''1'', ''2015'', ''SDN20150521[00000002][00000004]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.030593156814575', '2015-05-21 12:08:58'),
(7161, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49114.88, `total_amount_cr` = 49114.88, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000002''', 'sotransaction/doPosting', '0.04449200630188', '2015-05-21 12:08:58'),
(7162, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''332''', 'Gltransaction/journalPosting', '0.071635961532593', '2015-05-21 12:09:33'),
(7163, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000002''', 'Gltransaction/journalPosting', '0.055377006530762', '2015-05-21 12:09:33'),
(7164, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.049661874771118', '2015-05-21 12:09:33'),
(7165, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064624071121216', '2015-05-21 12:09:34'),
(7166, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100N0002'', ''Noor Faiziatul Nazwa Mhd Jamil'', ''yaumanauto'', ''2015-05-21 06-13-29'')', 'glsetting/chartOfAcct', '0.049123048782349', '2015-05-21 12:15:44'),
(7167, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Noor Faiziatul Nazwa Mhd Jamil'', ''2751248'', ''N00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''288'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.047839164733887', '2015-05-21 12:17:16'),
(7168, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''6'', ''1'', ''INV20150521'', ''2015-04-30'', ''YUA11856'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''57637.25'', ''57637.25'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.10874700546265', '2015-05-21 12:19:18'),
(7169, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (5, ''1'', ''2'', ''5'', ''1'', ''16'', ''PM2M502G002244221'', ''54374.76'', ''54374.76'', ''2'', ''6'', ''3262.49'', ''57637.25'')', 'Artransaction/saveNewDirectSaleInvoice', '0.05414605140686', '2015-05-21 12:19:18'),
(7170, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''57637.25'' WHERE `ID` =  5', 'Artransaction/saveNewDirectSaleInvoice', '0.030957937240601', '2015-05-21 12:19:18'),
(7171, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''5'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''2194.75'', ''8'', ''0'', ''0'', ''2194.75'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.093396186828613', '2015-05-21 12:20:30'),
(7172, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''3262.49'', `totalAmount` = ''59832'', `totalReceivable` = ''59832'' WHERE `ID` =  ''5''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.030313014984131', '2015-05-21 12:20:30'),
(7173, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''6'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 56569.51, '''', ''2'', ''SDN20150521'')', 'artransaction/directInvoicePosting', '0.047254085540771', '2015-05-21 12:20:56'),
(7174, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (5, ''1'', ''5'', ''5'', 54374.76, ''54374.76'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.033509016036987', '2015-05-21 12:20:56'),
(7175, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 5 WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.054445028305054', '2015-05-21 12:20:56'),
(7176, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.050935029983521', '2015-05-21 12:20:56'),
(7177, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000003'', `updateAble` = ''0'' WHERE `ID` =  ''5''', 'artransaction/directInvoicePosting', '0.060909032821655', '2015-05-21 12:20:56'),
(7178, 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'', ''AR20150100000003'', ''INV20150521[00000003]'', ''Posting Direct Sales Invoices [ INV20150521[00000003] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 59832, 59832, ''2'')', 'artransaction/directInvoicePosting', '0.05328106880188', '2015-05-21 12:20:56'),
(7179, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000003'', ''[4221]PM2M502G002244221'', ''288'', ''Noor Faiziatul Nazwa Mhd Jamil'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.087015151977539', '2015-05-21 12:20:56'),
(7180, 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'', ''AR20150100000003'', 2, ''[4221]PM2M502G002244221'', ''59'', ''Noor Faiziatul Nazwa Mhd Jamil'', 54374.76, ''1'', ''1'', ''54374.76'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032773971557617', '2015-05-21 12:20:56'),
(7181, 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, ''AR20150100000003'', ''[4221]PM2M502G002244221'', ''288'', ''Noor Faiziatul Nazwa Mhd Jamil'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.031669139862061', '2015-05-21 12:20:56'),
(7182, 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, ''AR20150100000003'', ''[4221]PM2M502G002244221'', ''41'', ''Noor Faiziatul Nazwa Mhd Jamil'', 3262.49, ''1'', ''1'', ''3262.49'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032792091369629', '2015-05-21 12:20:56');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(7183, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000003'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''288'', ''Noor Faiziatul Nazwa Mhd Jamil'', 2194.75, ''1'', ''1'', ''2194.75'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.03171706199646', '2015-05-21 12:20:56'),
(7184, 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'', ''AR20150100000003'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Noor Faiziatul Nazwa Mhd Jamil'', 2194.75, ''1'', ''1'', ''2194.75'', ''1'', ''2015'', ''1'', ''INV20150521[00000003]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.032746076583862', '2015-05-21 12:20:56'),
(7185, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 59832, `total_amount_cr` = 59832, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000003''', 'artransaction/directInvoicePosting', '0.054358959197998', '2015-05-21 12:20:56'),
(7186, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''333''', 'Gltransaction/journalPosting', '0.091759920120239', '2015-05-21 12:22:24'),
(7187, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000003''', 'Gltransaction/journalPosting', '0.054328918457031', '2015-05-21 12:22:24'),
(7188, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''288'', ''2015'', ''1'', ''54374.76'', ''0'', 54374.76, ''2'', ''2015-05-21: 06:05:24'')', 'Gltransaction/journalPosting', '0.049920797348022', '2015-05-21 12:22:24'),
(7189, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.052674055099487', '2015-05-21 12:22:24'),
(7190, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''288'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.053644895553589', '2015-05-21 12:22:25'),
(7191, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.085890054702759', '2015-05-21 12:22:25'),
(7192, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''288'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.042502164840698', '2015-05-21 12:22:25'),
(7193, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.041644096374512', '2015-05-21 12:22:25'),
(7194, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''5''', 'sotransaction/doPosting', '0.032919883728027', '2015-05-21 12:22:50'),
(7195, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 3 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.02813196182251', '2015-05-21 12:22:50'),
(7196, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000003'' WHERE `ID` =  ''5''', 'sotransaction/doPosting', '0.033326148986816', '2015-05-21 12:22:50'),
(7197, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000003'', ''SDN20150521[00000003]'', ''Delivery Order Confirm [ SDN20150521[00000003] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.069651126861572', '2015-05-21 12:22:50'),
(7198, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''5'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.042759895324707', '2015-05-21 12:22:50'),
(7199, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''10''', 'sotransaction/doPosting', '0.032428979873657', '2015-05-21 12:22:50'),
(7200, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''10'', ''5'', ''1'', ''1'')', 'sotransaction/doPosting', '0.044387102127075', '2015-05-21 12:22:50'),
(7201, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `journalID`, `sequence`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', ''SO20150100000003'', 1, ''[4221]PM2M502G002244221'', ''76'', ''6'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', 1, ''SDN20150521[00000003][00000003]'', NULL, ''2'')', 'sotransaction/doPosting', '0.13097500801086', '2015-05-21 12:22:51'),
(7202, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_cr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `formNo`, `line`, `projectID`, `createdBy`) VALUES (''2'', 2, ''SO20150100000003'', ''[4221]PM2M502G002244221'', ''21'', ''6'', 52338.76, 1, ''1'', 52338.76, ''1'', ''2015'', ''SDN20150521[00000003][00000005]'', 1, NULL, ''2'')', 'sotransaction/doPosting', '0.064497947692871', '2015-05-21 12:22:51'),
(7203, 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` =  ''SO20150100000003''', 'sotransaction/doPosting', '0.066895961761475', '2015-05-21 12:22:51'),
(7204, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''334''', 'Gltransaction/journalPosting', '0.07213306427002', '2015-05-21 12:23:40'),
(7205, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''SO20150100000003''', 'Gltransaction/journalPosting', '0.054357051849365', '2015-05-21 12:23:41'),
(7206, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''76'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.049751043319702', '2015-05-21 12:23:41'),
(7207, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075886964797974', '2015-05-21 12:23:41'),
(7208, 2, 2, '::1', 'insert', 'INSERT INTO `comp_chart_of_acct` (`ID`, `companyID`, `acctGroupID`, `acctCode`, `acctName`, `createdBy`, `createdTS`) VALUES (0, ''2'', ''3'', ''2100S0002'', ''Siti Hajar Mohamad Khalil'', ''yaumanauto'', ''2015-05-21 06-32-49'')', 'glsetting/chartOfAcct', '0.048753976821899', '2015-05-21 12:34:19'),
(7209, 2, 2, '::1', 'insert', 'INSERT INTO `customer` (`ID`, `companyID`, `customerName`, `customerCompanyNo`, `accountCode`, `line1`, `line2`, `line3`, `city`, `customerPostCode`, `customerStateID`, `customerCountryID`, `attention`, `website`, `phoneNumber1`, `phoneNumber2`, `fax`, `email`, `position`, `linkedAPAccountID`, `generalNote`, `gstRegNo`, `creditLimit`, `creditLimitAlert`, `createdDate`, `termsID`, `currencyID`) VALUES (0, ''2'', ''Siti Hajar Mohamad Khalil'', ''2742357'', ''S00-02'', '''', '''', '''', '''', '''', ''0'', ''458'', 0, 0, '''', '''', '''', '''', '''', ''289'', '''', '''', '''', 0, ''2015-04-01'', ''6'', ''1'')', 'customerSetup/CustomerNew', '0.063848972320557', '2015-05-21 12:35:45'),
(7210, 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'', ''PI20150523'', ''2015-05-05'', ''IV02126645'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.089164972305298', '2015-05-23 08:21:44'),
(7211, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (157, ''2'', ''6'', ''1'', ''PM2M602S002228544'', ''1'', ''16'', ''38285.43'', ''38285.43'', ''15'', ''6'', ''2297.13'', ''40582.56'')', 'aptransaction/savePurchaseRow', '0.086514949798584', '2015-05-23 08:21:44'),
(7212, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2297.13'', `totalAmount` = ''40582.56'' WHERE `ID` =  157', 'aptransaction/savePurchaseRow', '0.06972599029541', '2015-05-23 08:21:44'),
(7213, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =157', 'aptransaction/savePurchaseRow', '0.055546998977661', '2015-05-23 08:21:44'),
(7214, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''157'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.062314033508301', '2015-05-23 08:23:03'),
(7215, 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'', ''GRN20150523'', ''2015-05-05'', ''0'', ''IV02126645'', ''2'')', 'Aptransaction/invoicePosting', '0.092619895935059', '2015-05-23 08:23:03'),
(7216, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (158, ''157'', ''2'', ''6'', ''1'', -1, ''PM2M602S002228544'', ''1'', ''1'', ''1'', ''38285.43'', 38285.43)', 'Aptransaction/invoicePosting', '0.099169015884399', '2015-05-23 08:23:03'),
(7217, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 159 WHERE `ID` =  ''158''', 'Aptransaction/invoicePosting', '0.042752981185913', '2015-05-23 08:23:03'),
(7218, 2, 2, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''2'', ''3'', ''2015'', ''2'', ''AP'', 1)', 'Aptransaction/invoicePosting', '0.03563404083252', '2015-05-23 08:23:03'),
(7219, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000001'' WHERE `ID` =  ''157''', 'Aptransaction/invoicePosting', '0.053535938262939', '2015-05-23 08:23:03'),
(7220, 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'', ''AP20150200000001'', ''PI20150523[00000151]'', ''Purchase Invoice Confirm [ PI20150523[00000151] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 40582.56, 40582.56, ''2'')', 'Aptransaction/invoicePosting', '0.048163890838623', '2015-05-23 08:23:03'),
(7221, 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'', ''AP20150200000001'', 1, ''[8544]'', ''138'', ''PERODUA SALES SDN BHD'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''PI20150523[00000151]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030241012573242', '2015-05-23 08:23:03'),
(7222, 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, ''AP20150200000001'', ''[8544]'', ''38'', ''PERODUA SALES SDN BHD'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''PI20150523[00000151]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037659168243408', '2015-05-23 08:23:03'),
(7223, 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, ''AP20150200000001'', ''[8544]'', ''34'', ''PERODUA SALES SDN BHD'', 2297.13, ''1'', ''1'', ''2297.13'', ''2'', ''2015'', ''1'', ''PI20150523[00000151]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037276983261108', '2015-05-23 08:23:03'),
(7224, 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, ''AP20150200000001'', ''[8544]'', ''138'', ''PERODUA SALES SDN BHD'', 2297.13, ''1'', ''1'', ''2297.13'', ''2'', ''2015'', ''1'', ''PI20150523[00000151]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037774085998535', '2015-05-23 08:23:03'),
(7225, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40582.56, `total_amount_cr` = 40582.56, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000001''', 'Aptransaction/invoicePosting', '0.041812896728516', '2015-05-23 08:23:03'),
(7226, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''335''', 'Gltransaction/journalPosting', '0.30379295349121', '2015-05-23 08:25:09'),
(7227, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000001''', 'Gltransaction/journalPosting', '0.087445974349976', '2015-05-23 08:25:09'),
(7228, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''138'', ''2015'', ''2'', ''0'', ''38285.43'', -38285.43, ''2'', ''2015-05-23: 02:05:09'')', 'Gltransaction/journalPosting', '0.063574075698853', '2015-05-23 08:25:09'),
(7229, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''4'', ''38'', ''2015'', ''2'', ''38285.43'', ''0'', 38285.43, ''2'', ''2015-05-23: 02:05:09'')', 'Gltransaction/journalPosting', '0.033172130584717', '2015-05-23 08:25:09'),
(7230, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''34'', ''2015'', ''2'', ''2297.13'', ''0'', 2297.13, ''2'', ''2015-05-23: 02:05:09'')', 'Gltransaction/journalPosting', '0.033854961395264', '2015-05-23 08:25:09'),
(7231, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.058274984359741', '2015-05-23 08:25:09'),
(7232, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''158''', 'purchasetransaction/receiveItemPost', '0.092433929443359', '2015-05-23 08:25:34'),
(7233, 2, 2, '::1', 'insert', 'INSERT INTO `comp_jl_seq` (`compID`, `moduleID`, `year`, `period`, `initial`, `seqNo`) VALUES (''2'', ''8'', ''2015'', ''2'', ''PO'', 1)', 'purchasetransaction/receiveItemPost', '0.067743062973022', '2015-05-23 08:25:34'),
(7234, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000001'' WHERE `ID` =  ''158''', 'purchasetransaction/receiveItemPost', '0.032640933990479', '2015-05-23 08:25:34'),
(7235, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000001'', ''GRN20150523[00000152]'', '' [ GRN20150523[00000152] ]'', ''8'', ''2015-05-05'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036623954772949', '2015-05-23 08:25:34'),
(7236, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''6'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.037338972091675', '2015-05-23 08:25:34'),
(7237, 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'', ''PO20150200000001'', 1, ''[8544]PERODUA MYVI'', ''38'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''1'', ''GRN20150523[00000152]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051923990249634', '2015-05-23 08:25:34'),
(7238, 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, ''PO20150200000001'', ''[8544]PERODUA MYVI'', ''21'', 38285.43, ''1'', ''1'', ''38285.43'', ''2'', ''2015'', ''GRN20150523[00000158]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029302835464478', '2015-05-23 08:25:34'),
(7239, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38285.43, `total_amount_cr` = 38285.43, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000001''', 'purchasetransaction/receiveItemPost', '0.04284405708313', '2015-05-23 08:25:34'),
(7240, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''336''', 'Gltransaction/journalPosting', '0.074393033981323', '2015-05-23 08:26:29'),
(7241, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000001''', 'Gltransaction/journalPosting', '0.031347990036011', '2015-05-23 08:26:29'),
(7242, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.034248113632202', '2015-05-23 08:26:29'),
(7243, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''21'', ''2015'', ''2'', ''38285.43'', ''0'', 38285.43, ''2'', ''2015-05-23: 02:05:29'')', 'Gltransaction/journalPosting', '0.05620288848877', '2015-05-23 08:26:29'),
(7244, 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'', ''PI20150523'', ''2015-05-05'', ''IV02125861'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.086499929428101', '2015-05-23 08:31:44'),
(7245, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (158, ''2'', ''13'', ''1'', ''PM2B200S003066948'', ''1'', ''16'', ''28430.34'', ''28430.34'', ''15'', ''6'', ''1705.82'', ''30136.16'')', 'aptransaction/savePurchaseRow', '0.032465934753418', '2015-05-23 08:31:45'),
(7246, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1705.82'', `totalAmount` = ''30136.16'' WHERE `ID` =  158', 'aptransaction/savePurchaseRow', '0.028088808059692', '2015-05-23 08:31:45'),
(7247, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =158', 'aptransaction/savePurchaseRow', '0.033060073852539', '2015-05-23 08:31:45'),
(7248, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''158'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.046049118041992', '2015-05-23 08:32:05'),
(7249, 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'', ''GRN20150523'', ''2015-05-05'', ''0'', ''IV02125861'', ''2'')', 'Aptransaction/invoicePosting', '0.050247192382812', '2015-05-23 08:32:05'),
(7250, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (159, ''158'', ''2'', ''13'', ''1'', -1, ''PM2B200S003066948'', ''1'', ''1'', ''1'', ''28430.34'', 28430.34)', 'Aptransaction/invoicePosting', '0.030993938446045', '2015-05-23 08:32:05'),
(7251, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 160 WHERE `ID` =  ''159''', 'Aptransaction/invoicePosting', '0.052751064300537', '2015-05-23 08:32:05'),
(7252, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  ''13''', 'Aptransaction/invoicePosting', '0.032618999481201', '2015-05-23 08:32:05'),
(7253, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150200000002'' WHERE `ID` =  ''158''', 'Aptransaction/invoicePosting', '0.031744956970215', '2015-05-23 08:32:05'),
(7254, 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'', ''AP20150200000002'', ''PI20150523[00000152]'', ''Purchase Invoice Confirm [ PI20150523[00000152] ]'', ''3'', ''2015-05-05'', ''2015'', ''2'', 30136.16, 30136.16, ''2'')', 'Aptransaction/invoicePosting', '0.031888961791992', '2015-05-23 08:32:05'),
(7255, 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'', ''AP20150200000002'', 1, ''[6948]'', ''138'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150523[00000152]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.049523830413818', '2015-05-23 08:32:05'),
(7256, 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, ''AP20150200000002'', ''[6948]'', ''38'', ''PERODUA SALES SDN BHD'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''PI20150523[00000152]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03790283203125', '2015-05-23 08:32:05'),
(7257, 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, ''AP20150200000002'', ''[6948]'', ''34'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150523[00000152]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037204027175903', '2015-05-23 08:32:05'),
(7258, 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, ''AP20150200000002'', ''[6948]'', ''138'', ''PERODUA SALES SDN BHD'', 1705.82, ''1'', ''1'', ''1705.82'', ''2'', ''2015'', ''1'', ''PI20150523[00000152]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037445068359375', '2015-05-23 08:32:05'),
(7259, 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` =  ''AP20150200000002''', 'Aptransaction/invoicePosting', '0.031062841415405', '2015-05-23 08:32:05'),
(7260, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''337''', 'Gltransaction/journalPosting', '0.027648210525513', '2015-05-23 08:33:21'),
(7261, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150200000002''', 'Gltransaction/journalPosting', '0.032699823379517', '2015-05-23 08:33:21'),
(7262, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.032230138778687', '2015-05-23 08:33:21'),
(7263, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.03092098236084', '2015-05-23 08:33:21'),
(7264, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''34'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.053138017654419', '2015-05-23 08:33:22'),
(7265, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''138'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.041430950164795', '2015-05-23 08:33:22'),
(7266, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''159''', 'purchasetransaction/receiveItemPost', '0.098741054534912', '2015-05-23 08:33:54'),
(7267, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 2 WHERE `ID` =  ''14''', 'purchasetransaction/receiveItemPost', '0.053305864334106', '2015-05-23 08:33:55'),
(7268, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150200000002'' WHERE `ID` =  ''159''', 'purchasetransaction/receiveItemPost', '0.030733823776245', '2015-05-23 08:33:55'),
(7269, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150200000002'', ''GRN20150523[00000153]'', '' [ GRN20150523[00000153] ]'', ''8'', ''2015-05-05'', ''2015'', ''2'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051210165023804', '2015-05-23 08:33:55'),
(7270, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''13'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.03574800491333', '2015-05-23 08:33:55'),
(7271, 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'', ''PO20150200000002'', 1, ''[6948]PERODUA AXIA'', ''38'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''1'', ''GRN20150523[00000153]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029392957687378', '2015-05-23 08:33:55'),
(7272, 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, ''PO20150200000002'', ''[6948]PERODUA AXIA'', ''21'', 28430.34, ''1'', ''1'', ''28430.34'', ''2'', ''2015'', ''GRN20150523[00000159]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029910087585449', '2015-05-23 08:33:55'),
(7273, 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` =  ''PO20150200000002''', 'purchasetransaction/receiveItemPost', '0.042289972305298', '2015-05-23 08:33:55'),
(7274, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''338''', 'Gltransaction/journalPosting', '0.093677043914795', '2015-05-23 08:34:44'),
(7275, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150200000002''', 'Gltransaction/journalPosting', '0.042448997497559', '2015-05-23 08:34:45'),
(7276, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''38'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.030081033706665', '2015-05-23 08:34:45'),
(7277, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''21'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''2''', 'Gltransaction/journalPosting', '0.036636829376221', '2015-05-23 08:34:45'),
(7278, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice` (`invoiceCodeID`, `customerID`, `currencyID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `projectID`, `agentID`, `termsID`, `shipToID`, `exchangeRate`, `locationID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `memo`, `employeeID`, `shippingMethodID`, `companyID`, `createdBy`, `showSaleAgent`) VALUES (2, ''4'', ''1'', ''INV20150523'', ''2015-04-30'', ''YUA11858'', '''', '''', ''6'', ''null'', ''1.00000'', ''2'', 0, ''31662.56'', ''31662.56'', '''', '''', '''', ''2'', ''2'', ''0'')', 'Artransaction/saveNewDirectSaleInvoice', '0.17357707023621', '2015-05-23 08:44:01'),
(7279, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_detail` (`invoiceID`, `lineNo`, `createdBy`, `itemID`, `quantity`, `umID`, `itemdescription`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (6, ''1'', ''2'', ''13'', ''1'', ''16'', ''PM2B200S003066948'', ''29870.34'', ''29870.34'', ''2'', ''6'', ''1792.22'', ''31662.56'')', 'Artransaction/saveNewDirectSaleInvoice', '0.065660953521729', '2015-05-23 08:44:01'),
(7280, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1792.22'', `totalAmount` = ''31662.56'' WHERE `ID` =  6', 'Artransaction/saveNewDirectSaleInvoice', '0.034915924072266', '2015-05-23 08:44:01'),
(7281, 2, 2, '::1', 'insert', 'INSERT INTO `comp_sales_invoice_charges` (`invoiceID`, `lineNo`, `createdBy`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (''6'', ''1'', ''2'', ''284'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''755.66'', ''8'', ''0'', ''0'', ''755.66'')', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.062119007110596', '2015-05-23 08:45:47'),
(7282, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `totalTaxAmount` = ''1792.22'', `totalAmount` = ''32418.22'', `totalReceivable` = ''32418.22'' WHERE `ID` =  ''6''', 'Artransaction/saveNewSaleDetailOnlyCharges', '0.070843935012817', '2015-05-23 08:45:47'),
(7283, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_order` (`companyID`, `customerID`, `deliveryOrderDate`, `locationID`, `toAddress`, `shippingMethodID`, `currencyID`, `exchangeRate`, `employeeID`, `totalAmount`, `memo`, `createdBy`, `formNo`) VALUES (''2'', ''4'', ''2015-04-30'', ''2'', '',\\r\\n,\\r\\n \\r\\n, '', ''0'', ''1'', ''1'', ''0'', 30626, '''', ''2'', ''SDN20150523'')', 'artransaction/directInvoicePosting', '0.086938142776489', '2015-05-23 08:46:49'),
(7284, 2, 2, '::1', 'insert', 'INSERT INTO `comp_delivery_detail` (`deliveryID`, `lineNo`, `itemID`, `invoiceID`, `amount`, `unitPrice`, `quantitySent`, `createdBy`) VALUES (6, ''1'', ''13'', ''6'', 29870.34, ''29870.34'', ''1'', ''2'')', 'artransaction/directInvoicePosting', '0.030576944351196', '2015-05-23 08:46:49'),
(7285, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice_detail` SET `doID` = 6 WHERE `ID` =  ''6''', 'artransaction/directInvoicePosting', '0.032660961151123', '2015-05-23 08:46:49'),
(7286, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''11''', 'artransaction/directInvoicePosting', '0.026002883911133', '2015-05-23 08:46:50'),
(7287, 2, 2, '::1', 'update', 'UPDATE `comp_sales_invoice` SET `journalNo` = ''AR20150100000004'', `updateAble` = ''0'' WHERE `ID` =  ''6''', 'artransaction/directInvoicePosting', '0.037796020507812', '2015-05-23 08:46:50'),
(7288, 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'', ''AR20150100000004'', ''INV20150523[00000004]'', ''Posting Direct Sales Invoices [ INV20150523[00000004] ]'', ''2'', ''2015-04-30'', ''2015'', ''1'', 32418.22, 32418.22, ''2'')', 'artransaction/directInvoicePosting', '0.027868986129761', '2015-05-23 08:46:50'),
(7289, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 1, ''AR20150100000004'', ''[6948]PM2B200S003066948'', ''286'', ''Shirley Auwardt'', 29870.34, ''1'', ''1'', ''29870.34'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.052683115005493', '2015-05-23 08:46:50'),
(7290, 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'', ''AR20150100000004'', 2, ''[6948]PM2B200S003066948'', ''59'', ''Shirley Auwardt'', 29870.34, ''1'', ''1'', ''29870.34'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028517007827759', '2015-05-23 08:46:50'),
(7291, 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, ''AR20150100000004'', ''[6948]PM2B200S003066948'', ''286'', ''Shirley Auwardt'', 1792.22, ''1'', ''1'', ''1792.22'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029753923416138', '2015-05-23 08:46:50'),
(7292, 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, ''AR20150100000004'', ''[6948]PM2B200S003066948'', ''41'', ''Shirley Auwardt'', 1792.22, ''1'', ''1'', ''1792.22'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.029497146606445', '2015-05-23 08:46:50'),
(7293, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal_detail` (`companyID`, `sequence`, `journalID`, `description`, `acctCode`, `supplier`, `amount_dr`, `currencyID`, `exchange_rate`, `currency_amount`, `period`, `year`, `line`, `formNo`, `projectID`, `createdBy`) VALUES (''2'', 5, ''AR20150100000004'', ''Road Tax,Registration,HP Claim,Ins Premium'', ''286'', ''Shirley Auwardt'', 755.66, ''1'', ''1'', ''755.66'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.030001878738403', '2015-05-23 08:46:50'),
(7294, 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'', ''AR20150100000004'', 6, ''Road Tax,Registration,HP Claim,Ins Premium'', ''284'', ''Shirley Auwardt'', 755.66, ''1'', ''1'', ''755.66'', ''1'', ''2015'', ''1'', ''INV20150523[00000004]'', ''0'', ''2'')', 'artransaction/directInvoicePosting', '0.028352975845337', '2015-05-23 08:46:50'),
(7295, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 32418.22, `total_amount_cr` = 32418.22, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000004''', 'artransaction/directInvoicePosting', '0.032099962234497', '2015-05-23 08:46:50'),
(7296, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''339''', 'Gltransaction/journalPosting', '0.10359883308411', '2015-05-23 08:47:42'),
(7297, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AR20150100000004''', 'Gltransaction/journalPosting', '0.064014911651611', '2015-05-23 08:47:42'),
(7298, 2, 2, '::1', 'insert', 'INSERT INTO `comp_acc_det` (`companyID`, `acctGroupID`, `acctID`, `year`, `period`, `amountdr`, `amountcr`, `total`, `createdBy`, `createdTS`) VALUES (''2'', ''3'', ''286'', ''2015'', ''1'', ''29870.34'', ''0'', 29870.34, ''2'', ''2015-05-23: 02:05:42'')', 'Gltransaction/journalPosting', '0.049613952636719', '2015-05-23 08:47:42'),
(7299, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''59'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.057921886444092', '2015-05-23 08:47:42'),
(7300, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''286'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.057957887649536', '2015-05-23 08:47:42'),
(7301, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''41'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.046689987182617', '2015-05-23 08:47:42'),
(7302, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''286'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.034590005874634', '2015-05-23 08:47:42'),
(7303, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`total` = a.amountdr - a.amountcr, `a`.`updatedBy` = ''2'' WHERE `a`.`companyID` =  ''2'' AND `a`.`acctID` =  ''284'' AND `a`.`year` =  ''2015'' AND `a`.`period` =  ''1''', 'Gltransaction/journalPosting', '0.047152042388916', '2015-05-23 08:47:42'),
(7304, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `updateAble` = ''0'' WHERE `ID` =  ''6''', 'sotransaction/doPosting', '0.030633926391602', '2015-05-23 08:48:58'),
(7305, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 4 WHERE `ID` =  ''12''', 'sotransaction/doPosting', '0.063661813735962', '2015-05-23 08:48:58'),
(7306, 2, 2, '::1', 'update', 'UPDATE `comp_delivery_order` SET `journalNo` = ''SO20150100000004'' WHERE `ID` =  ''6''', 'sotransaction/doPosting', '0.031235933303833', '2015-05-23 08:48:58'),
(7307, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''SO20150100000004'', ''SDN20150523[00000004]'', ''Delivery Order Confirm [ SDN20150523[00000004] ]'', ''5'', ''2015-04-30'', ''2015'', ''1'', ''2'')', 'sotransaction/doPosting', '0.066433191299438', '2015-05-23 08:48:58'),
(7308, 2, 2, '::1', 'update', 'UPDATE `item_details` SET `onHandQty` = onHandQty - 1 WHERE `locationID` =  ''2'' AND `itemID` =  ''13'' AND `companyID` =  ''2''', 'sotransaction/doPosting', '0.047762155532837', '2015-05-23 08:48:58'),
(7309, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item_detail` SET `balanceItem` = 0 WHERE `ID` =  ''160''', 'sotransaction/doPosting', '0.031203031539917', '2015-05-23 08:48:58'),
(7310, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_delivery_conn` (`receiveDetailID`, `deliveryDetailID`, `type`, `qty`) VALUES (''160'', ''6'', ''1'', ''1'')', 'sotransaction/doPosting', '0.032640933990479', '2015-05-23 08:48:58');
