INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3259, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000051''', 'Aptransaction/invoicePosting', '0.033663034439087', '2015-05-14 10:57:43'),
(3260, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''116''', 'Gltransaction/journalPosting', '0.32268595695496', '2015-05-14 10:58:50'),
(3261, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000051''', 'Gltransaction/journalPosting', '0.043248891830444', '2015-05-14 10:58:50'),
(3262, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.070475816726685', '2015-05-14 10:58:50'),
(3263, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03028392791748', '2015-05-14 10:58:50'),
(3264, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042671918869019', '2015-05-14 10:58:50'),
(3265, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05254602432251', '2015-05-14 10:58:50'),
(3266, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''55''', 'purchasetransaction/receiveItemPost', '0.031873941421509', '2015-05-14 10:59:13'),
(3267, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.031949996948242', '2015-05-14 10:59:13'),
(3268, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000052'' WHERE `ID` =  ''55''', 'purchasetransaction/receiveItemPost', '0.032258987426758', '2015-05-14 10:59:13'),
(3269, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000052'', ''GRN20150514[00000052]'', '' [ GRN20150514[00000052] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059506893157959', '2015-05-14 10:59:13'),
(3270, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''53'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040250062942505', '2015-05-14 10:59:13'),
(3271, 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'', ''PO20150100000052'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000052]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054954051971436', '2015-05-14 10:59:13'),
(3272, 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, ''PO20150100000052'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000055]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031759023666382', '2015-05-14 10:59:13'),
(3273, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000052''', 'purchasetransaction/receiveItemPost', '0.03317403793335', '2015-05-14 10:59:13'),
(3274, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''117''', 'Gltransaction/journalPosting', '0.093318939208984', '2015-05-14 10:59:47'),
(3275, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000052''', 'Gltransaction/journalPosting', '0.07694411277771', '2015-05-14 10:59:47'),
(3276, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.059001922607422', '2015-05-14 10:59:47'),
(3277, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031585931777954', '2015-05-14 10:59:47'),
(3278, 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'', ''PI20150514'', ''2015-04-13'', ''IV02112487'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10631203651428', '2015-05-14 11:01:41'),
(3279, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (55, ''2'', ''54'', ''1'', ''PM2B200S003060778'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.043170928955078', '2015-05-14 11:01:41'),
(3280, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  55', 'aptransaction/savePurchaseRow', '0.056838989257812', '2015-05-14 11:01:41'),
(3281, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =55', 'aptransaction/savePurchaseRow', '0.054724931716919', '2015-05-14 11:01:41'),
(3282, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''55'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.060566902160645', '2015-05-14 11:02:02'),
(3283, 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'', ''GRN20150514'', ''2015-04-13'', ''0'', ''IV02112487'', ''2'')', 'Aptransaction/invoicePosting', '0.048584938049316', '2015-05-14 11:02:02'),
(3284, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (56, ''55'', ''2'', ''54'', ''1'', -1, ''PM2B200S003060778'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.032127857208252', '2015-05-14 11:02:02'),
(3285, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 57 WHERE `ID` =  ''56''', 'Aptransaction/invoicePosting', '0.03333592414856', '2015-05-14 11:02:02'),
(3286, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 52 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.051544904708862', '2015-05-14 11:02:02'),
(3287, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000052'' WHERE `ID` =  ''55''', 'Aptransaction/invoicePosting', '0.043856859207153', '2015-05-14 11:02:02'),
(3288, 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'', ''AP20150100000052'', ''PI20150514[00000052]'', ''Purchase Invoice Confirm [ PI20150514[00000052] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.035697937011719', '2015-05-14 11:02:02'),
(3289, 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'', ''AP20150100000052'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000052]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031659126281738', '2015-05-14 11:02:02'),
(3290, 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, ''AP20150100000052'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000052]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053138017654419', '2015-05-14 11:02:02'),
(3291, 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, ''AP20150100000052'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000052]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031603097915649', '2015-05-14 11:02:02'),
(3292, 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, ''AP20150100000052'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000052]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030947923660278', '2015-05-14 11:02:02'),
(3293, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000052''', 'Aptransaction/invoicePosting', '0.044105052947998', '2015-05-14 11:02:02'),
(3294, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''118''', 'Gltransaction/journalPosting', '0.063184022903442', '2015-05-14 11:03:05'),
(3295, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000052''', 'Gltransaction/journalPosting', '0.066221952438354', '2015-05-14 11:03:05'),
(3296, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.059232950210571', '2015-05-14 11:03:05'),
(3297, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031416893005371', '2015-05-14 11:03:05'),
(3298, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030656099319458', '2015-05-14 11:03:05'),
(3299, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031362056732178', '2015-05-14 11:03:05'),
(3300, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''56''', 'purchasetransaction/receiveItemPost', '0.032531976699829', '2015-05-14 11:03:27'),
(3301, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.031858921051025', '2015-05-14 11:03:27'),
(3302, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000053'' WHERE `ID` =  ''56''', 'purchasetransaction/receiveItemPost', '0.055136919021606', '2015-05-14 11:03:27'),
(3303, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000053'', ''GRN20150514[00000053]'', '' [ GRN20150514[00000053] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058733940124512', '2015-05-14 11:03:27'),
(3304, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''54'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030155897140503', '2015-05-14 11:03:27'),
(3305, 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'', ''PO20150100000053'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000053]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054409027099609', '2015-05-14 11:03:27'),
(3306, 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, ''PO20150100000053'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000056]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03258204460144', '2015-05-14 11:03:27'),
(3307, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000053''', 'purchasetransaction/receiveItemPost', '0.03247594833374', '2015-05-14 11:03:27'),
(3308, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''119''', 'Gltransaction/journalPosting', '0.090790033340454', '2015-05-14 11:04:01'),
(3309, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000053''', 'Gltransaction/journalPosting', '0.066105127334595', '2015-05-14 11:04:01'),
(3310, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0850989818573', '2015-05-14 11:04:01'),
(3311, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064130067825317', '2015-05-14 11:04:01'),
(3312, 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'', ''PI20150514'', ''2015-04-11'', ''IV02111017'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11211109161377', '2015-05-14 11:06:44'),
(3313, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (56, ''2'', ''55'', ''1'', ''PM2M602S002225215'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.055044174194336', '2015-05-14 11:06:44'),
(3314, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  56', 'aptransaction/savePurchaseRow', '0.066457986831665', '2015-05-14 11:06:44'),
(3315, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =56', 'aptransaction/savePurchaseRow', '0.066121816635132', '2015-05-14 11:06:45'),
(3316, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''56'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.049617052078247', '2015-05-14 11:07:01'),
(3317, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02111017'', ''2'')', 'Aptransaction/invoicePosting', '0.18072485923767', '2015-05-14 11:07:01'),
(3318, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (57, ''56'', ''2'', ''55'', ''1'', -1, ''PM2M602S002225215'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.06624698638916', '2015-05-14 11:07:01'),
(3319, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 58 WHERE `ID` =  ''57''', 'Aptransaction/invoicePosting', '0.032471895217896', '2015-05-14 11:07:01'),
(3320, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 53 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033052921295166', '2015-05-14 11:07:01'),
(3321, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000053'' WHERE `ID` =  ''56''', 'Aptransaction/invoicePosting', '0.032340049743652', '2015-05-14 11:07:01'),
(3322, 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'', ''AP20150100000053'', ''PI20150514[00000053]'', ''Purchase Invoice Confirm [ PI20150514[00000053] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.0592041015625', '2015-05-14 11:07:01'),
(3323, 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'', ''AP20150100000053'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000053]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075191020965576', '2015-05-14 11:07:01'),
(3324, 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, ''AP20150100000053'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000053]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031852006912231', '2015-05-14 11:07:01'),
(3325, 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, ''AP20150100000053'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000053]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030827045440674', '2015-05-14 11:07:01'),
(3326, 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, ''AP20150100000053'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000053]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031787157058716', '2015-05-14 11:07:01'),
(3327, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000053''', 'Aptransaction/invoicePosting', '0.032249927520752', '2015-05-14 11:07:01'),
(3328, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''120''', 'Gltransaction/journalPosting', '0.078872919082642', '2015-05-14 11:07:59'),
(3329, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000053''', 'Gltransaction/journalPosting', '0.065900802612305', '2015-05-14 11:07:59'),
(3330, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.06020712852478', '2015-05-14 11:07:59'),
(3331, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030290842056274', '2015-05-14 11:07:59'),
(3332, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031527996063232', '2015-05-14 11:07:59'),
(3333, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030234098434448', '2015-05-14 11:07:59'),
(3334, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''57''', 'purchasetransaction/receiveItemPost', '0.099699974060059', '2015-05-14 11:08:22'),
(3335, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051671981811523', '2015-05-14 11:08:22'),
(3336, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000054'' WHERE `ID` =  ''57''', 'purchasetransaction/receiveItemPost', '0.032807111740112', '2015-05-14 11:08:22'),
(3337, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000054'', ''GRN20150514[00000054]'', '' [ GRN20150514[00000054] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047872066497803', '2015-05-14 11:08:22'),
(3338, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''55'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041121006011963', '2015-05-14 11:08:22'),
(3339, 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'', ''PO20150100000054'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150514[00000054]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032334089279175', '2015-05-14 11:08:22'),
(3340, 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, ''PO20150100000054'', ''[MYVI]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150514[00000057]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.075945138931274', '2015-05-14 11:08:22'),
(3341, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41366.98, `total_amount_cr` = 41366.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000054''', 'purchasetransaction/receiveItemPost', '0.033329963684082', '2015-05-14 11:08:22'),
(3342, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''121''', 'Gltransaction/journalPosting', '0.092388153076172', '2015-05-14 11:09:03'),
(3343, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000054''', 'Gltransaction/journalPosting', '0.076958894729614', '2015-05-14 11:09:03'),
(3344, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049377918243408', '2015-05-14 11:09:03'),
(3345, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03079891204834', '2015-05-14 11:09:03'),
(3346, 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'', ''PI20150514'', ''2015-04-11'', ''IV02109020'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.098275184631348', '2015-05-14 11:20:35'),
(3347, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (57, ''2'', ''56'', ''1'', ''PM2B200S003058199'', ''1'', ''16'', ''36760'', ''36760'', ''15'', ''6'', ''2205.6'', ''38965.6'')', 'aptransaction/savePurchaseRow', '0.043882131576538', '2015-05-14 11:20:35'),
(3348, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2205.6'', `totalAmount` = ''38965.6'' WHERE `ID` =  57', 'aptransaction/savePurchaseRow', '0.056883096694946', '2015-05-14 11:20:36'),
(3349, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =57', 'aptransaction/savePurchaseRow', '0.032910108566284', '2015-05-14 11:20:36'),
(3350, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''57'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.066326141357422', '2015-05-14 11:21:14'),
(3351, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02109020'', ''2'')', 'Aptransaction/invoicePosting', '0.081506967544556', '2015-05-14 11:21:14'),
(3352, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (58, ''57'', ''2'', ''56'', ''1'', -1, ''PM2B200S003058199'', ''1'', ''1'', ''1'', ''36760'', 36760)', 'Aptransaction/invoicePosting', '0.043693780899048', '2015-05-14 11:21:14'),
(3353, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 59 WHERE `ID` =  ''58''', 'Aptransaction/invoicePosting', '0.077117919921875', '2015-05-14 11:21:14'),
(3354, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 54 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.043981790542603', '2015-05-14 11:21:14'),
(3355, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000054'' WHERE `ID` =  ''57''', 'Aptransaction/invoicePosting', '0.043827056884766', '2015-05-14 11:21:14'),
(3356, 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'', ''AP20150100000054'', ''PI20150514[00000054]'', ''Purchase Invoice Confirm [ PI20150514[00000054] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 38965.6, 38965.6, ''2'')', 'Aptransaction/invoicePosting', '0.058961153030396', '2015-05-14 11:21:14'),
(3357, 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'', ''AP20150100000054'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''PI20150514[00000054]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053413867950439', '2015-05-14 11:21:14'),
(3358, 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, ''AP20150100000054'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''PI20150514[00000054]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03135085105896', '2015-05-14 11:21:14'),
(3359, 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, ''AP20150100000054'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2205.6, ''1'', ''1'', ''2205.6'', ''1'', ''2015'', ''1'', ''PI20150514[00000054]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03048300743103', '2015-05-14 11:21:14'),
(3360, 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, ''AP20150100000054'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2205.6, ''1'', ''1'', ''2205.6'', ''1'', ''2015'', ''1'', ''PI20150514[00000054]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032286882400513', '2015-05-14 11:21:14'),
(3361, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38965.6, `total_amount_cr` = 38965.6, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000054''', 'Aptransaction/invoicePosting', '0.054710865020752', '2015-05-14 11:21:14'),
(3362, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''122''', 'Gltransaction/journalPosting', '0.32733511924744', '2015-05-14 11:22:17'),
(3363, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000054''', 'Gltransaction/journalPosting', '0.04374885559082', '2015-05-14 11:22:17'),
(3364, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051743984222412', '2015-05-14 11:22:17'),
(3365, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052200078964233', '2015-05-14 11:22:17'),
(3366, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054126024246216', '2015-05-14 11:22:17'),
(3367, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064218997955322', '2015-05-14 11:22:17'),
(3368, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''58''', 'purchasetransaction/receiveItemPost', '0.033087015151978', '2015-05-14 11:22:38'),
(3369, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.044117212295532', '2015-05-14 11:22:38'),
(3370, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000055'' WHERE `ID` =  ''58''', 'purchasetransaction/receiveItemPost', '0.032798051834106', '2015-05-14 11:22:38'),
(3371, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000055'', ''GRN20150514[00000055]'', '' [ GRN20150514[00000055] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07010817527771', '2015-05-14 11:22:38'),
(3372, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''56'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030869007110596', '2015-05-14 11:22:38'),
(3373, 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'', ''PO20150100000055'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''GRN20150514[00000055]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032320976257324', '2015-05-14 11:22:38'),
(3374, 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, ''PO20150100000055'', ''[AXIA]PERODUA AXIA'', ''21'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''GRN20150514[00000058]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032282114028931', '2015-05-14 11:22:38'),
(3375, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36760, `total_amount_cr` = 36760, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000055''', 'purchasetransaction/receiveItemPost', '0.032711982727051', '2015-05-14 11:22:38'),
(3376, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''123''', 'Gltransaction/journalPosting', '0.10067296028137', '2015-05-14 11:23:57'),
(3377, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000055''', 'Gltransaction/journalPosting', '0.054876089096069', '2015-05-14 11:23:57'),
(3378, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062906980514526', '2015-05-14 11:23:58'),
(3379, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029969930648804', '2015-05-14 11:23:58'),
(3380, 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'', ''PI20150514'', ''2015-04-11'', ''IV02111332'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11134791374207', '2015-05-14 11:26:38'),
(3381, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (58, ''2'', ''57'', ''1'', ''PM2M603S002118391'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.04460883140564', '2015-05-14 11:26:38'),
(3382, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  58', 'aptransaction/savePurchaseRow', '0.056117057800293', '2015-05-14 11:26:38'),
(3383, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =58', 'aptransaction/savePurchaseRow', '0.044044017791748', '2015-05-14 11:26:38'),
(3384, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''58'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.035205841064453', '2015-05-14 11:26:54'),
(3385, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02111332'', ''2'')', 'Aptransaction/invoicePosting', '0.065927982330322', '2015-05-14 11:26:54'),
(3386, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (59, ''58'', ''2'', ''57'', ''1'', -1, ''PM2M603S002118391'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.054712772369385', '2015-05-14 11:26:54'),
(3387, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 60 WHERE `ID` =  ''59''', 'Aptransaction/invoicePosting', '0.032833814620972', '2015-05-14 11:26:54'),
(3388, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 55 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033267021179199', '2015-05-14 11:26:54'),
(3389, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000055'' WHERE `ID` =  ''58''', 'Aptransaction/invoicePosting', '0.032742977142334', '2015-05-14 11:26:55');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3390, 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'', ''AP20150100000055'', ''PI20150514[00000055]'', ''Purchase Invoice Confirm [ PI20150514[00000055] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.06997013092041', '2015-05-14 11:26:55'),
(3391, 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'', ''AP20150100000055'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000055]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.095569133758545', '2015-05-14 11:26:55'),
(3392, 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, ''AP20150100000055'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000055]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033227920532227', '2015-05-14 11:26:55'),
(3393, 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, ''AP20150100000055'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000055]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031376838684082', '2015-05-14 11:26:55'),
(3394, 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, ''AP20150100000055'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000055]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031342029571533', '2015-05-14 11:26:55'),
(3395, 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` =  ''AP20150100000055''', 'Aptransaction/invoicePosting', '0.032708168029785', '2015-05-14 11:26:55'),
(3396, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''124''', 'Gltransaction/journalPosting', '0.075749158859253', '2015-05-14 11:27:56'),
(3397, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000055''', 'Gltransaction/journalPosting', '0.033950805664062', '2015-05-14 11:27:56'),
(3398, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.060912847518921', '2015-05-14 11:27:56'),
(3399, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03021502494812', '2015-05-14 11:27:56'),
(3400, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031843900680542', '2015-05-14 11:27:56'),
(3401, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030261039733887', '2015-05-14 11:27:57'),
(3402, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''59''', 'purchasetransaction/receiveItemPost', '0.11228489875793', '2015-05-14 11:28:17'),
(3403, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.062553882598877', '2015-05-14 11:28:17'),
(3404, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000056'' WHERE `ID` =  ''59''', 'purchasetransaction/receiveItemPost', '0.032721042633057', '2015-05-14 11:28:17'),
(3405, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000056'', ''GRN20150514[00000056]'', '' [ GRN20150514[00000056] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047982215881348', '2015-05-14 11:28:17'),
(3406, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''57'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031198978424072', '2015-05-14 11:28:17'),
(3407, 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'', ''PO20150100000056'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150514[00000056]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03233003616333', '2015-05-14 11:28:17'),
(3408, 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, ''PO20150100000056'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150514[00000059]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032292127609253', '2015-05-14 11:28:17'),
(3409, 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` =  ''PO20150100000056''', 'purchasetransaction/receiveItemPost', '0.054837226867676', '2015-05-14 11:28:17'),
(3410, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''125''', 'Gltransaction/journalPosting', '0.060274839401245', '2015-05-14 11:28:52'),
(3411, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000056''', 'Gltransaction/journalPosting', '0.045207023620605', '2015-05-14 11:28:52'),
(3412, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062950134277344', '2015-05-14 11:28:52'),
(3413, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064229965209961', '2015-05-14 11:28:52'),
(3414, 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'', ''PI20150514'', ''2015-04-13'', ''IV02112824'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.070080041885376', '2015-05-14 11:34:56'),
(3415, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (59, ''2'', ''58'', ''1'', ''PM2M502G002243161'', ''1'', ''16'', ''49560.58'', ''49560.58'', ''15'', ''6'', ''2973.63'', ''52534.21'')', 'aptransaction/savePurchaseRow', '0.05471396446228', '2015-05-14 11:34:57'),
(3416, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2973.63'', `totalAmount` = ''52534.21'' WHERE `ID` =  59', 'aptransaction/savePurchaseRow', '0.034440040588379', '2015-05-14 11:34:57'),
(3417, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =59', 'aptransaction/savePurchaseRow', '0.033207893371582', '2015-05-14 11:34:57'),
(3418, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''59'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038295030593872', '2015-05-14 11:35:14'),
(3419, 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'', ''GRN20150514'', ''2015-04-13'', ''0'', ''IV02112824'', ''2'')', 'Aptransaction/invoicePosting', '0.070652961730957', '2015-05-14 11:35:14'),
(3420, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (60, ''59'', ''2'', ''58'', ''1'', -1, ''PM2M502G002243161'', ''1'', ''1'', ''1'', ''49560.58'', 49560.58)', 'Aptransaction/invoicePosting', '0.032592058181763', '2015-05-14 11:35:14'),
(3421, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 61 WHERE `ID` =  ''60''', 'Aptransaction/invoicePosting', '0.032985925674438', '2015-05-14 11:35:14'),
(3422, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 56 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.03360915184021', '2015-05-14 11:35:14'),
(3423, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000056'' WHERE `ID` =  ''59''', 'Aptransaction/invoicePosting', '0.053462982177734', '2015-05-14 11:35:14'),
(3424, 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'', ''AP20150100000056'', ''PI20150514[00000056]'', ''Purchase Invoice Confirm [ PI20150514[00000056] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 52534.21, 52534.21, ''2'')', 'Aptransaction/invoicePosting', '0.049131870269775', '2015-05-14 11:35:14'),
(3425, 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'', ''AP20150100000056'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''1'', ''PI20150514[00000056]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075656175613403', '2015-05-14 11:35:14'),
(3426, 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, ''AP20150100000056'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''1'', ''PI20150514[00000056]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042397975921631', '2015-05-14 11:35:14'),
(3427, 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, ''AP20150100000056'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 2973.63, ''1'', ''1'', ''2973.63'', ''1'', ''2015'', ''1'', ''PI20150514[00000056]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029989957809448', '2015-05-14 11:35:14'),
(3428, 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, ''AP20150100000056'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 2973.63, ''1'', ''1'', ''2973.63'', ''1'', ''2015'', ''1'', ''PI20150514[00000056]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043828010559082', '2015-05-14 11:35:14'),
(3429, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52534.21, `total_amount_cr` = 52534.21, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000056''', 'Aptransaction/invoicePosting', '0.043718099594116', '2015-05-14 11:35:14'),
(3430, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''126''', 'Gltransaction/journalPosting', '0.074489116668701', '2015-05-14 11:36:09'),
(3431, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000056''', 'Gltransaction/journalPosting', '0.032699108123779', '2015-05-14 11:36:09'),
(3432, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039089918136597', '2015-05-14 11:36:09'),
(3433, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064173936843872', '2015-05-14 11:36:09'),
(3434, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04200291633606', '2015-05-14 11:36:09'),
(3435, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053074836730957', '2015-05-14 11:36:09'),
(3436, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''60''', 'purchasetransaction/receiveItemPost', '0.053364038467407', '2015-05-14 11:36:32'),
(3437, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.033311128616333', '2015-05-14 11:36:32'),
(3438, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000057'' WHERE `ID` =  ''60''', 'purchasetransaction/receiveItemPost', '0.032788038253784', '2015-05-14 11:36:32'),
(3439, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000057'', ''GRN20150514[00000057]'', '' [ GRN20150514[00000057] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.081310987472534', '2015-05-14 11:36:32'),
(3440, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''58'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040891885757446', '2015-05-14 11:36:32'),
(3441, 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'', ''PO20150100000057'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''1'', ''GRN20150514[00000057]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.1115300655365', '2015-05-14 11:36:32'),
(3442, 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, ''PO20150100000057'', ''[ALZA]PERODUA ALZA'', ''21'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''GRN20150514[00000060]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043405055999756', '2015-05-14 11:36:32'),
(3443, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49560.58, `total_amount_cr` = 49560.58, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000057''', 'purchasetransaction/receiveItemPost', '0.065885066986084', '2015-05-14 11:36:32'),
(3444, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''127''', 'Gltransaction/journalPosting', '0.062756061553955', '2015-05-14 11:37:07'),
(3445, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000057''', 'Gltransaction/journalPosting', '0.034533023834229', '2015-05-14 11:37:07'),
(3446, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.072566986083984', '2015-05-14 11:37:07'),
(3447, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029779195785522', '2015-05-14 11:37:07'),
(3448, 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'', ''PI20150514'', ''2015-04-15'', ''IV02114311'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10413694381714', '2015-05-14 11:39:12'),
(3449, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (60, ''2'', ''59'', ''1'', ''PM2B200S003061734'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.054891109466553', '2015-05-14 11:39:12'),
(3450, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  60', 'aptransaction/savePurchaseRow', '0.065739154815674', '2015-05-14 11:39:12'),
(3451, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =60', 'aptransaction/savePurchaseRow', '0.034433126449585', '2015-05-14 11:39:12'),
(3452, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''60'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.10168981552124', '2015-05-14 11:39:37'),
(3453, 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'', ''GRN20150514'', ''2015-04-15'', ''0'', ''IV02114311'', ''2'')', 'Aptransaction/invoicePosting', '0.092866897583008', '2015-05-14 11:39:37'),
(3454, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (61, ''60'', ''2'', ''59'', ''1'', -1, ''PM2B200S003061734'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.087973833084106', '2015-05-14 11:39:37'),
(3455, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 62 WHERE `ID` =  ''61''', 'Aptransaction/invoicePosting', '0.043906927108765', '2015-05-14 11:39:37'),
(3456, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 57 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.041827917098999', '2015-05-14 11:39:37'),
(3457, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000057'' WHERE `ID` =  ''60''', 'Aptransaction/invoicePosting', '0.043920993804932', '2015-05-14 11:39:37'),
(3458, 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'', ''AP20150100000057'', ''PI20150514[00000057]'', ''Purchase Invoice Confirm [ PI20150514[00000057] ]'', ''3'', ''2015-04-15'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.069998979568481', '2015-05-14 11:39:37'),
(3459, 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'', ''AP20150100000057'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000057]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.086491107940674', '2015-05-14 11:39:37'),
(3460, 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, ''AP20150100000057'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000057]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075499057769775', '2015-05-14 11:39:37'),
(3461, 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, ''AP20150100000057'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000057]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041307926177979', '2015-05-14 11:39:37'),
(3462, 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, ''AP20150100000057'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000057]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041862010955811', '2015-05-14 11:39:37'),
(3463, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000057''', 'Aptransaction/invoicePosting', '0.045372009277344', '2015-05-14 11:39:37'),
(3464, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''128''', 'Gltransaction/journalPosting', '0.067636966705322', '2015-05-14 11:40:35'),
(3465, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000057''', 'Gltransaction/journalPosting', '0.11018705368042', '2015-05-14 11:40:35'),
(3466, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.050689935684204', '2015-05-14 11:40:36'),
(3467, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028970003128052', '2015-05-14 11:40:36'),
(3468, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033074140548706', '2015-05-14 11:40:36'),
(3469, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028959989547729', '2015-05-14 11:40:36'),
(3470, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''61''', 'purchasetransaction/receiveItemPost', '0.078350067138672', '2015-05-14 11:40:57'),
(3471, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.067450046539307', '2015-05-14 11:40:57'),
(3472, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000058'' WHERE `ID` =  ''61''', 'purchasetransaction/receiveItemPost', '0.032738924026489', '2015-05-14 11:40:57'),
(3473, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000058'', ''GRN20150514[00000058]'', '' [ GRN20150514[00000058] ]'', ''8'', ''2015-04-15'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.056632995605469', '2015-05-14 11:40:57'),
(3474, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''59'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031306028366089', '2015-05-14 11:40:57'),
(3475, 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'', ''PO20150100000058'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000058]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054465055465698', '2015-05-14 11:40:57'),
(3476, 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, ''PO20150100000058'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000061]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06548285484314', '2015-05-14 11:40:57'),
(3477, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000058''', 'purchasetransaction/receiveItemPost', '0.032676935195923', '2015-05-14 11:40:57'),
(3478, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''129''', 'Gltransaction/journalPosting', '0.075622081756592', '2015-05-14 11:41:31'),
(3479, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000058''', 'Gltransaction/journalPosting', '0.064125061035156', '2015-05-14 11:41:31'),
(3480, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031575918197632', '2015-05-14 11:41:31'),
(3481, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029296159744263', '2015-05-14 11:41:31'),
(3482, 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'', ''PI20150514'', ''2015-04-03'', ''IV02099864'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12859511375427', '2015-05-14 11:44:11'),
(3483, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (61, ''2'', ''60'', ''1'', ''PM2B200S003057295'', ''1'', ''16'', ''28104.98'', ''28104.98'', ''15'', ''6'', ''1686.3'', ''29791.28'')', 'aptransaction/savePurchaseRow', '0.054646968841553', '2015-05-14 11:44:11'),
(3484, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1686.3'', `totalAmount` = ''29791.28'' WHERE `ID` =  61', 'aptransaction/savePurchaseRow', '0.034298896789551', '2015-05-14 11:44:11'),
(3485, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =61', 'aptransaction/savePurchaseRow', '0.03314208984375', '2015-05-14 11:44:11'),
(3486, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''61'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.04767107963562', '2015-05-14 11:44:27'),
(3487, 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'', ''GRN20150514'', ''2015-04-03'', ''0'', ''IV02099864'', ''2'')', 'Aptransaction/invoicePosting', '0.094544887542725', '2015-05-14 11:44:28'),
(3488, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (62, ''61'', ''2'', ''60'', ''1'', -1, ''PM2B200S003057295'', ''1'', ''1'', ''1'', ''28104.98'', 28104.98)', 'Aptransaction/invoicePosting', '0.042144060134888', '2015-05-14 11:44:28'),
(3489, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 63 WHERE `ID` =  ''62''', 'Aptransaction/invoicePosting', '0.034368991851807', '2015-05-14 11:44:28'),
(3490, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 58 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.03439998626709', '2015-05-14 11:44:28'),
(3491, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000058'' WHERE `ID` =  ''61''', 'Aptransaction/invoicePosting', '0.043815851211548', '2015-05-14 11:44:28'),
(3492, 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'', ''AP20150100000058'', ''PI20150514[00000058]'', ''Purchase Invoice Confirm [ PI20150514[00000058] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 29791.28, 29791.28, ''2'')', 'Aptransaction/invoicePosting', '0.058876037597656', '2015-05-14 11:44:28'),
(3493, 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'', ''AP20150100000058'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000058]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.073542833328247', '2015-05-14 11:44:28'),
(3494, 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, ''AP20150100000058'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000058]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03334903717041', '2015-05-14 11:44:28'),
(3495, 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, ''AP20150100000058'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150514[00000058]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029314041137695', '2015-05-14 11:44:28'),
(3496, 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, ''AP20150100000058'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150514[00000058]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033407926559448', '2015-05-14 11:44:28'),
(3497, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 29791.28, `total_amount_cr` = 29791.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000058''', 'Aptransaction/invoicePosting', '0.032661914825439', '2015-05-14 11:44:28'),
(3498, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''130''', 'Gltransaction/journalPosting', '0.28678107261658', '2015-05-14 11:45:28'),
(3499, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000058''', 'Gltransaction/journalPosting', '0.046119213104248', '2015-05-14 11:45:28'),
(3500, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.084207057952881', '2015-05-14 11:45:28'),
(3501, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039805889129639', '2015-05-14 11:45:28'),
(3502, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032823085784912', '2015-05-14 11:45:28'),
(3503, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028998851776123', '2015-05-14 11:45:28'),
(3504, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''62''', 'purchasetransaction/receiveItemPost', '0.073933124542236', '2015-05-14 11:45:51'),
(3505, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027930974960327', '2015-05-14 11:45:51'),
(3506, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000059'' WHERE `ID` =  ''62''', 'purchasetransaction/receiveItemPost', '0.054356098175049', '2015-05-14 11:45:51'),
(3507, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000059'', ''GRN20150514[00000059]'', '' [ GRN20150514[00000059] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047981977462769', '2015-05-14 11:45:51'),
(3508, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''60'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031779050827026', '2015-05-14 11:45:51'),
(3509, 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'', ''PO20150100000059'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''GRN20150514[00000059]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032362937927246', '2015-05-14 11:45:51'),
(3510, 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, ''PO20150100000059'', ''[AXIA]PERODUA AXIA'', ''21'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''GRN20150514[00000062]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030113935470581', '2015-05-14 11:45:51'),
(3511, 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` =  ''PO20150100000059''', 'purchasetransaction/receiveItemPost', '0.045937061309814', '2015-05-14 11:45:51'),
(3512, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''131''', 'Gltransaction/journalPosting', '0.074639797210693', '2015-05-14 11:46:23'),
(3513, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000059''', 'Gltransaction/journalPosting', '0.077035903930664', '2015-05-14 11:46:23'),
(3514, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062132120132446', '2015-05-14 11:46:23'),
(3515, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.02832293510437', '2015-05-14 11:46:23'),
(3516, 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'', ''PI20150514'', ''2015-04-03'', ''IV02100499'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.09353494644165', '2015-05-14 11:48:53');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3517, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (62, ''2'', ''61'', ''1'', ''PM2M603S002123965'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.046236991882324', '2015-05-14 11:48:53'),
(3518, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  62', 'aptransaction/savePurchaseRow', '0.034558057785034', '2015-05-14 11:48:53'),
(3519, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =62', 'aptransaction/savePurchaseRow', '0.033071041107178', '2015-05-14 11:48:53'),
(3520, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''62'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.057673931121826', '2015-05-14 11:49:10'),
(3521, 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'', ''GRN20150514'', ''2015-04-03'', ''0'', ''IV02100499'', ''2'')', 'Aptransaction/invoicePosting', '0.062581062316895', '2015-05-14 11:49:10'),
(3522, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (63, ''62'', ''2'', ''61'', ''1'', -1, ''PM2M603S002123965'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.054754018783569', '2015-05-14 11:49:10'),
(3523, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 64 WHERE `ID` =  ''63''', 'Aptransaction/invoicePosting', '0.055042028427124', '2015-05-14 11:49:10'),
(3524, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 59 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.045737981796265', '2015-05-14 11:49:10'),
(3525, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000059'' WHERE `ID` =  ''62''', 'Aptransaction/invoicePosting', '0.030448913574219', '2015-05-14 11:49:10'),
(3526, 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'', ''AP20150100000059'', ''PI20150514[00000059]'', ''Purchase Invoice Confirm [ PI20150514[00000059] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.050220966339111', '2015-05-14 11:49:10'),
(3527, 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'', ''AP20150100000059'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000059]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053424119949341', '2015-05-14 11:49:10'),
(3528, 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, ''AP20150100000059'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000059]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042411088943481', '2015-05-14 11:49:10'),
(3529, 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, ''AP20150100000059'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000059]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.050151109695435', '2015-05-14 11:49:10'),
(3530, 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, ''AP20150100000059'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000059]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034672021865845', '2015-05-14 11:49:11'),
(3531, 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` =  ''AP20150100000059''', 'Aptransaction/invoicePosting', '0.030290126800537', '2015-05-14 11:49:11'),
(3532, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''132''', 'Gltransaction/journalPosting', '0.06612491607666', '2015-05-14 11:50:09'),
(3533, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000059''', 'Gltransaction/journalPosting', '0.076966047286987', '2015-05-14 11:50:09'),
(3534, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040448904037476', '2015-05-14 11:50:09'),
(3535, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039706945419312', '2015-05-14 11:50:09'),
(3536, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.044278144836426', '2015-05-14 11:50:09'),
(3537, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041866064071655', '2015-05-14 11:50:09'),
(3538, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''63''', 'purchasetransaction/receiveItemPost', '0.034682989120483', '2015-05-14 11:50:34'),
(3539, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.034844160079956', '2015-05-14 11:50:34'),
(3540, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000060'' WHERE `ID` =  ''63''', 'purchasetransaction/receiveItemPost', '0.032747983932495', '2015-05-14 11:50:34'),
(3541, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000060'', ''GRN20150514[00000060]'', '' [ GRN20150514[00000060] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05861496925354', '2015-05-14 11:50:34'),
(3542, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''61'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032625913619995', '2015-05-14 11:50:34'),
(3543, 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'', ''PO20150100000060'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150514[00000060]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.076581001281738', '2015-05-14 11:50:34'),
(3544, 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, ''PO20150100000060'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150514[00000063]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054476976394653', '2015-05-14 11:50:35'),
(3545, 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` =  ''PO20150100000060''', 'purchasetransaction/receiveItemPost', '0.043678998947144', '2015-05-14 11:50:35'),
(3546, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''133''', 'Gltransaction/journalPosting', '0.043471097946167', '2015-05-14 11:51:18'),
(3547, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000060''', 'Gltransaction/journalPosting', '0.035591840744019', '2015-05-14 11:51:18'),
(3548, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040340900421143', '2015-05-14 11:51:18'),
(3549, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064146995544434', '2015-05-14 11:51:18'),
(3550, 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'', ''PI20150514'', ''2015-04-10'', ''IV02108735'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14053416252136', '2015-05-14 13:23:37'),
(3551, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (63, ''2'', ''62'', ''1'', ''PM2M603S002123889'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.046597957611084', '2015-05-14 13:23:37'),
(3552, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  63', 'aptransaction/savePurchaseRow', '0.039841890335083', '2015-05-14 13:23:37'),
(3553, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =63', 'aptransaction/savePurchaseRow', '0.066197156906128', '2015-05-14 13:23:37'),
(3554, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''63'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036601066589355', '2015-05-14 13:24:01'),
(3555, 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'', ''GRN20150514'', ''2015-04-10'', ''0'', ''IV02108735'', ''2'')', 'Aptransaction/invoicePosting', '0.092138051986694', '2015-05-14 13:24:01'),
(3556, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (64, ''63'', ''2'', ''62'', ''1'', -1, ''PM2M603S002123889'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.054800033569336', '2015-05-14 13:24:01'),
(3557, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 65 WHERE `ID` =  ''64''', 'Aptransaction/invoicePosting', '0.030094861984253', '2015-05-14 13:24:01'),
(3558, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 60 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.034494161605835', '2015-05-14 13:24:01'),
(3559, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000060'' WHERE `ID` =  ''63''', 'Aptransaction/invoicePosting', '0.030030965805054', '2015-05-14 13:24:01'),
(3560, 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'', ''AP20150100000060'', ''PI20150514[00000060]'', ''Purchase Invoice Confirm [ PI20150514[00000060] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.062626838684082', '2015-05-14 13:24:01'),
(3561, 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'', ''AP20150100000060'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000060]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064450025558472', '2015-05-14 13:24:01'),
(3562, 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, ''AP20150100000060'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000060]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029116153717041', '2015-05-14 13:24:01'),
(3563, 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, ''AP20150100000060'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000060]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033387899398804', '2015-05-14 13:24:01'),
(3564, 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, ''AP20150100000060'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000060]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029133081436157', '2015-05-14 13:24:01'),
(3565, 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` =  ''AP20150100000060''', 'Aptransaction/invoicePosting', '0.034825086593628', '2015-05-14 13:24:01'),
(3566, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''134''', 'Gltransaction/journalPosting', '0.30087685585022', '2015-05-14 13:25:16'),
(3567, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000060''', 'Gltransaction/journalPosting', '0.074373006820679', '2015-05-14 13:25:16'),
(3568, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062057018280029', '2015-05-14 13:25:16'),
(3569, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053192138671875', '2015-05-14 13:25:16'),
(3570, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027923107147217', '2015-05-14 13:25:16'),
(3571, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04529881477356', '2015-05-14 13:25:16'),
(3572, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''64''', 'purchasetransaction/receiveItemPost', '0.069257020950317', '2015-05-14 13:25:55'),
(3573, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.032450914382935', '2015-05-14 13:25:55'),
(3574, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000061'' WHERE `ID` =  ''64''', 'purchasetransaction/receiveItemPost', '0.043822050094604', '2015-05-14 13:25:55'),
(3575, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000061'', ''GRN20150514[00000061]'', '' [ GRN20150514[00000061] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047643899917603', '2015-05-14 13:25:55'),
(3576, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''62'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036026000976562', '2015-05-14 13:25:55'),
(3577, 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'', ''PO20150100000061'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150514[00000061]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029680967330933', '2015-05-14 13:25:55'),
(3578, 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, ''PO20150100000061'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150514[00000064]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034965991973877', '2015-05-14 13:25:55'),
(3579, 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` =  ''PO20150100000061''', 'purchasetransaction/receiveItemPost', '0.043764114379883', '2015-05-14 13:25:55'),
(3580, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''135''', 'Gltransaction/journalPosting', '0.33432006835938', '2015-05-14 13:26:47'),
(3581, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000061''', 'Gltransaction/journalPosting', '0.040489912033081', '2015-05-14 13:26:47'),
(3582, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.099459886550903', '2015-05-14 13:26:47'),
(3583, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.071887016296387', '2015-05-14 13:26:47'),
(3584, 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'', ''PI20150514'', ''2015-04-03'', ''IV02099849'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11046409606934', '2015-05-14 13:28:37'),
(3585, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (64, ''2'', ''63'', ''1'', ''PM2B200S003057161'', ''1'', ''16'', ''28104.98'', ''28104.98'', ''15'', ''6'', ''1686.3'', ''29791.28'')', 'aptransaction/savePurchaseRow', '0.076486110687256', '2015-05-14 13:28:37'),
(3586, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1686.3'', `totalAmount` = ''29791.28'' WHERE `ID` =  64', 'aptransaction/savePurchaseRow', '0.039563894271851', '2015-05-14 13:28:37'),
(3587, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =64', 'aptransaction/savePurchaseRow', '0.030273914337158', '2015-05-14 13:28:37'),
(3588, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''64'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.046173095703125', '2015-05-14 13:28:56'),
(3589, 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'', ''GRN20150514'', ''2015-04-03'', ''0'', ''IV02099849'', ''2'')', 'Aptransaction/invoicePosting', '0.070656061172485', '2015-05-14 13:28:56'),
(3590, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (65, ''64'', ''2'', ''63'', ''1'', -1, ''PM2B200S003057161'', ''1'', ''1'', ''1'', ''28104.98'', 28104.98)', 'Aptransaction/invoicePosting', '0.11014795303345', '2015-05-14 13:28:56'),
(3591, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 66 WHERE `ID` =  ''65''', 'Aptransaction/invoicePosting', '0.043880939483643', '2015-05-14 13:28:56'),
(3592, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 61 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.035390853881836', '2015-05-14 13:28:56'),
(3593, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000061'' WHERE `ID` =  ''64''', 'Aptransaction/invoicePosting', '0.052515983581543', '2015-05-14 13:28:56'),
(3594, 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'', ''AP20150100000061'', ''PI20150514[00000061]'', ''Purchase Invoice Confirm [ PI20150514[00000061] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 29791.28, 29791.28, ''2'')', 'Aptransaction/invoicePosting', '0.050331830978394', '2015-05-14 13:28:57'),
(3595, 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'', ''AP20150100000061'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000061]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064335107803345', '2015-05-14 13:28:57'),
(3596, 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, ''AP20150100000061'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000061]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.039460897445679', '2015-05-14 13:28:57'),
(3597, 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, ''AP20150100000061'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150514[00000061]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03429102897644', '2015-05-14 13:28:57'),
(3598, 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, ''AP20150100000061'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150514[00000061]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028425931930542', '2015-05-14 13:28:57'),
(3599, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 29791.28, `total_amount_cr` = 29791.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000061''', 'Aptransaction/invoicePosting', '0.035585880279541', '2015-05-14 13:28:57'),
(3600, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''136''', 'Gltransaction/journalPosting', '0.086138963699341', '2015-05-14 13:30:01'),
(3601, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000061''', 'Gltransaction/journalPosting', '0.054849863052368', '2015-05-14 13:30:01'),
(3602, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063138961791992', '2015-05-14 13:30:01'),
(3603, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027626991271973', '2015-05-14 13:30:01'),
(3604, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03436803817749', '2015-05-14 13:30:01'),
(3605, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027730941772461', '2015-05-14 13:30:01'),
(3606, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''65''', 'purchasetransaction/receiveItemPost', '0.064110040664673', '2015-05-14 13:30:30'),
(3607, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.041347980499268', '2015-05-14 13:30:30'),
(3608, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000062'' WHERE `ID` =  ''65''', 'purchasetransaction/receiveItemPost', '0.043371915817261', '2015-05-14 13:30:30'),
(3609, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000062'', ''GRN20150514[00000062]'', '' [ GRN20150514[00000062] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051553010940552', '2015-05-14 13:30:30'),
(3610, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''63'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036413908004761', '2015-05-14 13:30:30'),
(3611, 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'', ''PO20150100000062'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''GRN20150514[00000062]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029325008392334', '2015-05-14 13:30:30'),
(3612, 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, ''PO20150100000062'', ''[AXIA]PERODUA AXIA'', ''21'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''GRN20150514[00000065]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035377025604248', '2015-05-14 13:30:30'),
(3613, 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` =  ''PO20150100000062''', 'purchasetransaction/receiveItemPost', '0.054790019989014', '2015-05-14 13:30:30'),
(3614, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''137''', 'Gltransaction/journalPosting', '0.069342136383057', '2015-05-14 13:31:07'),
(3615, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000062''', 'Gltransaction/journalPosting', '0.054841041564941', '2015-05-14 13:31:07'),
(3616, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.084497928619385', '2015-05-14 13:31:07'),
(3617, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.049478054046631', '2015-05-14 13:31:07'),
(3618, 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'', ''PI20150514'', ''2015-04-10'', ''IV02108107'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10272598266602', '2015-05-14 13:33:15'),
(3619, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (65, ''2'', ''64'', ''1'', ''PM2B200S003059399'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.046741962432861', '2015-05-14 13:33:15'),
(3620, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  65', 'aptransaction/savePurchaseRow', '0.039196014404297', '2015-05-14 13:33:15'),
(3621, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =65', 'aptransaction/savePurchaseRow', '0.029991149902344', '2015-05-14 13:33:15'),
(3622, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''65'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.031171083450317', '2015-05-14 13:33:35'),
(3623, 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'', ''GRN20150514'', ''2015-04-10'', ''0'', ''IV02108107'', ''2'')', 'Aptransaction/invoicePosting', '0.049165010452271', '2015-05-14 13:33:35'),
(3624, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (66, ''65'', ''2'', ''64'', ''1'', -1, ''PM2B200S003059399'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.046589136123657', '2015-05-14 13:33:35'),
(3625, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 67 WHERE `ID` =  ''66''', 'Aptransaction/invoicePosting', '0.036416053771973', '2015-05-14 13:33:35'),
(3626, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 62 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.035138130187988', '2015-05-14 13:33:35'),
(3627, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000062'' WHERE `ID` =  ''65''', 'Aptransaction/invoicePosting', '0.065978050231934', '2015-05-14 13:33:35'),
(3628, 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'', ''AP20150100000062'', ''PI20150514[00000062]'', ''Purchase Invoice Confirm [ PI20150514[00000062] ]'', ''3'', ''2015-04-10'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.058902025222778', '2015-05-14 13:33:35'),
(3629, 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'', ''AP20150100000062'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000062]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.082159042358398', '2015-05-14 13:33:35'),
(3630, 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, ''AP20150100000062'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000062]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035745859146118', '2015-05-14 13:33:35'),
(3631, 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, ''AP20150100000062'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000062]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028429985046387', '2015-05-14 13:33:35'),
(3632, 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, ''AP20150100000062'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000062]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034178972244263', '2015-05-14 13:33:35'),
(3633, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000062''', 'Aptransaction/invoicePosting', '0.040873050689697', '2015-05-14 13:33:35'),
(3634, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''138''', 'Gltransaction/journalPosting', '0.072011947631836', '2015-05-14 13:34:40'),
(3635, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000062''', 'Gltransaction/journalPosting', '0.044220924377441', '2015-05-14 13:34:40'),
(3636, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.039830923080444', '2015-05-14 13:34:40'),
(3637, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042520999908447', '2015-05-14 13:34:40'),
(3638, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034280061721802', '2015-05-14 13:34:40'),
(3639, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027615070343018', '2015-05-14 13:34:40'),
(3640, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''66''', 'purchasetransaction/receiveItemPost', '0.03572416305542', '2015-05-14 13:35:15'),
(3641, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035889863967896', '2015-05-14 13:35:15'),
(3642, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000063'' WHERE `ID` =  ''66''', 'purchasetransaction/receiveItemPost', '0.029413223266602', '2015-05-14 13:35:15'),
(3643, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000063'', ''GRN20150514[00000063]'', '' [ GRN20150514[00000063] ]'', ''8'', ''2015-04-10'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058490991592407', '2015-05-14 13:35:15'),
(3644, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''64'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.03595495223999', '2015-05-14 13:35:15'),
(3645, 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'', ''PO20150100000063'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000063]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05447793006897', '2015-05-14 13:35:15'),
(3646, 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, ''PO20150100000063'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000066]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.051146984100342', '2015-05-14 13:35:15');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3647, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000063''', 'purchasetransaction/receiveItemPost', '0.035926103591919', '2015-05-14 13:35:15'),
(3648, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''139''', 'Gltransaction/journalPosting', '0.081606149673462', '2015-05-14 13:35:41'),
(3649, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000063''', 'Gltransaction/journalPosting', '0.047683954238892', '2015-05-14 13:35:41'),
(3650, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041470050811768', '2015-05-14 13:35:41'),
(3651, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027618169784546', '2015-05-14 13:35:41'),
(3652, 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'', ''PI20150514'', ''2015-04-11'', ''IV02109051'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11318397521973', '2015-05-14 13:41:17'),
(3653, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (66, ''2'', ''65'', ''1'', ''PM2B200S003059861'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.065762042999268', '2015-05-14 13:41:17'),
(3654, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  66', 'aptransaction/savePurchaseRow', '0.071877002716064', '2015-05-14 13:41:17'),
(3655, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =66', 'aptransaction/savePurchaseRow', '0.051964998245239', '2015-05-14 13:41:17'),
(3656, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''66'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.027185201644897', '2015-05-14 13:41:34'),
(3657, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02109051'', ''2'')', 'Aptransaction/invoicePosting', '0.084848880767822', '2015-05-14 13:41:34'),
(3658, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (67, ''66'', ''2'', ''65'', ''1'', -1, ''PM2B200S003059861'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.065865993499756', '2015-05-14 13:41:34'),
(3659, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 68 WHERE `ID` =  ''67''', 'Aptransaction/invoicePosting', '0.029215097427368', '2015-05-14 13:41:34'),
(3660, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 63 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.035491943359375', '2015-05-14 13:41:34'),
(3661, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000063'' WHERE `ID` =  ''66''', 'Aptransaction/invoicePosting', '0.029218912124634', '2015-05-14 13:41:34'),
(3662, 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'', ''AP20150100000063'', ''PI20150514[00000063]'', ''Purchase Invoice Confirm [ PI20150514[00000063] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.051430940628052', '2015-05-14 13:41:34'),
(3663, 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'', ''AP20150100000063'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000063]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064502000808716', '2015-05-14 13:41:34'),
(3664, 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, ''AP20150100000063'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000063]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02804708480835', '2015-05-14 13:41:34'),
(3665, 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, ''AP20150100000063'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000063]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034577131271362', '2015-05-14 13:41:34'),
(3666, 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, ''AP20150100000063'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000063]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028158187866211', '2015-05-14 13:41:34'),
(3667, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000063''', 'Aptransaction/invoicePosting', '0.035858869552612', '2015-05-14 13:41:34'),
(3668, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''140''', 'Gltransaction/journalPosting', '0.093464851379395', '2015-05-14 13:42:34'),
(3669, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000063''', 'Gltransaction/journalPosting', '0.054838180541992', '2015-05-14 13:42:34'),
(3670, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.096297979354858', '2015-05-14 13:42:34'),
(3671, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064179182052612', '2015-05-14 13:42:34'),
(3672, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027326107025146', '2015-05-14 13:42:34'),
(3673, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052776098251343', '2015-05-14 13:42:34'),
(3674, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''67''', 'purchasetransaction/receiveItemPost', '0.073307037353516', '2015-05-14 13:42:59'),
(3675, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051274061203003', '2015-05-14 13:42:59'),
(3676, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000064'' WHERE `ID` =  ''67''', 'purchasetransaction/receiveItemPost', '0.029007911682129', '2015-05-14 13:42:59'),
(3677, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000064'', ''GRN20150514[00000064]'', '' [ GRN20150514[00000064] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036371946334839', '2015-05-14 13:42:59'),
(3678, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''65'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.036432027816772', '2015-05-14 13:42:59'),
(3679, 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'', ''PO20150100000064'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000064]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028105974197388', '2015-05-14 13:42:59'),
(3680, 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, ''PO20150100000064'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000067]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036489963531494', '2015-05-14 13:42:59'),
(3681, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000064''', 'purchasetransaction/receiveItemPost', '0.054848909378052', '2015-05-14 13:42:59'),
(3682, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''141''', 'Gltransaction/journalPosting', '0.082746028900146', '2015-05-14 13:44:01'),
(3683, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000064''', 'Gltransaction/journalPosting', '0.028352975845337', '2015-05-14 13:44:01'),
(3684, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056271076202393', '2015-05-14 13:44:01'),
(3685, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048836946487427', '2015-05-14 13:44:01'),
(3686, 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'', ''PI20150514'', ''2015-04-11'', ''IV02111792'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.04947304725647', '2015-05-14 13:45:58'),
(3687, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (67, ''2'', ''66'', ''1'', ''PM2M603S002122601'', ''1'', ''16'', ''51084.1'', ''51084.1'', ''15'', ''6'', ''3065.05'', ''54149.15'')', 'aptransaction/savePurchaseRow', '0.04741907119751', '2015-05-14 13:45:58'),
(3688, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3065.05'', `totalAmount` = ''54149.15'' WHERE `ID` =  67', 'aptransaction/savePurchaseRow', '0.039560794830322', '2015-05-14 13:45:58'),
(3689, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =67', 'aptransaction/savePurchaseRow', '0.028706073760986', '2015-05-14 13:45:58'),
(3690, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''67'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.045886993408203', '2015-05-14 13:46:14'),
(3691, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02111792'', ''2'')', 'Aptransaction/invoicePosting', '0.063323020935059', '2015-05-14 13:46:14'),
(3692, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (68, ''67'', ''2'', ''66'', ''1'', -1, ''PM2M603S002122601'', ''1'', ''1'', ''1'', ''51084.1'', 51084.1)', 'Aptransaction/invoicePosting', '0.065853118896484', '2015-05-14 13:46:14'),
(3693, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 69 WHERE `ID` =  ''68''', 'Aptransaction/invoicePosting', '0.029262781143188', '2015-05-14 13:46:14'),
(3694, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 64 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.035929918289185', '2015-05-14 13:46:14'),
(3695, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000064'' WHERE `ID` =  ''67''', 'Aptransaction/invoicePosting', '0.040292978286743', '2015-05-14 13:46:15'),
(3696, 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'', ''AP20150100000064'', ''PI20150514[00000064]'', ''Purchase Invoice Confirm [ PI20150514[00000064] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 54149.15, 54149.15, ''2'')', 'Aptransaction/invoicePosting', '0.050981044769287', '2015-05-14 13:46:15'),
(3697, 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'', ''AP20150100000064'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150514[00000064]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064526081085205', '2015-05-14 13:46:15'),
(3698, 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, ''AP20150100000064'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150514[00000064]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042378902435303', '2015-05-14 13:46:15'),
(3699, 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, ''AP20150100000064'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150514[00000064]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027806997299194', '2015-05-14 13:46:15'),
(3700, 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, ''AP20150100000064'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150514[00000064]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034956216812134', '2015-05-14 13:46:15'),
(3701, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54149.15, `total_amount_cr` = 54149.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000064''', 'Aptransaction/invoicePosting', '0.040192842483521', '2015-05-14 13:46:15'),
(3702, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''142''', 'Gltransaction/journalPosting', '0.089648008346558', '2015-05-14 13:47:14'),
(3703, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000064''', 'Gltransaction/journalPosting', '0.054809093475342', '2015-05-14 13:47:14'),
(3704, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048470973968506', '2015-05-14 13:47:14'),
(3705, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05762791633606', '2015-05-14 13:47:14'),
(3706, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053027153015137', '2015-05-14 13:47:14'),
(3707, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037997961044312', '2015-05-14 13:47:14'),
(3708, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''68''', 'purchasetransaction/receiveItemPost', '0.076807022094727', '2015-05-14 13:47:42'),
(3709, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.055608987808228', '2015-05-14 13:47:42'),
(3710, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000065'' WHERE `ID` =  ''68''', 'purchasetransaction/receiveItemPost', '0.039818048477173', '2015-05-14 13:47:42'),
(3711, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000065'', ''GRN20150514[00000065]'', '' [ GRN20150514[00000065] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047379016876221', '2015-05-14 13:47:42'),
(3712, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''66'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.05965781211853', '2015-05-14 13:47:42'),
(3713, 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'', ''PO20150100000065'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''GRN20150514[00000065]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.049992799758911', '2015-05-14 13:47:42'),
(3714, 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, ''PO20150100000065'', ''[MYVI]PERODUA MYVI'', ''21'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''GRN20150514[00000068]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043876886367798', '2015-05-14 13:47:42'),
(3715, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51084.1, `total_amount_cr` = 51084.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000065''', 'purchasetransaction/receiveItemPost', '0.12518405914307', '2015-05-14 13:47:42'),
(3716, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''143''', 'Gltransaction/journalPosting', '0.085206985473633', '2015-05-14 13:48:19'),
(3717, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000065''', 'Gltransaction/journalPosting', '0.11028814315796', '2015-05-14 13:48:19'),
(3718, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.085684776306152', '2015-05-14 13:48:19'),
(3719, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053128004074097', '2015-05-14 13:48:19'),
(3720, 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'', ''PI20150514'', ''2015-04-08'', ''IV02105876'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10762786865234', '2015-05-14 13:50:35'),
(3721, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (68, ''2'', ''67'', ''1'', ''PM2M603S002116000'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.065618991851807', '2015-05-14 13:50:35'),
(3722, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  68', 'aptransaction/savePurchaseRow', '0.094789028167725', '2015-05-14 13:50:35'),
(3723, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =68', 'aptransaction/savePurchaseRow', '0.061506986618042', '2015-05-14 13:50:35'),
(3724, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''68'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.19659209251404', '2015-05-14 13:50:56'),
(3725, 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'', ''GRN20150514'', ''2015-04-08'', ''0'', ''IV02105876'', ''2'')', 'Aptransaction/invoicePosting', '0.077520847320557', '2015-05-14 13:50:56'),
(3726, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (69, ''68'', ''2'', ''67'', ''1'', -1, ''PM2M603S002116000'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.10568785667419', '2015-05-14 13:50:56'),
(3727, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 70 WHERE `ID` =  ''69''', 'Aptransaction/invoicePosting', '0.037374973297119', '2015-05-14 13:50:56'),
(3728, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 65 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.047904014587402', '2015-05-14 13:50:56'),
(3729, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000065'' WHERE `ID` =  ''68''', 'Aptransaction/invoicePosting', '0.039837837219238', '2015-05-14 13:50:56'),
(3730, 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'', ''AP20150100000065'', ''PI20150514[00000065]'', ''Purchase Invoice Confirm [ PI20150514[00000065] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.040418148040771', '2015-05-14 13:50:56'),
(3731, 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'', ''AP20150100000065'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000065]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053244113922119', '2015-05-14 13:50:56'),
(3732, 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, ''AP20150100000065'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150514[00000065]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02690601348877', '2015-05-14 13:50:56'),
(3733, 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, ''AP20150100000065'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000065]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035751819610596', '2015-05-14 13:50:56'),
(3734, 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, ''AP20150100000065'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150514[00000065]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026856899261475', '2015-05-14 13:50:56'),
(3735, 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` =  ''AP20150100000065''', 'Aptransaction/invoicePosting', '0.055393934249878', '2015-05-14 13:50:56'),
(3736, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''144''', 'Gltransaction/journalPosting', '0.3017098903656', '2015-05-14 13:52:00'),
(3737, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000065''', 'Gltransaction/journalPosting', '0.065876960754395', '2015-05-14 13:52:00'),
(3738, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042382001876831', '2015-05-14 13:52:00'),
(3739, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026205062866211', '2015-05-14 13:52:00'),
(3740, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035929918289185', '2015-05-14 13:52:00'),
(3741, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026124000549316', '2015-05-14 13:52:00'),
(3742, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''69''', 'purchasetransaction/receiveItemPost', '0.037094116210938', '2015-05-14 13:52:51'),
(3743, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.037117004394531', '2015-05-14 13:52:51'),
(3744, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000066'' WHERE `ID` =  ''69''', 'purchasetransaction/receiveItemPost', '0.028305053710938', '2015-05-14 13:52:51'),
(3745, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000066'', ''GRN20150514[00000066]'', '' [ GRN20150514[00000066] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.074755907058716', '2015-05-14 13:52:51'),
(3746, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''67'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.03716516494751', '2015-05-14 13:52:51'),
(3747, 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'', ''PO20150100000066'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150514[00000066]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054455995559692', '2015-05-14 13:52:52'),
(3748, 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, ''PO20150100000066'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150514[00000069]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05981183052063', '2015-05-14 13:52:52'),
(3749, 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` =  ''PO20150100000066''', 'purchasetransaction/receiveItemPost', '0.038356065750122', '2015-05-14 13:52:52'),
(3750, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''145''', 'Gltransaction/journalPosting', '0.073682069778442', '2015-05-14 13:53:24'),
(3751, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000066''', 'Gltransaction/journalPosting', '0.05436110496521', '2015-05-14 13:53:24'),
(3752, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041368961334229', '2015-05-14 13:53:24'),
(3753, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035610914230347', '2015-05-14 13:53:24'),
(3754, 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'', ''PI20150514'', ''2015-04-11'', ''IV02111856'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10096502304077', '2015-05-14 13:55:19'),
(3755, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (69, ''2'', ''68'', ''1'', ''PM2M603S002122944'', ''1'', ''16'', ''51084.1'', ''51084.1'', ''15'', ''6'', ''3065.05'', ''54149.15'')', 'aptransaction/savePurchaseRow', '0.065790891647339', '2015-05-14 13:55:19'),
(3756, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3065.05'', `totalAmount` = ''54149.15'' WHERE `ID` =  69', 'aptransaction/savePurchaseRow', '0.045310974121094', '2015-05-14 13:55:19'),
(3757, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =69', 'aptransaction/savePurchaseRow', '0.037832975387573', '2015-05-14 13:55:19'),
(3758, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''69'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.037742137908936', '2015-05-14 13:55:39'),
(3759, 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'', ''GRN20150514'', ''2015-04-11'', ''0'', ''IV02111856'', ''2'')', 'Aptransaction/invoicePosting', '0.070091009140015', '2015-05-14 13:55:39'),
(3760, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (70, ''69'', ''2'', ''68'', ''1'', -1, ''PM2M603S002122944'', ''1'', ''1'', ''1'', ''51084.1'', 51084.1)', 'Aptransaction/invoicePosting', '0.065828084945679', '2015-05-14 13:55:39'),
(3761, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 71 WHERE `ID` =  ''70''', 'Aptransaction/invoicePosting', '0.14880704879761', '2015-05-14 13:55:39'),
(3762, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 66 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.050189018249512', '2015-05-14 13:55:40'),
(3763, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000066'' WHERE `ID` =  ''69''', 'Aptransaction/invoicePosting', '0.037113904953003', '2015-05-14 13:55:40'),
(3764, 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'', ''AP20150100000066'', ''PI20150514[00000066]'', ''Purchase Invoice Confirm [ PI20150514[00000066] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 54149.15, 54149.15, ''2'')', 'Aptransaction/invoicePosting', '0.069911003112793', '2015-05-14 13:55:40'),
(3765, 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'', ''AP20150100000066'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150514[00000066]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064429044723511', '2015-05-14 13:55:40'),
(3766, 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, ''AP20150100000066'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''PI20150514[00000066]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02683687210083', '2015-05-14 13:55:40'),
(3767, 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, ''AP20150100000066'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150514[00000066]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035768032073975', '2015-05-14 13:55:40'),
(3768, 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, ''AP20150100000066'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 3065.05, ''1'', ''1'', ''3065.05'', ''1'', ''2015'', ''1'', ''PI20150514[00000066]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026798009872437', '2015-05-14 13:55:40'),
(3769, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54149.15, `total_amount_cr` = 54149.15, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000066''', 'Aptransaction/invoicePosting', '0.03705906867981', '2015-05-14 13:55:40'),
(3770, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''146''', 'Gltransaction/journalPosting', '0.080343961715698', '2015-05-14 13:56:34'),
(3771, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000066''', 'Gltransaction/journalPosting', '0.092844009399414', '2015-05-14 13:56:34'),
(3772, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053822994232178', '2015-05-14 13:56:34'),
(3773, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048411846160889', '2015-05-14 13:56:34'),
(3774, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.046838045120239', '2015-05-14 13:56:34');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3775, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026314973831177', '2015-05-14 13:56:34'),
(3776, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''70''', 'purchasetransaction/receiveItemPost', '0.063651084899902', '2015-05-14 13:57:01'),
(3777, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.041098833084106', '2015-05-14 13:57:01'),
(3778, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000067'' WHERE `ID` =  ''70''', 'purchasetransaction/receiveItemPost', '0.048537969589233', '2015-05-14 13:57:01'),
(3779, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000067'', ''GRN20150514[00000067]'', '' [ GRN20150514[00000067] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036630153656006', '2015-05-14 13:57:02'),
(3780, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''68'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.055035829544067', '2015-05-14 13:57:02'),
(3781, 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'', ''PO20150100000067'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''1'', ''GRN20150514[00000067]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037569999694824', '2015-05-14 13:57:02'),
(3782, 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, ''PO20150100000067'', ''[MYVI]PERODUA MYVI'', ''21'', 51084.1, ''1'', ''1'', ''51084.1'', ''1'', ''2015'', ''GRN20150514[00000070]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.038156986236572', '2015-05-14 13:57:02'),
(3783, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51084.1, `total_amount_cr` = 51084.1, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000067''', 'purchasetransaction/receiveItemPost', '0.048974990844727', '2015-05-14 13:57:02'),
(3784, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''147''', 'Gltransaction/journalPosting', '0.081691980361938', '2015-05-14 13:58:51'),
(3785, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000067''', 'Gltransaction/journalPosting', '0.065932989120483', '2015-05-14 13:58:51'),
(3786, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053856134414673', '2015-05-14 13:58:51'),
(3787, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026079177856445', '2015-05-14 13:58:51'),
(3788, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3768'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002233768'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''2''', 'icsetting/itemSave', '0.051980972290039', '2015-05-16 13:57:15'),
(3789, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4478'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002244478'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''3''', 'icsetting/itemSave', '0.055176019668579', '2015-05-16 13:59:28'),
(3790, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4221'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002244221'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''5''', 'icsetting/itemSave', '0.067596912384033', '2015-05-16 14:05:15'),
(3791, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4221'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002244221'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''5''', 'icsetting/itemSave', '0.00087785720825195', '2015-05-16 14:05:38'),
(3792, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''8777'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002238777'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''7''', 'icsetting/itemSave', '0.057386875152588', '2015-05-16 14:06:08'),
(3793, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''ALZA'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002233365'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''17''', 'icsetting/itemSave', '0.00061988830566406', '2015-05-16 14:06:49'),
(3794, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3768'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002233768'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''2''', 'icsetting/itemSave', '0.00046110153198242', '2015-05-16 14:07:06'),
(3795, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3365'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002233365'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''17''', 'icsetting/itemSave', '0.028677940368652', '2015-05-16 14:07:33'),
(3796, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0733'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002240733'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''18''', 'icsetting/itemSave', '0.04036808013916', '2015-05-16 14:08:00'),
(3797, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0118'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002240118'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''29''', 'icsetting/itemSave', '0.035467863082886', '2015-05-16 14:08:27'),
(3798, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''9756'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002239756'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''31''', 'icsetting/itemSave', '0.049093008041382', '2015-05-16 14:08:52'),
(3799, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3548'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002243548'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''32''', 'icsetting/itemSave', '0.039445877075195', '2015-05-16 14:09:19'),
(3800, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7903'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002237903'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''33''', 'icsetting/itemSave', '0.039319038391113', '2015-05-16 14:09:45'),
(3801, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1388'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002241388'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''41''', 'icsetting/itemSave', '0.023617029190063', '2015-05-16 14:10:36'),
(3802, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3161'', `name` = ''PERODUA ALZA'', `description` = ''PM2M502G002243161'', `itemCategoryID` = ''2'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''58''', 'icsetting/itemSave', '0.031929016113281', '2015-05-16 14:11:13'),
(3803, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4504'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002124504'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''4''', 'icsetting/itemSave', '0.029258012771606', '2015-05-16 14:11:56'),
(3804, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''8544'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002228544'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''6''', 'icsetting/itemSave', '0.036356925964355', '2015-05-16 14:12:30'),
(3805, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7972'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002227972'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''8''', 'icsetting/itemSave', '0.037387847900391', '2015-05-16 14:12:58'),
(3806, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''2680'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002222680'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''9''', 'icsetting/itemSave', '0.029571056365967', '2015-05-16 14:13:33'),
(3807, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3949'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002123949'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''12''', 'icsetting/itemSave', '0.035992860794067', '2015-05-16 14:14:00'),
(3808, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1793'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002221793'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''14''', 'icsetting/itemSave', '0.039674997329712', '2015-05-16 14:14:30'),
(3809, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4913'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002224913'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''15''', 'icsetting/itemSave', '0.030264139175415', '2015-05-16 14:14:55'),
(3810, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7434'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002227434'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''16''', 'icsetting/itemSave', '0.040220022201538', '2015-05-16 14:15:19'),
(3811, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''6176'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002226176'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''19''', 'icsetting/itemSave', '0.041502952575684', '2015-05-16 14:15:43'),
(3812, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''5470'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002125470'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''21''', 'icsetting/itemSave', '0.049560070037842', '2015-05-16 14:16:05'),
(3813, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4741'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002224741'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''23''', 'icsetting/itemSave', '0.061352014541626', '2015-05-16 14:16:29'),
(3814, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''8902'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002118902'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''24''', 'icsetting/itemSave', '0.026978015899658', '2015-05-16 14:16:56'),
(3815, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7262'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002227262'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''28''', 'icsetting/itemSave', '0.027527093887329', '2015-05-16 14:17:19'),
(3816, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0116'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002220116'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''30''', 'icsetting/itemSave', '0.029251098632812', '2015-05-16 14:17:42'),
(3817, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3434'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002223434'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''39''', 'icsetting/itemSave', '0.023442983627319', '2015-05-16 14:18:05'),
(3818, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4029'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002124029'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''40''', 'icsetting/itemSave', '0.030113220214844', '2015-05-16 14:18:28'),
(3819, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0984'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002220984'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''42''', 'icsetting/itemSave', '0.030209064483643', '2015-05-16 14:18:50'),
(3820, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4836'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002124836'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''43''', 'icsetting/itemSave', '0.022402048110962', '2015-05-16 14:19:12'),
(3821, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3932'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002223932'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''44''', 'icsetting/itemSave', '0.023051023483276', '2015-05-16 14:19:36'),
(3822, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1283'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002221283'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''46''', 'icsetting/itemSave', '0.053763151168823', '2015-05-16 14:20:00'),
(3823, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3701'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002123701'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''47''', 'icsetting/itemSave', '0.057943105697632', '2015-05-16 14:20:23'),
(3824, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4352'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002224352'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''48''', 'icsetting/itemSave', '0.026368856430054', '2015-05-16 14:20:48'),
(3825, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4437'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002224437'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''51''', 'icsetting/itemSave', '0.02271294593811', '2015-05-16 14:21:08'),
(3826, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''5215'', `name` = ''PERODUA MYVI'', `description` = ''PM2M602S002225215'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''55''', 'icsetting/itemSave', '0.026354074478149', '2015-05-16 14:21:32'),
(3827, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''8391'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002118391'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''57''', 'icsetting/itemSave', '0.038043022155762', '2015-05-16 14:21:56'),
(3828, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3965'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002123965'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''61''', 'icsetting/itemSave', '0.0376877784729', '2015-05-16 14:22:24'),
(3829, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3889'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002123889'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''62''', 'icsetting/itemSave', '0.029179096221924', '2015-05-16 14:22:47'),
(3830, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''2601'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002122601'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''66''', 'icsetting/itemSave', '0.023488998413086', '2015-05-16 14:23:08'),
(3831, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''6000'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002116000'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''67''', 'icsetting/itemSave', '0.053276777267456', '2015-05-16 14:23:34'),
(3832, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''2944'', `name` = ''PERODUA MYVI'', `description` = ''PM2M603S002122944'', `itemCategoryID` = ''4'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''68''', 'icsetting/itemSave', '0.024068117141724', '2015-05-16 14:23:58'),
(3833, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4661'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003064661'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''10''', 'icsetting/itemSave', '0.02399206161499', '2015-05-16 14:24:22'),
(3834, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''5820'', `name` = ''PERODUA AXIA'', `description` = ''PM2B2002003065820'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''11''', 'icsetting/itemSave', '0.055114030838013', '2015-05-16 14:24:48'),
(3835, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''6948'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003066948'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''13''', 'icsetting/itemSave', '0.026643991470337', '2015-05-16 14:25:10'),
(3836, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1468'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003061468'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''20''', 'icsetting/itemSave', '0.028598785400391', '2015-05-16 14:25:37'),
(3837, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4263'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003064263'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''22''', 'icsetting/itemSave', '0.025330066680908', '2015-05-16 14:25:57'),
(3838, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3290'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003063290'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''25''', 'icsetting/itemSave', '0.025785207748413', '2015-05-16 14:26:21'),
(3839, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3013'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003063013'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''26''', 'icsetting/itemSave', '0.038671016693115', '2015-05-16 14:33:32'),
(3840, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''4300'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003064300'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''27''', 'icsetting/itemSave', '0.029022932052612', '2015-05-16 14:33:56'),
(3841, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0816'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003060816'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''34''', 'icsetting/itemSave', '0.035188913345337', '2015-05-16 14:34:21'),
(3842, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3747'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003063747'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''35''', 'icsetting/itemSave', '0.057798147201538', '2015-05-16 14:34:44'),
(3843, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''3376'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003063376'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''36''', 'icsetting/itemSave', '0.025799036026001', '2015-05-16 14:35:07'),
(3844, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''2682'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003062682'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''37''', 'icsetting/itemSave', '0.026917934417725', '2015-05-16 14:35:30'),
(3845, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1884'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003061884'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''38''', 'icsetting/itemSave', '0.026286125183105', '2015-05-16 14:35:52'),
(3846, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''2003'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003062003'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''45''', 'icsetting/itemSave', '0.024802923202515', '2015-05-16 14:36:14'),
(3847, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''9105'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003059105'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''49''', 'icsetting/itemSave', '0.037019014358521', '2015-05-16 14:36:38'),
(3848, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0254'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003060254'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''50''', 'icsetting/itemSave', '0.028815031051636', '2015-05-16 14:37:00'),
(3849, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0508'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003060508'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''52''', 'icsetting/itemSave', '0.039875030517578', '2015-05-16 14:37:22'),
(3850, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7837'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003057837'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''53''', 'icsetting/itemSave', '0.037203788757324', '2015-05-16 14:37:46'),
(3851, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''0778'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003060778'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''54''', 'icsetting/itemSave', '0.023064136505127', '2015-05-16 14:38:07'),
(3852, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''8199'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003058199'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''56''', 'icsetting/itemSave', '0.035792827606201', '2015-05-16 14:38:28'),
(3853, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''1734'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003061734'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''59''', 'icsetting/itemSave', '0.024513959884644', '2015-05-16 14:38:49'),
(3854, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7295'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003057295'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''60''', 'icsetting/itemSave', '0.024900913238525', '2015-05-16 14:39:11'),
(3855, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''7161'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003057161'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''63''', 'icsetting/itemSave', '0.034479856491089', '2015-05-16 14:39:31'),
(3856, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''9399'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003059399'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''64''', 'icsetting/itemSave', '0.027936935424805', '2015-05-16 14:39:55'),
(3857, 2, 2, '::1', 'update', 'UPDATE `item` SET `companyID` = ''2'', `itemCode` = ''9861'', `name` = ''PERODUA AXIA'', `description` = ''PM2B200S003059861'', `itemCategoryID` = ''3'', `itemTypeID` = ''22'', `unitOfMeasureID` = ''16'', `editDescription` = 0, `itemStatusID` = ''1'', `reorderLevel` = ''0'', `incomeID` = ''59'', `cogsID` = ''76'', `inventoriesID` = ''21'', `inputTaxID` = ''15'', `outputTaxID` = ''2'', `supplierID` = 0 WHERE `ID` =  ''65''', 'icsetting/itemSave', '0.028892993927002', '2015-05-16 14:40:16'),
(3858, 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'', ''3046'', ''PERODUA MYVI'', ''PM2M602S002223046'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.054157972335815', '2015-05-16 14:56:20'),
(3859, 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'', ''PI20150516'', ''2015-04-03'', ''IV02100159'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.065812826156616', '2015-05-16 14:58:49'),
(3860, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (70, ''2'', ''69'', ''1'', ''PM2M602S002223046'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.08738112449646', '2015-05-16 14:58:49'),
(3861, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  70', 'aptransaction/savePurchaseRow', '0.055011987686157', '2015-05-16 14:58:49'),
(3862, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =70', 'aptransaction/savePurchaseRow', '0.027700185775757', '2015-05-16 14:58:49'),
(3863, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''70'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.039622068405151', '2015-05-16 14:59:09'),
(3864, 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'', ''GRN20150516'', ''2015-04-03'', ''0'', ''IV02100159'', ''2'')', 'Aptransaction/invoicePosting', '0.12066102027893', '2015-05-16 14:59:09'),
(3865, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (71, ''70'', ''2'', ''69'', ''1'', -1, ''PM2M602S002223046'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.076910018920898', '2015-05-16 14:59:09'),
(3866, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 72 WHERE `ID` =  ''71''', 'Aptransaction/invoicePosting', '0.059507131576538', '2015-05-16 14:59:09'),
(3867, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 67 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.026789903640747', '2015-05-16 14:59:09'),
(3868, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000067'' WHERE `ID` =  ''70''', 'Aptransaction/invoicePosting', '0.048319101333618', '2015-05-16 14:59:09'),
(3869, 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'', ''AP20150100000067'', ''PI20150516[00000067]'', ''Purchase Invoice Confirm [ PI20150516[00000067] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.081316232681274', '2015-05-16 14:59:09'),
(3870, 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'', ''AP20150100000067'', 1, ''[3046]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150516[00000067]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063999176025391', '2015-05-16 14:59:09'),
(3871, 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, ''AP20150100000067'', ''[3046]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150516[00000067]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026802062988281', '2015-05-16 14:59:09'),
(3872, 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, ''AP20150100000067'', ''[3046]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150516[00000067]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035865783691406', '2015-05-16 14:59:09'),
(3873, 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, ''AP20150100000067'', ''[3046]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150516[00000067]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026808977127075', '2015-05-16 14:59:09'),
(3874, 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` =  ''AP20150100000067''', 'Aptransaction/invoicePosting', '0.048281192779541', '2015-05-16 14:59:09'),
(3875, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''148''', 'Gltransaction/journalPosting', '0.076742887496948', '2015-05-16 15:01:47'),
(3876, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000067''', 'Gltransaction/journalPosting', '0.048527956008911', '2015-05-16 15:01:47'),
(3877, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.058910846710205', '2015-05-16 15:01:47'),
(3878, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026647090911865', '2015-05-16 15:01:47');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3879, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035207986831665', '2015-05-16 15:01:47'),
(3880, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.081964015960693', '2015-05-16 15:01:47'),
(3881, 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'', ''4073'', ''PERODUA MYVI'', ''PM2M602S002224073'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.044267177581787', '2015-05-16 15:08:45'),
(3882, 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'', ''PI20150516'', ''2015-04-03'', ''IV02100263'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.05829906463623', '2015-05-16 15:16:37'),
(3883, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (71, ''2'', ''70'', ''1'', ''PM2M602S002224073'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.054322004318237', '2015-05-16 15:16:37'),
(3884, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  71', 'aptransaction/savePurchaseRow', '0.029484987258911', '2015-05-16 15:16:37'),
(3885, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =71', 'aptransaction/savePurchaseRow', '0.037203073501587', '2015-05-16 15:16:37'),
(3886, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''71'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.060182094573975', '2015-05-16 15:17:57'),
(3887, 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'', ''GRN20150516'', ''2015-04-03'', ''0'', ''IV02100263'', ''2'')', 'Aptransaction/invoicePosting', '0.065631151199341', '2015-05-16 15:17:57'),
(3888, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (72, ''71'', ''2'', ''70'', ''1'', -1, ''PM2M602S002224073'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.054749965667725', '2015-05-16 15:17:57'),
(3889, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 73 WHERE `ID` =  ''72''', 'Aptransaction/invoicePosting', '0.048369169235229', '2015-05-16 15:17:57'),
(3890, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.054630994796753', '2015-05-16 15:17:57'),
(3891, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000068'' WHERE `ID` =  ''71''', 'Aptransaction/invoicePosting', '0.054855108261108', '2015-05-16 15:17:57'),
(3892, 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'', ''AP20150100000068'', ''PI20150516[00000068]'', ''Purchase Invoice Confirm [ PI20150516[00000068] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.058177947998047', '2015-05-16 15:17:57'),
(3893, 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'', ''AP20150100000068'', 1, ''[4073]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150516[00000068]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038308143615723', '2015-05-16 15:17:57'),
(3894, 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, ''AP20150100000068'', ''[4073]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150516[00000068]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053510904312134', '2015-05-16 15:17:57'),
(3895, 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, ''AP20150100000068'', ''[4073]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150516[00000068]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03590202331543', '2015-05-16 15:17:57'),
(3896, 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, ''AP20150100000068'', ''[4073]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150516[00000068]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02676796913147', '2015-05-16 15:17:57'),
(3897, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000068''', 'Aptransaction/invoicePosting', '0.037235975265503', '2015-05-16 15:17:57'),
(3898, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''149''', 'Gltransaction/journalPosting', '0.054764032363892', '2015-05-16 15:18:59'),
(3899, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000068''', 'Gltransaction/journalPosting', '0.043230056762695', '2015-05-16 15:18:59'),
(3900, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051939010620117', '2015-05-16 15:18:59'),
(3901, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05249810218811', '2015-05-16 15:18:59'),
(3902, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026922225952148', '2015-05-16 15:18:59'),
(3903, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053054094314575', '2015-05-16 15:18:59'),
(3904, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''72''', 'purchasetransaction/receiveItemPost', '0.027912855148315', '2015-05-16 15:20:10'),
(3905, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 68 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028173923492432', '2015-05-16 15:20:10'),
(3906, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000068'' WHERE `ID` =  ''72''', 'purchasetransaction/receiveItemPost', '0.070508003234863', '2015-05-16 15:20:10'),
(3907, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000068'', ''GRN20150516[00000069]'', '' [ GRN20150516[00000069] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.069257020950317', '2015-05-16 15:20:10'),
(3908, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''70'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.04367208480835', '2015-05-16 15:20:10'),
(3909, 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'', ''PO20150100000068'', 1, ''[4073]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150516[00000069]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027801990509033', '2015-05-16 15:20:10'),
(3910, 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, ''PO20150100000068'', ''[4073]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150516[00000072]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04857611656189', '2015-05-16 15:20:11'),
(3911, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 41366.98, `total_amount_cr` = 41366.98, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000068''', 'purchasetransaction/receiveItemPost', '0.038573026657104', '2015-05-16 15:20:11'),
(3912, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''150''', 'Gltransaction/journalPosting', '0.10008096694946', '2015-05-16 15:21:21'),
(3913, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000068''', 'Gltransaction/journalPosting', '0.028262138366699', '2015-05-16 15:21:21'),
(3914, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033604145050049', '2015-05-16 15:21:21'),
(3915, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.057108879089355', '2015-05-16 15:21:21'),
(3916, 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'', ''4263'', ''PERODUA MYVI'', ''PM2M602S002224263'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.05535888671875', '2015-05-16 20:13:33'),
(3917, 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'', ''PI20150516'', ''2015-04-03'', ''IV02100279'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12254905700684', '2015-05-16 20:18:24'),
(3918, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (72, ''2'', ''71'', ''1'', ''PM2M602S002224263'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.070001125335693', '2015-05-16 20:18:24'),
(3919, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  72', 'aptransaction/savePurchaseRow', '0.054208040237427', '2015-05-16 20:18:24'),
(3920, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =72', 'aptransaction/savePurchaseRow', '0.044597864151001', '2015-05-16 20:18:24'),
(3921, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''72'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.11912393569946', '2015-05-16 20:20:32'),
(3922, 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'', ''GRN20150516'', ''2015-04-03'', ''0'', ''IV02100279'', ''2'')', 'Aptransaction/invoicePosting', '0.05430793762207', '2015-05-16 20:20:32'),
(3923, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (73, ''72'', ''2'', ''71'', ''1'', -1, ''PM2M602S002224263'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.054804086685181', '2015-05-16 20:20:32'),
(3924, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 74 WHERE `ID` =  ''73''', 'Aptransaction/invoicePosting', '0.036806106567383', '2015-05-16 20:20:32'),
(3925, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.027313947677612', '2015-05-16 20:20:32'),
(3926, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000069'' WHERE `ID` =  ''72''', 'Aptransaction/invoicePosting', '0.036730051040649', '2015-05-16 20:20:32'),
(3927, 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'', ''AP20150100000069'', ''PI20150516[00000069]'', ''Purchase Invoice Confirm [ PI20150516[00000069] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.059408903121948', '2015-05-16 20:20:32'),
(3928, 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'', ''AP20150100000069'', 1, ''[4263]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150516[00000069]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037572860717773', '2015-05-16 20:20:32'),
(3929, 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, ''AP20150100000069'', ''[4263]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150516[00000069]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035813093185425', '2015-05-16 20:20:32'),
(3930, 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, ''AP20150100000069'', ''[4263]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150516[00000069]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026641130447388', '2015-05-16 20:20:32'),
(3931, 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, ''AP20150100000069'', ''[4263]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150516[00000069]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035859107971191', '2015-05-16 20:20:32'),
(3932, 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` =  ''AP20150100000069''', 'Aptransaction/invoicePosting', '0.028055906295776', '2015-05-16 20:20:32'),
(3933, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''151''', 'Gltransaction/journalPosting', '0.09145188331604', '2015-05-16 20:22:34'),
(3934, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000069''', 'Gltransaction/journalPosting', '0.08686089515686', '2015-05-16 20:22:34'),
(3935, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.15938091278076', '2015-05-16 20:22:34'),
(3936, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052397012710571', '2015-05-16 20:22:34'),
(3937, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04246187210083', '2015-05-16 20:22:34'),
(3938, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052647829055786', '2015-05-16 20:22:34'),
(3939, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''73''', 'purchasetransaction/receiveItemPost', '0.042671918869019', '2015-05-16 20:23:13'),
(3940, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 69 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027985811233521', '2015-05-16 20:23:13'),
(3941, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000069'' WHERE `ID` =  ''73''', 'purchasetransaction/receiveItemPost', '0.036748886108398', '2015-05-16 20:23:14'),
(3942, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000069'', ''GRN20150516[00000070]'', '' [ GRN20150516[00000070] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059652090072632', '2015-05-16 20:23:14'),
(3943, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''71'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043278217315674', '2015-05-16 20:23:14'),
(3944, 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'', ''PO20150100000069'', 1, ''[4263]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150516[00000070]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.039451122283936', '2015-05-16 20:23:14'),
(3945, 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, ''PO20150100000069'', ''[4263]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150516[00000073]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036362886428833', '2015-05-16 20:23:14'),
(3946, 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` =  ''PO20150100000069''', 'purchasetransaction/receiveItemPost', '0.028739929199219', '2015-05-16 20:23:14'),
(3947, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''152''', 'Gltransaction/journalPosting', '0.085001945495605', '2015-05-16 20:23:51'),
(3948, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000069''', 'Gltransaction/journalPosting', '0.028672933578491', '2015-05-16 20:23:51'),
(3949, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034011840820312', '2015-05-16 20:23:51'),
(3950, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034561157226562', '2015-05-16 20:23:51'),
(3951, 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'', ''9207'', ''PERODUA AXIA'', ''PM2B200S003059207'', ''3'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.050571918487549', '2015-05-16 22:55:03'),
(3952, 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'', ''PI20150516'', ''2015-04-08'', ''IV02104919'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11746311187744', '2015-05-16 22:56:49'),
(3953, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (73, ''2'', ''72'', ''1'', ''PM2B200S003059207'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.05809497833252', '2015-05-16 22:56:49'),
(3954, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  73', 'aptransaction/savePurchaseRow', '0.029609203338623', '2015-05-16 22:56:49'),
(3955, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =73', 'aptransaction/savePurchaseRow', '0.036418914794922', '2015-05-16 22:56:49'),
(3956, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''73'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.029284000396729', '2015-05-16 22:57:09'),
(3957, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02104919'', ''2'')', 'Aptransaction/invoicePosting', '0.062932014465332', '2015-05-16 22:57:09'),
(3958, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (74, ''73'', ''2'', ''72'', ''1'', -1, ''PM2B200S003059207'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.044198989868164', '2015-05-16 22:57:09'),
(3959, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 75 WHERE `ID` =  ''74''', 'Aptransaction/invoicePosting', '0.028650999069214', '2015-05-16 22:57:09'),
(3960, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.02872109413147', '2015-05-16 22:57:09'),
(3961, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000070'' WHERE `ID` =  ''73''', 'Aptransaction/invoicePosting', '0.036423921585083', '2015-05-16 22:57:09'),
(3962, 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'', ''AP20150100000070'', ''PI20150516[00000070]'', ''Purchase Invoice Confirm [ PI20150516[00000070] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.059453010559082', '2015-05-16 22:57:09'),
(3963, 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'', ''AP20150100000070'', 1, ''[9207]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150516[00000070]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038146018981934', '2015-05-16 22:57:09'),
(3964, 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, ''AP20150100000070'', ''[9207]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150516[00000070]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035569906234741', '2015-05-16 22:57:09'),
(3965, 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, ''AP20150100000070'', ''[9207]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150516[00000070]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02714991569519', '2015-05-16 22:57:09'),
(3966, 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, ''AP20150100000070'', ''[9207]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150516[00000070]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035515069961548', '2015-05-16 22:57:09'),
(3967, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 30191.28, `total_amount_cr` = 30191.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000070''', 'Aptransaction/invoicePosting', '0.039510011672974', '2015-05-16 22:57:09'),
(3968, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''153''', 'Gltransaction/journalPosting', '0.064523935317993', '2015-05-16 23:00:06'),
(3969, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000070''', 'Gltransaction/journalPosting', '0.055323123931885', '2015-05-16 23:00:06'),
(3970, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.044577121734619', '2015-05-16 23:00:06'),
(3971, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056945085525513', '2015-05-16 23:00:06'),
(3972, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027072906494141', '2015-05-16 23:00:07'),
(3973, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064272880554199', '2015-05-16 23:00:07'),
(3974, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''74''', 'purchasetransaction/receiveItemPost', '0.091869115829468', '2015-05-16 23:00:43'),
(3975, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 70 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051362991333008', '2015-05-16 23:00:43'),
(3976, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000070'' WHERE `ID` =  ''74''', 'purchasetransaction/receiveItemPost', '0.044315099716187', '2015-05-16 23:00:43'),
(3977, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000070'', ''GRN20150516[00000071]'', '' [ GRN20150516[00000071] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.044378042221069', '2015-05-16 23:00:43'),
(3978, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''72'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.029653072357178', '2015-05-16 23:00:43'),
(3979, 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'', ''PO20150100000070'', 1, ''[9207]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150516[00000071]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035576105117798', '2015-05-16 23:00:43'),
(3980, 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, ''PO20150100000070'', ''[9207]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150516[00000074]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.02907395362854', '2015-05-16 23:00:43'),
(3981, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 28482.34, `total_amount_cr` = 28482.34, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000070''', 'purchasetransaction/receiveItemPost', '0.058094024658203', '2015-05-16 23:00:43'),
(3982, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''154''', 'Gltransaction/journalPosting', '0.027751922607422', '2015-05-16 23:01:25'),
(3983, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000070''', 'Gltransaction/journalPosting', '0.11330580711365', '2015-05-16 23:01:25'),
(3984, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033683061599731', '2015-05-16 23:01:25'),
(3985, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034077167510986', '2015-05-16 23:01:25'),
(3986, 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'', ''4501'', ''PERODUA MYVI'', ''PM2M602S002224501'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049312114715576', '2015-05-16 23:04:07'),
(3987, 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'', ''PI20150516'', ''2015-04-08'', ''IV02105720'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1213481426239', '2015-05-16 23:10:09'),
(3988, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (74, ''2'', ''73'', ''1'', ''PM2M602S002224501'', ''1'', ''16'', ''35962.6'', ''35962.6'', ''15'', ''6'', ''2157.76'', ''38120.36'')', 'aptransaction/savePurchaseRow', '0.057933807373047', '2015-05-16 23:10:09'),
(3989, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2157.76'', `totalAmount` = ''38120.36'' WHERE `ID` =  74', 'aptransaction/savePurchaseRow', '0.029237985610962', '2015-05-16 23:10:09'),
(3990, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =74', 'aptransaction/savePurchaseRow', '0.036409854888916', '2015-05-16 23:10:09'),
(3991, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''74'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.093860864639282', '2015-05-16 23:10:28'),
(3992, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02105720'', ''2'')', 'Aptransaction/invoicePosting', '0.081024885177612', '2015-05-16 23:10:28'),
(3993, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (75, ''74'', ''2'', ''73'', ''1'', -1, ''PM2M602S002224501'', ''1'', ''1'', ''1'', ''35962.6'', 35962.6)', 'Aptransaction/invoicePosting', '0.044244050979614', '2015-05-16 23:10:28'),
(3994, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 76 WHERE `ID` =  ''75''', 'Aptransaction/invoicePosting', '0.040118932723999', '2015-05-16 23:10:28'),
(3995, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029098033905029', '2015-05-16 23:10:28'),
(3996, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000071'' WHERE `ID` =  ''74''', 'Aptransaction/invoicePosting', '0.036098957061768', '2015-05-16 23:10:28'),
(3997, 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'', ''AP20150100000071'', ''PI20150516[00000071]'', ''Purchase Invoice Confirm [ PI20150516[00000071] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 38120.36, 38120.36, ''2'')', 'Aptransaction/invoicePosting', '0.048417806625366', '2015-05-16 23:10:28'),
(3998, 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'', ''AP20150100000071'', 1, ''[4501]'', ''138'', ''PERODUA SALES SDN BHD'', 35962.6, ''1'', ''1'', ''35962.6'', ''1'', ''2015'', ''1'', ''PI20150516[00000071]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038436889648438', '2015-05-16 23:10:28'),
(3999, 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, ''AP20150100000071'', ''[4501]'', ''38'', ''PERODUA SALES SDN BHD'', 35962.6, ''1'', ''1'', ''35962.6'', ''1'', ''2015'', ''1'', ''PI20150516[00000071]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035295963287354', '2015-05-16 23:10:28'),
(4000, 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, ''AP20150100000071'', ''[4501]'', ''34'', ''PERODUA SALES SDN BHD'', 2157.76, ''1'', ''1'', ''2157.76'', ''1'', ''2015'', ''1'', ''PI20150516[00000071]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02745795249939', '2015-05-16 23:10:28'),
(4001, 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, ''AP20150100000071'', ''[4501]'', ''138'', ''PERODUA SALES SDN BHD'', 2157.76, ''1'', ''1'', ''2157.76'', ''1'', ''2015'', ''1'', ''PI20150516[00000071]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03526782989502', '2015-05-16 23:10:28'),
(4002, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38120.36, `total_amount_cr` = 38120.36, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000071''', 'Aptransaction/invoicePosting', '0.028794050216675', '2015-05-16 23:10:28'),
(4003, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''155''', 'Gltransaction/journalPosting', '0.31972002983093', '2015-05-16 23:11:44'),
(4004, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000071''', 'Gltransaction/journalPosting', '0.040831804275513', '2015-05-16 23:11:44'),
(4005, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034559011459351', '2015-05-16 23:11:45');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4006, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034547090530396', '2015-05-16 23:11:45'),
(4007, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027553081512451', '2015-05-16 23:11:45'),
(4008, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034462928771973', '2015-05-16 23:11:45'),
(4009, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''75''', 'purchasetransaction/receiveItemPost', '0.042397022247314', '2015-05-16 23:12:14'),
(4010, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 71 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.043150901794434', '2015-05-16 23:12:14'),
(4011, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000071'' WHERE `ID` =  ''75''', 'purchasetransaction/receiveItemPost', '0.076550960540771', '2015-05-16 23:12:14'),
(4012, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000071'', ''GRN20150516[00000072]'', '' [ GRN20150516[00000072] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059474945068359', '2015-05-16 23:12:14'),
(4013, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''73'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.061685085296631', '2015-05-16 23:12:14'),
(4014, 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'', ''PO20150100000071'', 1, ''[4501]PERODUA MYVI'', ''38'', 35962.6, ''1'', ''1'', ''35962.6'', ''1'', ''2015'', ''1'', ''GRN20150516[00000072]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054440975189209', '2015-05-16 23:12:14'),
(4015, 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, ''PO20150100000071'', ''[4501]PERODUA MYVI'', ''21'', 35962.6, ''1'', ''1'', ''35962.6'', ''1'', ''2015'', ''GRN20150516[00000075]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.057468175888062', '2015-05-16 23:12:14'),
(4016, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 35962.6, `total_amount_cr` = 35962.6, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000071''', 'purchasetransaction/receiveItemPost', '0.029636859893799', '2015-05-16 23:12:14'),
(4017, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''156''', 'Gltransaction/journalPosting', '0.10205316543579', '2015-05-16 23:13:00'),
(4018, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000071''', 'Gltransaction/journalPosting', '0.04093599319458', '2015-05-16 23:13:00'),
(4019, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032422065734863', '2015-05-16 23:13:00'),
(4020, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028311014175415', '2015-05-16 23:13:00'),
(4021, 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'', ''6854'', ''PERODUA ALZA'', ''PM2M502G002226854'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052918910980225', '2015-05-16 23:20:04'),
(4022, 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'', ''PI20150516'', ''2015-04-08'', ''IV02105100'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11799001693726', '2015-05-16 23:36:55'),
(4023, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (75, ''2'', ''74'', ''1'', ''PM2M502G002226854'', ''1'', ''16'', ''45619.29'', ''45619.29'', ''15'', ''6'', ''2737.16'', ''48356.45'')', 'aptransaction/savePurchaseRow', '0.042778015136719', '2015-05-16 23:36:55'),
(4024, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2737.16'', `totalAmount` = ''48356.45'' WHERE `ID` =  75', 'aptransaction/savePurchaseRow', '0.029589891433716', '2015-05-16 23:36:55'),
(4025, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =75', 'aptransaction/savePurchaseRow', '0.035822868347168', '2015-05-16 23:36:55'),
(4026, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''75'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.056363105773926', '2015-05-16 23:37:14'),
(4027, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02105100'', ''2'')', 'Aptransaction/invoicePosting', '0.064876079559326', '2015-05-16 23:37:14'),
(4028, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (76, ''75'', ''2'', ''74'', ''1'', -1, ''PM2M502G002226854'', ''1'', ''1'', ''1'', ''45619.29'', 45619.29)', 'Aptransaction/invoicePosting', '0.070996999740601', '2015-05-16 23:37:14'),
(4029, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 77 WHERE `ID` =  ''76''', 'Aptransaction/invoicePosting', '0.027672052383423', '2015-05-16 23:37:14'),
(4030, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029371023178101', '2015-05-16 23:37:14'),
(4031, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000072'' WHERE `ID` =  ''75''', 'Aptransaction/invoicePosting', '0.035412073135376', '2015-05-16 23:37:14'),
(4032, 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'', ''AP20150100000072'', ''PI20150516[00000072]'', ''Purchase Invoice Confirm [ PI20150516[00000072] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 48356.45, 48356.45, ''2'')', 'Aptransaction/invoicePosting', '0.059201002120972', '2015-05-16 23:37:14'),
(4033, 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'', ''AP20150100000072'', 1, ''[6854]'', ''138'', ''PERODUA SALES SDN BHD'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''PI20150516[00000072]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063888072967529', '2015-05-16 23:37:14'),
(4034, 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, ''AP20150100000072'', ''[6854]'', ''38'', ''PERODUA SALES SDN BHD'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''PI20150516[00000072]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028640985488892', '2015-05-16 23:37:14'),
(4035, 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, ''AP20150100000072'', ''[6854]'', ''34'', ''PERODUA SALES SDN BHD'', 2737.16, ''1'', ''1'', ''2737.16'', ''1'', ''2015'', ''1'', ''PI20150516[00000072]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.056267976760864', '2015-05-16 23:37:14'),
(4036, 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, ''AP20150100000072'', ''[6854]'', ''138'', ''PERODUA SALES SDN BHD'', 2737.16, ''1'', ''1'', ''2737.16'', ''1'', ''2015'', ''1'', ''PI20150516[00000072]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028652906417847', '2015-05-16 23:37:14'),
(4037, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48356.45, `total_amount_cr` = 48356.45, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000072''', 'Aptransaction/invoicePosting', '0.035380125045776', '2015-05-16 23:37:14'),
(4038, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''157''', 'Gltransaction/journalPosting', '0.3086199760437', '2015-05-16 23:38:22'),
(4039, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000072''', 'Gltransaction/journalPosting', '0.030112028121948', '2015-05-16 23:38:22'),
(4040, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048602819442749', '2015-05-16 23:38:22'),
(4041, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053738832473755', '2015-05-16 23:38:22'),
(4042, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052804946899414', '2015-05-16 23:38:22'),
(4043, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053632974624634', '2015-05-16 23:38:22'),
(4044, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''76''', 'purchasetransaction/receiveItemPost', '0.069135904312134', '2015-05-16 23:38:50'),
(4045, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 72 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.026561975479126', '2015-05-16 23:38:50'),
(4046, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000072'' WHERE `ID` =  ''76''', 'purchasetransaction/receiveItemPost', '0.058058977127075', '2015-05-16 23:38:50'),
(4047, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000072'', ''GRN20150516[00000073]'', '' [ GRN20150516[00000073] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058382987976074', '2015-05-16 23:38:50'),
(4048, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''74'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032744884490967', '2015-05-16 23:38:50'),
(4049, 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'', ''PO20150100000072'', 1, ''[6854]PERODUA ALZA'', ''38'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''GRN20150516[00000073]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062424898147583', '2015-05-16 23:38:50'),
(4050, 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, ''PO20150100000072'', ''[6854]PERODUA ALZA'', ''21'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''GRN20150516[00000076]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035488128662109', '2015-05-16 23:38:50'),
(4051, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 45619.29, `total_amount_cr` = 45619.29, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000072''', 'purchasetransaction/receiveItemPost', '0.065371990203857', '2015-05-16 23:38:50'),
(4052, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''158''', 'Gltransaction/journalPosting', '0.0295569896698', '2015-05-16 23:39:31'),
(4053, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000072''', 'Gltransaction/journalPosting', '0.054909944534302', '2015-05-16 23:39:31'),
(4054, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043036937713623', '2015-05-16 23:39:32'),
(4055, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042171955108643', '2015-05-16 23:39:32'),
(4056, 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'', ''0581'', ''PERODUA ALZA'', ''PM2M502G002230581'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.052809000015259', '2015-05-16 23:41:43'),
(4057, 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'', ''PI20150516'', ''2015-04-08'', ''IV02105141'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.069920063018799', '2015-05-16 23:43:20'),
(4058, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (76, ''2'', ''75'', ''1'', ''PM2M502G002230581'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.07440710067749', '2015-05-16 23:43:20'),
(4059, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  76', 'aptransaction/savePurchaseRow', '0.028388023376465', '2015-05-16 23:43:21'),
(4060, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =76', 'aptransaction/savePurchaseRow', '0.04697585105896', '2015-05-16 23:43:21'),
(4061, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''76'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036324977874756', '2015-05-16 23:43:38'),
(4062, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02105141'', ''2'')', 'Aptransaction/invoicePosting', '0.059208154678345', '2015-05-16 23:43:38'),
(4063, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (77, ''76'', ''2'', ''75'', ''1'', -1, ''PM2M502G002230581'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.044221162796021', '2015-05-16 23:43:38'),
(4064, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 78 WHERE `ID` =  ''77''', 'Aptransaction/invoicePosting', '0.029631853103638', '2015-05-16 23:43:38'),
(4065, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029733896255493', '2015-05-16 23:43:39'),
(4066, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000073'' WHERE `ID` =  ''76''', 'Aptransaction/invoicePosting', '0.035565137863159', '2015-05-16 23:43:39'),
(4067, 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'', ''AP20150100000073'', ''PI20150516[00000073]'', ''Purchase Invoice Confirm [ PI20150516[00000073] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.04852294921875', '2015-05-16 23:43:39'),
(4068, 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'', ''AP20150100000073'', 1, ''[0581]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150516[00000073]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07225489616394', '2015-05-16 23:43:39'),
(4069, 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, ''AP20150100000073'', ''[0581]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150516[00000073]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031381130218506', '2015-05-16 23:43:39'),
(4070, 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, ''AP20150100000073'', ''[0581]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150516[00000073]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064590215682983', '2015-05-16 23:43:39'),
(4071, 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, ''AP20150100000073'', ''[0581]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150516[00000073]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034626960754395', '2015-05-16 23:43:39'),
(4072, 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` =  ''AP20150100000073''', 'Aptransaction/invoicePosting', '0.065364122390747', '2015-05-16 23:43:39'),
(4073, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''159''', 'Gltransaction/journalPosting', '0.30601215362549', '2015-05-16 23:45:06'),
(4074, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000073''', 'Gltransaction/journalPosting', '0.077532052993774', '2015-05-16 23:45:06'),
(4075, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.073440790176392', '2015-05-16 23:45:06'),
(4076, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.064701080322266', '2015-05-16 23:45:07'),
(4077, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041612863540649', '2015-05-16 23:45:07'),
(4078, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05348801612854', '2015-05-16 23:45:07'),
(4079, 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'', ''2526'', ''PERODUA ALZA'', ''PM2M502G002232526'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049575090408325', '2015-05-16 23:48:28'),
(4080, 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'', ''PI20150516'', ''2015-04-08'', ''IV02105182'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11304593086243', '2015-05-16 23:49:53'),
(4081, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (77, ''2'', ''76'', ''1'', ''PM2M502G002232526'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.043091058731079', '2015-05-16 23:49:53'),
(4082, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  77', 'aptransaction/savePurchaseRow', '0.028489112854004', '2015-05-16 23:49:53'),
(4083, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =77', 'aptransaction/savePurchaseRow', '0.046305179595947', '2015-05-16 23:49:53'),
(4084, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''77'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.040580987930298', '2015-05-16 23:50:09'),
(4085, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02105182'', ''2'')', 'Aptransaction/invoicePosting', '0.045389890670776', '2015-05-16 23:50:09'),
(4086, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (78, ''77'', ''2'', ''76'', ''1'', -1, ''PM2M502G002232526'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.043306827545166', '2015-05-16 23:50:09'),
(4087, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 79 WHERE `ID` =  ''78''', 'Aptransaction/invoicePosting', '0.033259868621826', '2015-05-16 23:50:09'),
(4088, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.042562961578369', '2015-05-16 23:50:09'),
(4089, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000074'' WHERE `ID` =  ''77''', 'Aptransaction/invoicePosting', '0.03329610824585', '2015-05-16 23:50:09'),
(4090, 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'', ''AP20150100000074'', ''PI20150516[00000074]'', ''Purchase Invoice Confirm [ PI20150516[00000074] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.047010183334351', '2015-05-16 23:50:09'),
(4091, 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'', ''AP20150100000074'', 1, ''[2526]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150516[00000074]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053932189941406', '2015-05-16 23:50:09'),
(4092, 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, ''AP20150100000074'', ''[2526]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150516[00000074]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028782844543457', '2015-05-16 23:50:09'),
(4093, 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, ''AP20150100000074'', ''[2526]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150516[00000074]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033939123153687', '2015-05-16 23:50:09'),
(4094, 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, ''AP20150100000074'', ''[2526]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150516[00000074]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02880597114563', '2015-05-16 23:50:09'),
(4095, 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` =  ''AP20150100000074''', 'Aptransaction/invoicePosting', '0.035286903381348', '2015-05-16 23:50:09'),
(4096, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''160''', 'Gltransaction/journalPosting', '0.069320917129517', '2015-05-16 23:52:06'),
(4097, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000074''', 'Gltransaction/journalPosting', '0.065356016159058', '2015-05-16 23:52:06'),
(4098, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048466920852661', '2015-05-16 23:52:06'),
(4099, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028548002243042', '2015-05-16 23:52:07'),
(4100, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04444408416748', '2015-05-16 23:52:07'),
(4101, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041540861129761', '2015-05-16 23:52:07'),
(4102, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''78''', 'purchasetransaction/receiveItemPost', '0.042578935623169', '2015-05-16 23:52:49'),
(4103, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 73 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.042616844177246', '2015-05-16 23:52:49'),
(4104, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000073'' WHERE `ID` =  ''78''', 'purchasetransaction/receiveItemPost', '0.033308029174805', '2015-05-16 23:52:49'),
(4105, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000073'', ''GRN20150516[00000075]'', '' [ GRN20150516[00000075] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.069714069366455', '2015-05-16 23:52:49'),
(4106, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''76'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.043855905532837', '2015-05-16 23:52:49'),
(4107, 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'', ''PO20150100000073'', 1, ''[2526]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150516[00000075]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054018974304199', '2015-05-16 23:52:49'),
(4108, 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, ''PO20150100000073'', ''[2526]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150516[00000078]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03043007850647', '2015-05-16 23:52:49'),
(4109, 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` =  ''PO20150100000073''', 'purchasetransaction/receiveItemPost', '0.045639991760254', '2015-05-16 23:52:49'),
(4110, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''161''', 'Gltransaction/journalPosting', '0.094548940658569', '2015-05-16 23:53:33'),
(4111, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000073''', 'Gltransaction/journalPosting', '0.044126987457275', '2015-05-16 23:53:33'),
(4112, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035000085830688', '2015-05-16 23:53:33'),
(4113, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033444881439209', '2015-05-16 23:53:33'),
(4114, 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'', ''3053'', ''PERODUA ALZA'', ''PM2M502G002233053'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.049290895462036', '2015-05-16 23:55:55'),
(4115, 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'', ''PI20150516'', ''2015-04-08'', ''IV02105186'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10929298400879', '2015-05-16 23:57:33'),
(4116, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (78, ''2'', ''77'', ''1'', ''PM2M502G002233053'', ''1'', ''16'', ''49560.58'', ''49560.58'', ''15'', ''6'', ''2973.63'', ''52534.21'')', 'aptransaction/savePurchaseRow', '0.044128894805908', '2015-05-16 23:57:33'),
(4117, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2973.63'', `totalAmount` = ''52534.21'' WHERE `ID` =  78', 'aptransaction/savePurchaseRow', '0.02919602394104', '2015-05-16 23:57:33'),
(4118, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =78', 'aptransaction/savePurchaseRow', '0.057481050491333', '2015-05-16 23:57:33'),
(4119, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''78'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.029601097106934', '2015-05-16 23:57:55'),
(4120, 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'', ''GRN20150516'', ''2015-04-08'', ''0'', ''IV02105186'', ''2'')', 'Aptransaction/invoicePosting', '0.072248935699463', '2015-05-16 23:57:55'),
(4121, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (79, ''78'', ''2'', ''77'', ''1'', -1, ''PM2M502G002233053'', ''1'', ''1'', ''1'', ''49560.58'', 49560.58)', 'Aptransaction/invoicePosting', '0.044180154800415', '2015-05-16 23:57:55'),
(4122, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 80 WHERE `ID` =  ''79''', 'Aptransaction/invoicePosting', '0.03231406211853', '2015-05-16 23:57:55'),
(4123, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.043190002441406', '2015-05-16 23:57:55'),
(4124, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000075'' WHERE `ID` =  ''78''', 'Aptransaction/invoicePosting', '0.030482053756714', '2015-05-16 23:57:55'),
(4125, 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'', ''AP20150100000075'', ''PI20150516[00000075]'', ''Purchase Invoice Confirm [ PI20150516[00000075] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 52534.21, 52534.21, ''2'')', 'Aptransaction/invoicePosting', '0.061007022857666', '2015-05-16 23:57:55'),
(4126, 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'', ''AP20150100000075'', 1, ''[3053]'', ''138'', ''PERODUA SALES SDN BHD'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''1'', ''PI20150516[00000075]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052865028381348', '2015-05-16 23:57:55'),
(4127, 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, ''AP20150100000075'', ''[3053]'', ''38'', ''PERODUA SALES SDN BHD'', 49560.58, ''1'', ''1'', ''49560.58'', ''1'', ''2015'', ''1'', ''PI20150516[00000075]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0296311378479', '2015-05-16 23:57:55'),
(4128, 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, ''AP20150100000075'', ''[3053]'', ''34'', ''PERODUA SALES SDN BHD'', 2973.63, ''1'', ''1'', ''2973.63'', ''1'', ''2015'', ''1'', ''PI20150516[00000075]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.044482946395874', '2015-05-16 23:57:55'),
(4129, 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, ''AP20150100000075'', ''[3053]'', ''138'', ''PERODUA SALES SDN BHD'', 2973.63, ''1'', ''1'', ''2973.63'', ''1'', ''2015'', ''1'', ''PI20150516[00000075]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029140949249268', '2015-05-16 23:57:55'),
(4130, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52534.21, `total_amount_cr` = 52534.21, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000075''', 'Aptransaction/invoicePosting', '0.034857988357544', '2015-05-16 23:57:55'),
(4131, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''162''', 'Gltransaction/journalPosting', '0.30265498161316', '2015-05-16 23:59:03'),
(4132, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000075''', 'Gltransaction/journalPosting', '0.053656816482544', '2015-05-16 23:59:03');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(4133, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048877954483032', '2015-05-16 23:59:03'),
(4134, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052524089813232', '2015-05-16 23:59:03'),
(4135, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029250860214233', '2015-05-16 23:59:03'),
(4136, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05449914932251', '2015-05-16 23:59:03'),
(4137, 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'', ''4339'', ''PERODUA ALZA'', ''PM2M502G002234339'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.070070028305054', '2015-05-17 00:18:38'),
(4138, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150517'', ''2015-04-08'', ''IV02105208'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12893509864807', '2015-05-17 00:20:05'),
(4139, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (79, ''2'', ''78'', ''1'', ''PM2M502G002234339'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.044168949127197', '2015-05-17 00:20:05'),
(4140, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  79', 'aptransaction/savePurchaseRow', '0.063297986984253', '2015-05-17 00:20:05'),
(4141, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =79', 'aptransaction/savePurchaseRow', '0.032779932022095', '2015-05-17 00:20:05'),
(4142, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''79'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.06800389289856', '2015-05-17 00:20:21'),
(4143, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105208'', ''2'')', 'Aptransaction/invoicePosting', '0.047805070877075', '2015-05-17 00:20:22'),
(4144, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (80, ''79'', ''2'', ''78'', ''1'', -1, ''PM2M502G002234339'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.033169984817505', '2015-05-17 00:20:22'),
(4145, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 81 WHERE `ID` =  ''80''', 'Aptransaction/invoicePosting', '0.054502964019775', '2015-05-17 00:20:22'),
(4146, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.042392015457153', '2015-05-17 00:20:22'),
(4147, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000076'' WHERE `ID` =  ''79''', 'Aptransaction/invoicePosting', '0.054334163665771', '2015-05-17 00:20:22'),
(4148, 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'', ''AP20150100000076'', ''PI20150517[00000076]'', ''Purchase Invoice Confirm [ PI20150517[00000076] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.059470891952515', '2015-05-17 00:20:22'),
(4149, 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'', ''AP20150100000076'', 1, ''[4339]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000076]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041728019714355', '2015-05-17 00:20:22'),
(4150, 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, ''AP20150100000076'', ''[4339]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000076]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053889036178589', '2015-05-17 00:20:22'),
(4151, 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, ''AP20150100000076'', ''[4339]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000076]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041977882385254', '2015-05-17 00:20:22'),
(4152, 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, ''AP20150100000076'', ''[4339]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000076]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042825937271118', '2015-05-17 00:20:22'),
(4153, 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` =  ''AP20150100000076''', 'Aptransaction/invoicePosting', '0.076416969299316', '2015-05-17 00:20:22'),
(4154, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''163''', 'Gltransaction/journalPosting', '0.29661107063293', '2015-05-17 00:21:34'),
(4155, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000076''', 'Gltransaction/journalPosting', '0.0664222240448', '2015-05-17 00:21:34'),
(4156, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.047786951065063', '2015-05-17 00:21:34'),
(4157, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042596101760864', '2015-05-17 00:21:34'),
(4158, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052706003189087', '2015-05-17 00:21:34'),
(4159, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053691864013672', '2015-05-17 00:21:34'),
(4160, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''80''', 'purchasetransaction/receiveItemPost', '0.030827045440674', '2015-05-17 00:22:08'),
(4161, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 74 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.031949996948242', '2015-05-17 00:22:08'),
(4162, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000074'' WHERE `ID` =  ''80''', 'purchasetransaction/receiveItemPost', '0.054476976394653', '2015-05-17 00:22:08'),
(4163, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000074'', ''GRN20150517[00000077]'', '' [ GRN20150517[00000077] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059152841567993', '2015-05-17 00:22:08'),
(4164, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''78'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.032262086868286', '2015-05-17 00:22:08'),
(4165, 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'', ''PO20150100000074'', 1, ''[4339]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150517[00000077]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064946889877319', '2015-05-17 00:22:08'),
(4166, 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, ''PO20150100000074'', ''[4339]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150517[00000080]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032978057861328', '2015-05-17 00:22:08'),
(4167, 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` =  ''PO20150100000074''', 'purchasetransaction/receiveItemPost', '0.033246040344238', '2015-05-17 00:22:09'),
(4168, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''164''', 'Gltransaction/journalPosting', '0.098191022872925', '2015-05-17 00:23:19'),
(4169, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000074''', 'Gltransaction/journalPosting', '0.043222904205322', '2015-05-17 00:23:19'),
(4170, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052529811859131', '2015-05-17 00:23:19'),
(4171, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030354022979736', '2015-05-17 00:23:19'),
(4172, 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'', ''5606'', ''PERODUA ALZA'', ''PM2M502G002235606'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.058279037475586', '2015-05-17 00:39:05'),
(4173, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150517'', ''2015-04-08'', ''IV02105230'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10655403137207', '2015-05-17 00:40:41'),
(4174, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (80, ''2'', ''79'', ''1'', ''PM2M502G002235606'', ''1'', ''16'', ''45619.29'', ''45619.29'', ''15'', ''6'', ''2737.16'', ''48356.45'')', 'aptransaction/savePurchaseRow', '0.043110132217407', '2015-05-17 00:40:41'),
(4175, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2737.16'', `totalAmount` = ''48356.45'' WHERE `ID` =  80', 'aptransaction/savePurchaseRow', '0.05105996131897', '2015-05-17 00:40:41'),
(4176, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =80', 'aptransaction/savePurchaseRow', '0.032557010650635', '2015-05-17 00:40:41'),
(4177, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''80'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.031013011932373', '2015-05-17 00:40:59'),
(4178, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105230'', ''2'')', 'Aptransaction/invoicePosting', '0.070985794067383', '2015-05-17 00:40:59'),
(4179, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (81, ''80'', ''2'', ''79'', ''1'', -1, ''PM2M502G002235606'', ''1'', ''1'', ''1'', ''45619.29'', 45619.29)', 'Aptransaction/invoicePosting', '0.12089800834656', '2015-05-17 00:40:59'),
(4180, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 82 WHERE `ID` =  ''81''', 'Aptransaction/invoicePosting', '0.066273927688599', '2015-05-17 00:40:59'),
(4181, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 77 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032416105270386', '2015-05-17 00:40:59'),
(4182, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000077'' WHERE `ID` =  ''80''', 'Aptransaction/invoicePosting', '0.032263994216919', '2015-05-17 00:40:59'),
(4183, 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'', ''AP20150100000077'', ''PI20150517[00000077]'', ''Purchase Invoice Confirm [ PI20150517[00000077] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 48356.45, 48356.45, ''2'')', 'Aptransaction/invoicePosting', '0.048398017883301', '2015-05-17 00:40:59'),
(4184, 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'', ''AP20150100000077'', 1, ''[5606]'', ''138'', ''PERODUA SALES SDN BHD'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''PI20150517[00000077]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041843891143799', '2015-05-17 00:40:59'),
(4185, 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, ''AP20150100000077'', ''[5606]'', ''38'', ''PERODUA SALES SDN BHD'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''PI20150517[00000077]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030768156051636', '2015-05-17 00:40:59'),
(4186, 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, ''AP20150100000077'', ''[5606]'', ''34'', ''PERODUA SALES SDN BHD'', 2737.16, ''1'', ''1'', ''2737.16'', ''1'', ''2015'', ''1'', ''PI20150517[00000077]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031607866287231', '2015-05-17 00:40:59'),
(4187, 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, ''AP20150100000077'', ''[5606]'', ''138'', ''PERODUA SALES SDN BHD'', 2737.16, ''1'', ''1'', ''2737.16'', ''1'', ''2015'', ''1'', ''PI20150517[00000077]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031923055648804', '2015-05-17 00:40:59'),
(4188, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48356.45, `total_amount_cr` = 48356.45, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000077''', 'Aptransaction/invoicePosting', '0.043230056762695', '2015-05-17 00:40:59'),
(4189, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''165''', 'Gltransaction/journalPosting', '0.30296301841736', '2015-05-17 00:42:01'),
(4190, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000077''', 'Gltransaction/journalPosting', '0.054492950439453', '2015-05-17 00:42:01'),
(4191, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048765897750854', '2015-05-17 00:42:01'),
(4192, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042040109634399', '2015-05-17 00:42:01'),
(4193, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042557954788208', '2015-05-17 00:42:01'),
(4194, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052800893783569', '2015-05-17 00:42:01'),
(4195, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''81''', 'purchasetransaction/receiveItemPost', '0.050765037536621', '2015-05-17 00:42:34'),
(4196, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 75 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.052418947219849', '2015-05-17 00:42:35'),
(4197, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000075'' WHERE `ID` =  ''81''', 'purchasetransaction/receiveItemPost', '0.04345703125', '2015-05-17 00:42:35'),
(4198, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000075'', ''GRN20150517[00000078]'', '' [ GRN20150517[00000078] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.069242000579834', '2015-05-17 00:42:35'),
(4199, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''79'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.044127941131592', '2015-05-17 00:42:35'),
(4200, 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'', ''PO20150100000075'', 1, ''[5606]PERODUA ALZA'', ''38'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''1'', ''GRN20150517[00000078]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043864011764526', '2015-05-17 00:42:35'),
(4201, 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, ''PO20150100000075'', ''[5606]PERODUA ALZA'', ''21'', 45619.29, ''1'', ''1'', ''45619.29'', ''1'', ''2015'', ''GRN20150517[00000081]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054067850112915', '2015-05-17 00:42:35'),
(4202, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 45619.29, `total_amount_cr` = 45619.29, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000075''', 'purchasetransaction/receiveItemPost', '0.044257879257202', '2015-05-17 00:42:35'),
(4203, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''166''', 'Gltransaction/journalPosting', '0.036641836166382', '2015-05-17 00:43:15'),
(4204, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000075''', 'Gltransaction/journalPosting', '0.043467998504639', '2015-05-17 00:43:15'),
(4205, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037734031677246', '2015-05-17 00:43:15'),
(4206, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030678987503052', '2015-05-17 00:43:15'),
(4207, 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'', ''7288'', ''PERODUA ALZA'', ''PM2M502G002237288'', ''2'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.046506881713867', '2015-05-17 00:45:19'),
(4208, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150517'', ''2015-04-08'', ''IV02105293'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10383009910583', '2015-05-17 00:46:47'),
(4209, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (81, ''2'', ''80'', ''1'', ''PM2M502G002237288'', ''1'', ''16'', ''48397.48'', ''48397.48'', ''15'', ''6'', ''2903.85'', ''51301.33'')', 'aptransaction/savePurchaseRow', '0.087771892547607', '2015-05-17 00:46:47'),
(4210, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2903.85'', `totalAmount` = ''51301.33'' WHERE `ID` =  81', 'aptransaction/savePurchaseRow', '0.085349798202515', '2015-05-17 00:46:47'),
(4211, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =81', 'aptransaction/savePurchaseRow', '0.055050849914551', '2015-05-17 00:46:47'),
(4212, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''81'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.062608003616333', '2015-05-17 00:47:03'),
(4213, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105293'', ''2'')', 'Aptransaction/invoicePosting', '0.047704935073853', '2015-05-17 00:47:03'),
(4214, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (82, ''81'', ''2'', ''80'', ''1'', -1, ''PM2M502G002237288'', ''1'', ''1'', ''1'', ''48397.48'', 48397.48)', 'Aptransaction/invoicePosting', '0.055266141891479', '2015-05-17 00:47:03'),
(4215, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 83 WHERE `ID` =  ''82''', 'Aptransaction/invoicePosting', '0.077118158340454', '2015-05-17 00:47:04'),
(4216, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 78 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032953977584839', '2015-05-17 00:47:04'),
(4217, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000078'' WHERE `ID` =  ''81''', 'Aptransaction/invoicePosting', '0.043345928192139', '2015-05-17 00:47:04'),
(4218, 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'', ''AP20150100000078'', ''PI20150517[00000078]'', ''Purchase Invoice Confirm [ PI20150517[00000078] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 51301.33, 51301.33, ''2'')', 'Aptransaction/invoicePosting', '0.059409141540527', '2015-05-17 00:47:04'),
(4219, 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'', ''AP20150100000078'', 1, ''[7288]'', ''138'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000078]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041949987411499', '2015-05-17 00:47:04'),
(4220, 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, ''AP20150100000078'', ''[7288]'', ''38'', ''PERODUA SALES SDN BHD'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''PI20150517[00000078]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064481973648071', '2015-05-17 00:47:04'),
(4221, 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, ''AP20150100000078'', ''[7288]'', ''34'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000078]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.11877512931824', '2015-05-17 00:47:04'),
(4222, 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, ''AP20150100000078'', ''[7288]'', ''138'', ''PERODUA SALES SDN BHD'', 2903.85, ''1'', ''1'', ''2903.85'', ''1'', ''2015'', ''1'', ''PI20150517[00000078]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043529987335205', '2015-05-17 00:47:04'),
(4223, 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` =  ''AP20150100000078''', 'Aptransaction/invoicePosting', '0.055366992950439', '2015-05-17 00:47:04'),
(4224, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''167''', 'Gltransaction/journalPosting', '0.32452011108398', '2015-05-17 00:48:03'),
(4225, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000078''', 'Gltransaction/journalPosting', '0.041388034820557', '2015-05-17 00:48:03'),
(4226, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035073041915894', '2015-05-17 00:48:03'),
(4227, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033803939819336', '2015-05-17 00:48:03'),
(4228, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028052091598511', '2015-05-17 00:48:04'),
(4229, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033862829208374', '2015-05-17 00:48:04'),
(4230, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''82''', 'purchasetransaction/receiveItemPost', '0.034569978713989', '2015-05-17 00:48:29'),
(4231, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 76 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.029721021652222', '2015-05-17 00:48:29'),
(4232, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000076'' WHERE `ID` =  ''82''', 'purchasetransaction/receiveItemPost', '0.057254076004028', '2015-05-17 00:48:29'),
(4233, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000076'', ''GRN20150517[00000079]'', '' [ GRN20150517[00000079] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070483922958374', '2015-05-17 00:48:29'),
(4234, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''80'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.042989015579224', '2015-05-17 00:48:29'),
(4235, 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'', ''PO20150100000076'', 1, ''[7288]PERODUA ALZA'', ''38'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''1'', ''GRN20150517[00000079]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.14579606056213', '2015-05-17 00:48:29'),
(4236, 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, ''PO20150100000076'', ''[7288]PERODUA ALZA'', ''21'', 48397.48, ''1'', ''1'', ''48397.48'', ''1'', ''2015'', ''GRN20150517[00000082]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.12913489341736', '2015-05-17 00:48:29'),
(4237, 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` =  ''PO20150100000076''', 'purchasetransaction/receiveItemPost', '0.030363082885742', '2015-05-17 00:48:29'),
(4238, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''168''', 'Gltransaction/journalPosting', '0.058197975158691', '2015-05-17 00:49:30'),
(4239, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000076''', 'Gltransaction/journalPosting', '0.088041067123413', '2015-05-17 00:49:30'),
(4240, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027462959289551', '2015-05-17 00:49:30'),
(4241, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033225059509277', '2015-05-17 00:49:30'),
(4242, 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'', ''5576'', ''PERODUA MYVI'', ''PM2M603S002115576'', ''4'', ''22'', ''16'', 0, ''1'', ''0'', ''59'', ''76'', ''21'', ''15'', ''2'', 0)', 'icsetting/itemSave', '0.053817987442017', '2015-05-17 00:50:56'),
(4243, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice` (`shippingMethodID`, `purchaserID`, `memo`, `locationID`, `currencyID`, `companyID`, `createdBy`, `purchaseInvoiceCodeID`, `supplierID`, `shipToID`, `formNo`, `invoiceDate`, `supplierInvoiceNo`, `projectID`, `termsID`, `exchangeRate`) VALUES ('''', '''', '''', ''2'', ''1'', ''2'', ''2'', 2, ''2'', ''1'', ''PI20150517'', ''2015-04-08'', ''IV02105868'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.090718030929565', '2015-05-17 00:52:18'),
(4244, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (82, ''2'', ''81'', ''1'', ''PM2M603S002115576'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.057483911514282', '2015-05-17 00:52:18'),
(4245, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  82', 'aptransaction/savePurchaseRow', '0.026228189468384', '2015-05-17 00:52:18'),
(4246, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =82', 'aptransaction/savePurchaseRow', '0.035989999771118', '2015-05-17 00:52:18'),
(4247, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''82'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.030255079269409', '2015-05-17 00:52:42'),
(4248, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item` (`companyID`, `createdBy`, `supplierID`, `employeeID`, `exchangeRate`, `currencyID`, `formNo`, `deliveryDate`, `shippingMethodID`, `supplierDoNo`, `locationID`) VALUES (''2'', ''2'', ''2'', ''2'', ''1'', ''1'', ''GRN20150517'', ''2015-04-08'', ''0'', ''IV02105868'', ''2'')', 'Aptransaction/invoicePosting', '0.073856115341187', '2015-05-17 00:52:42'),
(4249, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (83, ''82'', ''2'', ''81'', ''1'', -1, ''PM2M603S002115576'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.043200969696045', '2015-05-17 00:52:42'),
(4250, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 84 WHERE `ID` =  ''83''', 'Aptransaction/invoicePosting', '0.030370950698853', '2015-05-17 00:52:42'),
(4251, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 79 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.029977083206177', '2015-05-17 00:52:42'),
(4252, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000079'' WHERE `ID` =  ''82''', 'Aptransaction/invoicePosting', '0.035897970199585', '2015-05-17 00:52:42'),
(4253, 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'', ''AP20150100000079'', ''PI20150517[00000079]'', ''Purchase Invoice Confirm [ PI20150517[00000079] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.04731297492981', '2015-05-17 00:52:42'),
(4254, 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'', ''AP20150100000079'', 1, ''[5576]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000079]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053892850875854', '2015-05-17 00:52:42'),
(4255, 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, ''AP20150100000079'', ''[5576]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150517[00000079]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053073883056641', '2015-05-17 00:52:42'),
(4256, 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, ''AP20150100000079'', ''[5576]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000079]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.039731979370117', '2015-05-17 00:52:42'),
(4257, 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, ''AP20150100000079'', ''[5576]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150517[00000079]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033429145812988', '2015-05-17 00:52:42'),
(4258, 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` =  ''AP20150100000079''', 'Aptransaction/invoicePosting', '0.044257879257202', '2015-05-17 00:52:42');
