INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2225, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.0881028175354', '2015-05-13 00:45:23'),
(2226, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000021'' WHERE `ID` =  ''24''', 'Aptransaction/invoicePosting', '0.043246984481812', '2015-05-13 00:45:23'),
(2227, 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'', ''AP20150100000021'', ''PI20150513[00000021]'', ''Purchase Invoice Confirm [ PI20150513[00000021] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.034432888031006', '2015-05-13 00:45:23'),
(2228, 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'', ''AP20150100000021'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150513[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.14475607872009', '2015-05-13 00:45:23'),
(2229, 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, ''AP20150100000021'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150513[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052770853042603', '2015-05-13 00:45:23'),
(2230, 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, ''AP20150100000021'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150513[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.076083898544312', '2015-05-13 00:45:23'),
(2231, 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, ''AP20150100000021'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150513[00000021]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052761077880859', '2015-05-13 00:45:23'),
(2232, 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` =  ''AP20150100000021''', 'Aptransaction/invoicePosting', '0.055366992950439', '2015-05-13 00:45:23'),
(2233, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''55''', 'Gltransaction/journalPosting', '0.052130937576294', '2015-05-13 00:46:56'),
(2234, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000021''', 'Gltransaction/journalPosting', '0.044196128845215', '2015-05-13 00:46:56'),
(2235, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.071022987365723', '2015-05-13 00:46:56'),
(2236, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.10816311836243', '2015-05-13 00:46:56'),
(2237, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.080873012542725', '2015-05-13 00:46:56'),
(2238, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.069514036178589', '2015-05-13 00:46:56'),
(2239, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''25''', 'purchasetransaction/receiveItemPost', '0.12382817268372', '2015-05-13 00:47:22'),
(2240, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 21 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.029949903488159', '2015-05-13 00:47:22'),
(2241, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000021'' WHERE `ID` =  ''25''', 'purchasetransaction/receiveItemPost', '0.03537392616272', '2015-05-13 00:47:22'),
(2242, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000021'', ''GRN20150513[00000022]'', '' [ GRN20150513[00000022] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048163175582886', '2015-05-13 00:47:22'),
(2243, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''23'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.027320861816406', '2015-05-13 00:47:22'),
(2244, 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'', ''PO20150100000021'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150513[00000022]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.12390089035034', '2015-05-13 00:47:22'),
(2245, 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, ''PO20150100000021'', ''[MYVI]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150513[00000025]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.029253005981445', '2015-05-13 00:47:22'),
(2246, 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` =  ''PO20150100000021''', 'purchasetransaction/receiveItemPost', '0.046808004379272', '2015-05-13 00:47:22'),
(2247, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''56''', 'Gltransaction/journalPosting', '0.071149826049805', '2015-05-13 00:48:44'),
(2248, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000021''', 'Gltransaction/journalPosting', '0.041829824447632', '2015-05-13 00:48:44'),
(2249, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042861938476562', '2015-05-13 00:48:44'),
(2250, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042428016662598', '2015-05-13 00:48:44'),
(2251, 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'', ''PI20150513'', ''2015-04-22'', ''IV02120039'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10951709747314', '2015-05-13 00:50:52'),
(2252, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (25, ''2'', ''24'', ''1'', ''PM2M603S002118902'', ''1'', ''16'', ''46519.12'', ''46519.12'', ''15'', ''6'', ''2791.15'', ''49310.27'')', 'aptransaction/savePurchaseRow', '0.05541205406189', '2015-05-13 00:50:52'),
(2253, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2791.15'', `totalAmount` = ''49310.27'' WHERE `ID` =  25', 'aptransaction/savePurchaseRow', '0.040849924087524', '2015-05-13 00:50:52'),
(2254, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =25', 'aptransaction/savePurchaseRow', '0.12078905105591', '2015-05-13 00:50:52'),
(2255, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''25'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033837080001831', '2015-05-13 00:51:15'),
(2256, 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'', ''GRN20150513'', ''2015-04-22'', ''0'', ''IV02120039'', ''2'')', 'Aptransaction/invoicePosting', '0.059199810028076', '2015-05-13 00:51:15'),
(2257, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (26, ''25'', ''2'', ''24'', ''1'', -1, ''PM2M603S002118902'', ''1'', ''1'', ''1'', ''46519.12'', 46519.12)', 'Aptransaction/invoicePosting', '0.030493021011353', '2015-05-13 00:51:15'),
(2258, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 27 WHERE `ID` =  ''26''', 'Aptransaction/invoicePosting', '0.057132005691528', '2015-05-13 00:51:15'),
(2259, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.040791034698486', '2015-05-13 00:51:15'),
(2260, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000022'' WHERE `ID` =  ''25''', 'Aptransaction/invoicePosting', '0.034940958023071', '2015-05-13 00:51:15'),
(2261, 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'', ''AP20150100000022'', ''PI20150513[00000022]'', ''Purchase Invoice Confirm [ PI20150513[00000022] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 49310.27, 49310.27, ''2'')', 'Aptransaction/invoicePosting', '0.056802034378052', '2015-05-13 00:51:15'),
(2262, 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'', ''AP20150100000022'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.0556480884552', '2015-05-13 00:51:15'),
(2263, 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, ''AP20150100000022'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029128074645996', '2015-05-13 00:51:15'),
(2264, 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, ''AP20150100000022'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''1'', ''2015'', ''1'', ''PI20150513[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033668041229248', '2015-05-13 00:51:15'),
(2265, 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, ''AP20150100000022'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2791.15, ''1'', ''1'', ''2791.15'', ''1'', ''2015'', ''1'', ''PI20150513[00000022]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029070854187012', '2015-05-13 00:51:15'),
(2266, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 49310.27, `total_amount_cr` = 49310.27, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000022''', 'Aptransaction/invoicePosting', '0.03498387336731', '2015-05-13 00:51:15'),
(2267, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''57''', 'Gltransaction/journalPosting', '0.31804299354553', '2015-05-13 00:52:17'),
(2268, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000022''', 'Gltransaction/journalPosting', '0.04324197769165', '2015-05-13 00:52:17'),
(2269, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.031000137329102', '2015-05-13 00:52:17'),
(2270, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.044392824172974', '2015-05-13 00:52:17'),
(2271, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05300498008728', '2015-05-13 00:52:17'),
(2272, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.028718948364258', '2015-05-13 00:52:17'),
(2273, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''26''', 'purchasetransaction/receiveItemPost', '0.053894996643066', '2015-05-13 00:52:54'),
(2274, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 22 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.041377067565918', '2015-05-13 00:52:54'),
(2275, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000022'' WHERE `ID` =  ''26''', 'purchasetransaction/receiveItemPost', '0.032271146774292', '2015-05-13 00:52:54'),
(2276, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000022'', ''GRN20150513[00000023]'', '' [ GRN20150513[00000023] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048485994338989', '2015-05-13 00:52:54'),
(2277, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''24'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040404796600342', '2015-05-13 00:52:54'),
(2278, 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'', ''PO20150100000022'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''1'', ''GRN20150513[00000023]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032733917236328', '2015-05-13 00:52:54'),
(2279, 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, ''PO20150100000022'', ''[MYVI]PERODUA MYVI'', ''21'', 46519.12, ''1'', ''1'', ''46519.12'', ''1'', ''2015'', ''GRN20150513[00000026]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030196189880371', '2015-05-13 00:52:54'),
(2280, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46519.12, `total_amount_cr` = 46519.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000022''', 'purchasetransaction/receiveItemPost', '0.034854173660278', '2015-05-13 00:52:54'),
(2281, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''58''', 'Gltransaction/journalPosting', '0.10636496543884', '2015-05-13 00:53:32'),
(2282, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000022''', 'Gltransaction/journalPosting', '0.08909010887146', '2015-05-13 00:53:32'),
(2283, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.093587875366211', '2015-05-13 00:53:32'),
(2284, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028386831283569', '2015-05-13 00:53:32'),
(2285, 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'', ''PI20150513'', ''2015-04-17'', ''IV02116235'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10331201553345', '2015-05-13 00:56:32'),
(2286, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (26, ''2'', ''25'', ''1'', ''PM2B200S003063290'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.043203115463257', '2015-05-13 00:56:32'),
(2287, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  26', 'aptransaction/savePurchaseRow', '0.063528060913086', '2015-05-13 00:56:32'),
(2288, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =26', 'aptransaction/savePurchaseRow', '0.032582998275757', '2015-05-13 00:56:32'),
(2289, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''26'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.061625003814697', '2015-05-13 00:56:50'),
(2290, 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'', ''GRN20150513'', ''2015-04-17'', ''0'', ''IV02116235'', ''2'')', 'Aptransaction/invoicePosting', '0.12403512001038', '2015-05-13 00:56:50'),
(2291, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (27, ''26'', ''2'', ''25'', ''1'', -1, ''PM2B200S003063290'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.11156296730042', '2015-05-13 00:56:50'),
(2292, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 28 WHERE `ID` =  ''27''', 'Aptransaction/invoicePosting', '0.088133096694946', '2015-05-13 00:56:50'),
(2293, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.043030023574829', '2015-05-13 00:56:50'),
(2294, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000023'' WHERE `ID` =  ''26''', 'Aptransaction/invoicePosting', '0.043365001678467', '2015-05-13 00:56:50'),
(2295, 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'', ''AP20150100000023'', ''PI20150513[00000023]'', ''Purchase Invoice Confirm [ PI20150513[00000023] ]'', ''3'', ''2015-04-17'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.024450063705444', '2015-05-13 00:56:51'),
(2296, 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'', ''AP20150100000023'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000023]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.043835163116455', '2015-05-13 00:56:51'),
(2297, 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, ''AP20150100000023'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000023]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.1074390411377', '2015-05-13 00:56:51'),
(2298, 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, ''AP20150100000023'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000023]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.055397987365723', '2015-05-13 00:56:51'),
(2299, 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, ''AP20150100000023'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000023]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029344081878662', '2015-05-13 00:56:51'),
(2300, 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` =  ''AP20150100000023''', 'Aptransaction/invoicePosting', '0.034706115722656', '2015-05-13 00:56:51'),
(2301, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''59''', 'Gltransaction/journalPosting', '0.095459938049316', '2015-05-13 00:58:11'),
(2302, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000023''', 'Gltransaction/journalPosting', '0.055408954620361', '2015-05-13 00:58:11'),
(2303, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.072338104248047', '2015-05-13 00:58:11'),
(2304, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043163061141968', '2015-05-13 00:58:11'),
(2305, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041561126708984', '2015-05-13 00:58:11'),
(2306, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.053657054901123', '2015-05-13 00:58:11'),
(2307, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''27''', 'purchasetransaction/receiveItemPost', '0.049455881118774', '2015-05-13 00:58:47'),
(2308, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 23 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.043612003326416', '2015-05-13 00:58:47'),
(2309, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000023'' WHERE `ID` =  ''27''', 'purchasetransaction/receiveItemPost', '0.032211065292358', '2015-05-13 00:58:47'),
(2310, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000023'', ''GRN20150513[00000024]'', '' [ GRN20150513[00000024] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.092906951904297', '2015-05-13 00:58:47'),
(2311, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''25'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040378093719482', '2015-05-13 00:58:47'),
(2312, 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'', ''PO20150100000023'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150513[00000024]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04392409324646', '2015-05-13 00:58:47'),
(2313, 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, ''PO20150100000023'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150513[00000027]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042964935302734', '2015-05-13 00:58:47'),
(2314, 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` =  ''PO20150100000023''', 'purchasetransaction/receiveItemPost', '0.033178806304932', '2015-05-13 00:58:47'),
(2315, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''60''', 'Gltransaction/journalPosting', '0.03409218788147', '2015-05-13 00:59:27'),
(2316, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000023''', 'Gltransaction/journalPosting', '0.032156944274902', '2015-05-13 00:59:27'),
(2317, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028569936752319', '2015-05-13 00:59:27'),
(2318, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054363012313843', '2015-05-13 00:59:27'),
(2319, 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'', ''PI20150513'', ''2015-04-20'', ''IV02117410'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11286497116089', '2015-05-13 01:02:04'),
(2320, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (27, ''2'', ''26'', ''1'', ''PM2B200S003063013'', ''1'', ''16'', ''28104.98'', ''28104.98'', ''15'', ''6'', ''1686.3'', ''29791.28'')', 'aptransaction/savePurchaseRow', '0.043887853622437', '2015-05-13 01:02:04'),
(2321, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1686.3'', `totalAmount` = ''29791.28'' WHERE `ID` =  27', 'aptransaction/savePurchaseRow', '0.051707983016968', '2015-05-13 01:02:04'),
(2322, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =27', 'aptransaction/savePurchaseRow', '0.044662952423096', '2015-05-13 01:02:04'),
(2323, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''27'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.04111385345459', '2015-05-13 01:02:25'),
(2324, 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'', ''GRN20150513'', ''2015-04-20'', ''0'', ''IV02117410'', ''2'')', 'Aptransaction/invoicePosting', '0.049363136291504', '2015-05-13 01:02:25'),
(2325, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (28, ''27'', ''2'', ''26'', ''1'', -1, ''PM2B200S003063013'', ''1'', ''1'', ''1'', ''28104.98'', 28104.98)', 'Aptransaction/invoicePosting', '0.030512094497681', '2015-05-13 01:02:26'),
(2326, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 29 WHERE `ID` =  ''28''', 'Aptransaction/invoicePosting', '0.034945964813232', '2015-05-13 01:02:26'),
(2327, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.028792858123779', '2015-05-13 01:02:26'),
(2328, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000024'' WHERE `ID` =  ''27''', 'Aptransaction/invoicePosting', '0.067633867263794', '2015-05-13 01:02:26'),
(2329, 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'', ''AP20150100000024'', ''PI20150513[00000024]'', ''Purchase Invoice Confirm [ PI20150513[00000024] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 29791.28, 29791.28, ''2'')', 'Aptransaction/invoicePosting', '0.036333084106445', '2015-05-13 01:02:26'),
(2330, 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'', ''AP20150100000024'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000024]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030194044113159', '2015-05-13 01:02:26'),
(2331, 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, ''AP20150100000024'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000024]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032461881637573', '2015-05-13 01:02:26'),
(2332, 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, ''AP20150100000024'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150513[00000024]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030317068099976', '2015-05-13 01:02:26'),
(2333, 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, ''AP20150100000024'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150513[00000024]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032480955123901', '2015-05-13 01:02:26'),
(2334, 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` =  ''AP20150100000024''', 'Aptransaction/invoicePosting', '0.064819097518921', '2015-05-13 01:02:26'),
(2335, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''61''', 'Gltransaction/journalPosting', '0.037899017333984', '2015-05-13 01:03:26'),
(2336, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000024''', 'Gltransaction/journalPosting', '0.055428981781006', '2015-05-13 01:03:26'),
(2337, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.05482006072998', '2015-05-13 01:03:26'),
(2338, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.04054594039917', '2015-05-13 01:03:26'),
(2339, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043534994125366', '2015-05-13 01:03:26'),
(2340, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.052706003189087', '2015-05-13 01:03:26'),
(2341, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''28''', 'purchasetransaction/receiveItemPost', '0.042334794998169', '2015-05-13 01:03:49'),
(2342, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 24 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.032157897949219', '2015-05-13 01:03:49'),
(2343, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000024'' WHERE `ID` =  ''28''', 'purchasetransaction/receiveItemPost', '0.055431127548218', '2015-05-13 01:03:49'),
(2344, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000024'', ''GRN20150513[00000025]'', '' [ GRN20150513[00000025] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058145999908447', '2015-05-13 01:03:49'),
(2345, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''26'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041030883789062', '2015-05-13 01:03:49'),
(2346, 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'', ''PO20150100000024'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''GRN20150513[00000025]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031856060028076', '2015-05-13 01:03:49'),
(2347, 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, ''PO20150100000024'', ''[AXIA]PERODUA AXIA'', ''21'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''GRN20150513[00000028]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032889127731323', '2015-05-13 01:03:49'),
(2348, 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` =  ''PO20150100000024''', 'purchasetransaction/receiveItemPost', '0.032232999801636', '2015-05-13 01:03:49'),
(2349, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''62''', 'Gltransaction/journalPosting', '0.10157108306885', '2015-05-13 01:04:22'),
(2350, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000024''', 'Gltransaction/journalPosting', '0.099122047424316', '2015-05-13 01:04:22'),
(2351, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.062824964523315', '2015-05-13 01:04:22'),
(2352, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029742956161499', '2015-05-13 01:04:22');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2353, 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'', ''PI20150513'', ''2015-04-22'', ''IV02119561'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.097429990768433', '2015-05-13 01:06:48'),
(2354, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (28, ''2'', ''27'', ''1'', ''PM2B200S003064300'', ''1'', ''16'', ''34200.75'', ''34200.75'', ''15'', ''6'', ''2052.05'', ''36252.8'')', 'aptransaction/savePurchaseRow', '0.044341087341309', '2015-05-13 01:06:48'),
(2355, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2052.05'', `totalAmount` = ''36252.8'' WHERE `ID` =  28', 'aptransaction/savePurchaseRow', '0.040364027023315', '2015-05-13 01:06:48'),
(2356, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =28', 'aptransaction/savePurchaseRow', '0.04466700553894', '2015-05-13 01:06:48'),
(2357, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''28'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.044296026229858', '2015-05-13 01:07:05'),
(2358, 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'', ''GRN20150513'', ''2015-04-22'', ''0'', ''IV02119561'', ''2'')', 'Aptransaction/invoicePosting', '0.12496089935303', '2015-05-13 01:07:05'),
(2359, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (29, ''28'', ''2'', ''27'', ''1'', -1, ''PM2B200S003064300'', ''1'', ''1'', ''1'', ''34200.75'', 34200.75)', 'Aptransaction/invoicePosting', '0.11130690574646', '2015-05-13 01:07:05'),
(2360, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 30 WHERE `ID` =  ''29''', 'Aptransaction/invoicePosting', '0.032269954681396', '2015-05-13 01:07:05'),
(2361, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.031919002532959', '2015-05-13 01:07:05'),
(2362, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000025'' WHERE `ID` =  ''28''', 'Aptransaction/invoicePosting', '0.032255887985229', '2015-05-13 01:07:05'),
(2363, 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'', ''AP20150100000025'', ''PI20150513[00000025]'', ''Purchase Invoice Confirm [ PI20150513[00000025] ]'', ''3'', ''2015-04-22'', ''2015'', ''1'', 36252.8, 36252.8, ''2'')', 'Aptransaction/invoicePosting', '0.048531055450439', '2015-05-13 01:07:05'),
(2364, 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'', ''AP20150100000025'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''PI20150513[00000025]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.052969932556152', '2015-05-13 01:07:05'),
(2365, 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, ''AP20150100000025'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''PI20150513[00000025]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031836032867432', '2015-05-13 01:07:05'),
(2366, 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, ''AP20150100000025'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2052.05, ''1'', ''1'', ''2052.05'', ''1'', ''2015'', ''1'', ''PI20150513[00000025]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030267953872681', '2015-05-13 01:07:05'),
(2367, 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, ''AP20150100000025'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2052.05, ''1'', ''1'', ''2052.05'', ''1'', ''2015'', ''1'', ''PI20150513[00000025]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03252911567688', '2015-05-13 01:07:05'),
(2368, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36252.8, `total_amount_cr` = 36252.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000025''', 'Aptransaction/invoicePosting', '0.032173871994019', '2015-05-13 01:07:05'),
(2369, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''63''', 'Gltransaction/journalPosting', '0.4296281337738', '2015-05-13 01:08:15'),
(2370, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000025''', 'Gltransaction/journalPosting', '0.032219886779785', '2015-05-13 01:08:15'),
(2371, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.04825496673584', '2015-05-13 01:08:15'),
(2372, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029975175857544', '2015-05-13 01:08:15'),
(2373, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032176971435547', '2015-05-13 01:08:15'),
(2374, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.029994964599609', '2015-05-13 01:08:15'),
(2375, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''29''', 'purchasetransaction/receiveItemPost', '0.091352939605713', '2015-05-13 01:08:51'),
(2376, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 25 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051767110824585', '2015-05-13 01:08:51'),
(2377, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000025'' WHERE `ID` =  ''29''', 'purchasetransaction/receiveItemPost', '0.04435396194458', '2015-05-13 01:08:51'),
(2378, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000025'', ''GRN20150513[00000026]'', '' [ GRN20150513[00000026] ]'', ''8'', ''2015-04-22'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047534942626953', '2015-05-13 01:08:51'),
(2379, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''27'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.04083514213562', '2015-05-13 01:08:51'),
(2380, 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'', ''PO20150100000025'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''GRN20150513[00000026]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.064502000808716', '2015-05-13 01:08:51'),
(2381, 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, ''PO20150100000025'', ''[AXIA]PERODUA AXIA'', ''21'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''GRN20150513[00000029]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.066494941711426', '2015-05-13 01:08:52'),
(2382, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 34200.75, `total_amount_cr` = 34200.75, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000025''', 'purchasetransaction/receiveItemPost', '0.032166957855225', '2015-05-13 01:08:52'),
(2383, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''64''', 'Gltransaction/journalPosting', '0.045377016067505', '2015-05-13 01:09:28'),
(2384, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000025''', 'Gltransaction/journalPosting', '0.044261932373047', '2015-05-13 01:09:28'),
(2385, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028934001922607', '2015-05-13 01:09:28'),
(2386, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031877040863037', '2015-05-13 01:09:28'),
(2387, 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'', ''PI20150513'', ''2015-04-29'', ''IV02123449'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.053739786148071', '2015-05-13 01:12:41'),
(2388, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (29, ''2'', ''28'', ''1'', ''PM2M602S002227262'', ''1'', ''16'', ''38636.79'', ''38636.79'', ''15'', ''6'', ''2318.21'', ''40955'')', 'aptransaction/savePurchaseRow', '0.043256998062134', '2015-05-13 01:12:41'),
(2389, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2318.21'', `totalAmount` = ''40955'' WHERE `ID` =  29', 'aptransaction/savePurchaseRow', '0.051998138427734', '2015-05-13 01:12:41'),
(2390, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =29', 'aptransaction/savePurchaseRow', '0.03239893913269', '2015-05-13 01:12:41'),
(2391, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''29'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.10004210472107', '2015-05-13 01:13:03'),
(2392, 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'', ''GRN20150513'', ''2015-04-29'', ''0'', ''IV02123449'', ''2'')', 'Aptransaction/invoicePosting', '0.049407005310059', '2015-05-13 01:13:03'),
(2393, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (30, ''29'', ''2'', ''28'', ''1'', -1, ''PM2M602S002227262'', ''1'', ''1'', ''1'', ''38636.79'', 38636.79)', 'Aptransaction/invoicePosting', '0.043198823928833', '2015-05-13 01:13:03'),
(2394, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 31 WHERE `ID` =  ''30''', 'Aptransaction/invoicePosting', '0.055555105209351', '2015-05-13 01:13:03'),
(2395, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.054498910903931', '2015-05-13 01:13:03'),
(2396, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000026'' WHERE `ID` =  ''29''', 'Aptransaction/invoicePosting', '0.043272018432617', '2015-05-13 01:13:03'),
(2397, 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'', ''AP20150100000026'', ''PI20150513[00000026]'', ''Purchase Invoice Confirm [ PI20150513[00000026] ]'', ''3'', ''2015-04-29'', ''2015'', ''1'', 40955, 40955, ''2'')', 'Aptransaction/invoicePosting', '0.070101976394653', '2015-05-13 01:13:03'),
(2398, 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'', ''AP20150100000026'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150513[00000026]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.065014123916626', '2015-05-13 01:13:03'),
(2399, 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, ''AP20150100000026'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''PI20150513[00000026]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030197143554688', '2015-05-13 01:13:03'),
(2400, 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, ''AP20150100000026'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150513[00000026]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032572031021118', '2015-05-13 01:13:03'),
(2401, 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, ''AP20150100000026'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2318.21, ''1'', ''1'', ''2318.21'', ''1'', ''2015'', ''1'', ''PI20150513[00000026]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053017854690552', '2015-05-13 01:13:03'),
(2402, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40955, `total_amount_cr` = 40955, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000026''', 'Aptransaction/invoicePosting', '0.033171892166138', '2015-05-13 01:13:04'),
(2403, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''65''', 'Gltransaction/journalPosting', '0.099539041519165', '2015-05-13 01:14:08'),
(2404, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000026''', 'Gltransaction/journalPosting', '0.066390991210938', '2015-05-13 01:14:08'),
(2405, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.063791990280151', '2015-05-13 01:14:08'),
(2406, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.076321840286255', '2015-05-13 01:14:08'),
(2407, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05277681350708', '2015-05-13 01:14:08'),
(2408, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.06464409828186', '2015-05-13 01:14:08'),
(2409, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''30''', 'purchasetransaction/receiveItemPost', '0.032241821289062', '2015-05-13 01:14:48'),
(2410, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 26 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.065313100814819', '2015-05-13 01:14:48'),
(2411, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000026'' WHERE `ID` =  ''30''', 'purchasetransaction/receiveItemPost', '0.032263994216919', '2015-05-13 01:14:48'),
(2412, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000026'', ''GRN20150513[00000027]'', '' [ GRN20150513[00000027] ]'', ''8'', ''2015-04-29'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059646129608154', '2015-05-13 01:14:48'),
(2413, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''28'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040426969528198', '2015-05-13 01:14:48'),
(2414, 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'', ''PO20150100000026'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''1'', ''GRN20150513[00000027]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032193899154663', '2015-05-13 01:14:48'),
(2415, 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, ''PO20150100000026'', ''[MYVI]PERODUA MYVI'', ''21'', 38636.79, ''1'', ''1'', ''38636.79'', ''1'', ''2015'', ''GRN20150513[00000030]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032406091690063', '2015-05-13 01:14:48'),
(2416, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38636.79, `total_amount_cr` = 38636.79, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000026''', 'purchasetransaction/receiveItemPost', '0.033198118209839', '2015-05-13 01:14:49'),
(2417, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''66''', 'Gltransaction/journalPosting', '0.31596302986145', '2015-05-13 01:15:52'),
(2418, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000026''', 'Gltransaction/journalPosting', '0.044275999069214', '2015-05-13 01:15:52'),
(2419, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040395975112915', '2015-05-13 01:15:52'),
(2420, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042639017105103', '2015-05-13 01:15:52'),
(2421, 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'', ''PI20150513'', ''2015-04-18'', ''IV02116884'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.076601982116699', '2015-05-13 07:04:25'),
(2422, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (30, ''2'', ''29'', ''1'', ''PM2M502G002240118'', ''1'', ''16'', ''52338.76'', ''52338.76'', ''15'', ''6'', ''3140.33'', ''55479.09'')', 'aptransaction/savePurchaseRow', '0.077600002288818', '2015-05-13 07:04:25'),
(2423, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3140.33'', `totalAmount` = ''55479.09'' WHERE `ID` =  30', 'aptransaction/savePurchaseRow', '0.051784992218018', '2015-05-13 07:04:25'),
(2424, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =30', 'aptransaction/savePurchaseRow', '0.044686079025269', '2015-05-13 07:04:26'),
(2425, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''30'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.062984943389893', '2015-05-13 07:04:51'),
(2426, 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'', ''GRN20150513'', ''2015-04-18'', ''0'', ''IV02116884'', ''2'')', 'Aptransaction/invoicePosting', '0.048475027084351', '2015-05-13 07:04:51'),
(2427, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (31, ''30'', ''2'', ''29'', ''1'', -1, ''PM2M502G002240118'', ''1'', ''1'', ''1'', ''52338.76'', 52338.76)', 'Aptransaction/invoicePosting', '0.033115863800049', '2015-05-13 07:04:51'),
(2428, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 32 WHERE `ID` =  ''31''', 'Aptransaction/invoicePosting', '0.054512023925781', '2015-05-13 07:04:51'),
(2429, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.053632974624634', '2015-05-13 07:04:51'),
(2430, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000027'' WHERE `ID` =  ''30''', 'Aptransaction/invoicePosting', '0.043292045593262', '2015-05-13 07:04:51'),
(2431, 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'', ''AP20150100000027'', ''PI20150513[00000027]'', ''Purchase Invoice Confirm [ PI20150513[00000027] ]'', ''3'', ''2015-04-18'', ''2015'', ''1'', 55479.09, 55479.09, ''2'')', 'Aptransaction/invoicePosting', '0.037430047988892', '2015-05-13 07:04:51'),
(2432, 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'', ''AP20150100000027'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150513[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041855096817017', '2015-05-13 07:04:51'),
(2433, 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, ''AP20150100000027'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''PI20150513[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042943954467773', '2015-05-13 07:04:51'),
(2434, 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, ''AP20150100000027'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150513[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.041943073272705', '2015-05-13 07:04:51'),
(2435, 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, ''AP20150100000027'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 3140.33, ''1'', ''1'', ''3140.33'', ''1'', ''2015'', ''1'', ''PI20150513[00000027]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042968988418579', '2015-05-13 07:04:51'),
(2436, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 55479.09, `total_amount_cr` = 55479.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000027''', 'Aptransaction/invoicePosting', '0.065346956253052', '2015-05-13 07:04:51'),
(2437, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''67''', 'Gltransaction/journalPosting', '0.074165105819702', '2015-05-13 07:06:02'),
(2438, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000027''', 'Gltransaction/journalPosting', '0.066329956054688', '2015-05-13 07:06:03'),
(2439, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.049160003662109', '2015-05-13 07:06:03'),
(2440, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03069281578064', '2015-05-13 07:06:03'),
(2441, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031412124633789', '2015-05-13 07:06:03'),
(2442, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.030744075775146', '2015-05-13 07:06:03'),
(2443, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''31''', 'purchasetransaction/receiveItemPost', '0.032474040985107', '2015-05-13 07:06:50'),
(2444, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 27 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.03281307220459', '2015-05-13 07:06:50'),
(2445, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000027'' WHERE `ID` =  ''31''', 'purchasetransaction/receiveItemPost', '0.054497003555298', '2015-05-13 07:06:50'),
(2446, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000027'', ''GRN20150513[00000028]'', '' [ GRN20150513[00000028] ]'', ''8'', ''2015-04-18'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070265054702759', '2015-05-13 07:06:51'),
(2447, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''29'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.029644966125488', '2015-05-13 07:06:51'),
(2448, 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'', ''PO20150100000027'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''1'', ''GRN20150513[00000028]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054877996444702', '2015-05-13 07:06:51'),
(2449, 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, ''PO20150100000027'', ''[ALZA]PERODUA ALZA'', ''21'', 52338.76, ''1'', ''1'', ''52338.76'', ''1'', ''2015'', ''GRN20150513[00000031]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04289984703064', '2015-05-13 07:06:51'),
(2450, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 52338.76, `total_amount_cr` = 52338.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000027''', 'purchasetransaction/receiveItemPost', '0.033092021942139', '2015-05-13 07:06:51'),
(2451, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''68''', 'Gltransaction/journalPosting', '0.071618795394897', '2015-05-13 07:07:18'),
(2452, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000027''', 'Gltransaction/journalPosting', '0.032526016235352', '2015-05-13 07:07:19'),
(2453, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052206993103027', '2015-05-13 07:07:19'),
(2454, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030980825424194', '2015-05-13 07:07:19'),
(2455, 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'', ''PI20150513'', ''2015-04-09'', ''IV02107362'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.068769931793213', '2015-05-13 14:48:18'),
(2456, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (31, ''2'', ''30'', ''1'', ''PM2M602S002220116'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.05460000038147', '2015-05-13 14:48:19'),
(2457, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  31', 'aptransaction/savePurchaseRow', '0.050441026687622', '2015-05-13 14:48:19'),
(2458, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =31', 'aptransaction/savePurchaseRow', '0.055150032043457', '2015-05-13 14:48:19'),
(2459, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''31'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.032997131347656', '2015-05-13 14:48:36'),
(2460, 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'', ''GRN20150513'', ''2015-04-09'', ''0'', ''IV02107362'', ''2'')', 'Aptransaction/invoicePosting', '0.047936916351318', '2015-05-13 14:48:36'),
(2461, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (32, ''31'', ''2'', ''30'', ''1'', -1, ''PM2M602S002220116'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.0328369140625', '2015-05-13 14:48:36'),
(2462, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 33 WHERE `ID` =  ''32''', 'Aptransaction/invoicePosting', '0.03254508972168', '2015-05-13 14:48:36'),
(2463, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.031919002532959', '2015-05-13 14:48:36'),
(2464, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000028'' WHERE `ID` =  ''31''', 'Aptransaction/invoicePosting', '0.032449007034302', '2015-05-13 14:48:36'),
(2465, 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'', ''AP20150100000028'', ''PI20150513[00000028]'', ''Purchase Invoice Confirm [ PI20150513[00000028] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.047827005386353', '2015-05-13 14:48:36'),
(2466, 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'', ''AP20150100000028'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053009033203125', '2015-05-13 14:48:36'),
(2467, 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, ''AP20150100000028'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063282012939453', '2015-05-13 14:48:36'),
(2468, 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, ''AP20150100000028'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054661989212036', '2015-05-13 14:48:36'),
(2469, 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, ''AP20150100000028'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000028]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031583070755005', '2015-05-13 14:48:36'),
(2470, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000028''', 'Aptransaction/invoicePosting', '0.054483890533447', '2015-05-13 14:48:36'),
(2471, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''69''', 'Gltransaction/journalPosting', '0.074461936950684', '2015-05-13 14:49:41'),
(2472, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000028''', 'Gltransaction/journalPosting', '0.032653093338013', '2015-05-13 14:49:41'),
(2473, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.048680067062378', '2015-05-13 14:49:41'),
(2474, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030310153961182', '2015-05-13 14:49:41'),
(2475, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031476974487305', '2015-05-13 14:49:42'),
(2476, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.030342102050781', '2015-05-13 14:49:42'),
(2477, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''32''', 'purchasetransaction/receiveItemPost', '0.032737970352173', '2015-05-13 14:50:07'),
(2478, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 28 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.077049970626831', '2015-05-13 14:50:07'),
(2479, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000028'' WHERE `ID` =  ''32''', 'purchasetransaction/receiveItemPost', '0.043771982192993', '2015-05-13 14:50:07'),
(2480, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000028'', ''GRN20150513[00000029]'', '' [ GRN20150513[00000029] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070177793502808', '2015-05-13 14:50:07'),
(2481, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''30'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.029502868652344', '2015-05-13 14:50:07'),
(2482, 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'', ''PO20150100000028'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150513[00000029]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054501056671143', '2015-05-13 14:50:07');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2483, 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, ''PO20150100000028'', ''[MYVI]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150513[00000032]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.076597929000854', '2015-05-13 14:50:07'),
(2484, 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` =  ''PO20150100000028''', 'purchasetransaction/receiveItemPost', '0.0659019947052', '2015-05-13 14:50:08'),
(2485, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''70''', 'Gltransaction/journalPosting', '0.29970693588257', '2015-05-13 14:52:43'),
(2486, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000028''', 'Gltransaction/journalPosting', '0.043231010437012', '2015-05-13 14:52:43'),
(2487, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030370950698853', '2015-05-13 14:52:43'),
(2488, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030321836471558', '2015-05-13 14:52:43'),
(2489, 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'', ''PI20150513'', ''2015-04-09'', ''IV02107135'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12419605255127', '2015-05-13 14:56:13'),
(2490, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (32, ''2'', ''31'', ''1'', ''PM2M502G002239756'', ''1'', ''16'', ''51867.07'', ''51867.07'', ''15'', ''6'', ''3112.02'', ''54979.09'')', 'aptransaction/savePurchaseRow', '0.054818868637085', '2015-05-13 14:56:13'),
(2491, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3112.02'', `totalAmount` = ''54979.09'' WHERE `ID` =  32', 'aptransaction/savePurchaseRow', '0.029917001724243', '2015-05-13 14:56:13'),
(2492, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =32', 'aptransaction/savePurchaseRow', '0.033094882965088', '2015-05-13 14:56:13'),
(2493, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''32'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051255941390991', '2015-05-13 14:56:31'),
(2494, 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'', ''GRN20150513'', ''2015-04-09'', ''0'', ''IV02107135'', ''2'')', 'Aptransaction/invoicePosting', '0.092658996582031', '2015-05-13 14:56:31'),
(2495, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (33, ''32'', ''2'', ''31'', ''1'', -1, ''PM2M502G002239756'', ''1'', ''1'', ''1'', ''51867.07'', 51867.07)', 'Aptransaction/invoicePosting', '0.032619953155518', '2015-05-13 14:56:31'),
(2496, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 34 WHERE `ID` =  ''33''', 'Aptransaction/invoicePosting', '0.032850980758667', '2015-05-13 14:56:31'),
(2497, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.066193103790283', '2015-05-13 14:56:31'),
(2498, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000029'' WHERE `ID` =  ''32''', 'Aptransaction/invoicePosting', '0.032718896865845', '2015-05-13 14:56:31'),
(2499, 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'', ''AP20150100000029'', ''PI20150513[00000029]'', ''Purchase Invoice Confirm [ PI20150513[00000029] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 54979.09, 54979.09, ''2'')', 'Aptransaction/invoicePosting', '0.059031009674072', '2015-05-13 14:56:31'),
(2500, 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'', ''AP20150100000029'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''PI20150513[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064504861831665', '2015-05-13 14:56:31'),
(2501, 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, ''AP20150100000029'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''PI20150513[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031360864639282', '2015-05-13 14:56:31'),
(2502, 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, ''AP20150100000029'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 3112.02, ''1'', ''1'', ''3112.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030496120452881', '2015-05-13 14:56:31'),
(2503, 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, ''AP20150100000029'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 3112.02, ''1'', ''1'', ''3112.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000029]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032188892364502', '2015-05-13 14:56:31'),
(2504, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54979.09, `total_amount_cr` = 54979.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000029''', 'Aptransaction/invoicePosting', '0.032644987106323', '2015-05-13 14:56:31'),
(2505, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''71''', 'Gltransaction/journalPosting', '0.31676387786865', '2015-05-13 14:57:50'),
(2506, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000029''', 'Gltransaction/journalPosting', '0.032698154449463', '2015-05-13 14:57:50'),
(2507, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.060502052307129', '2015-05-13 14:57:50'),
(2508, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030132055282593', '2015-05-13 14:57:50'),
(2509, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031963109970093', '2015-05-13 14:57:50'),
(2510, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.029856204986572', '2015-05-13 14:57:50'),
(2511, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''33''', 'purchasetransaction/receiveItemPost', '0.098205089569092', '2015-05-13 14:58:14'),
(2512, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 29 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028974056243896', '2015-05-13 14:58:14'),
(2513, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000029'' WHERE `ID` =  ''33''', 'purchasetransaction/receiveItemPost', '0.033700942993164', '2015-05-13 14:58:14'),
(2514, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000029'', ''GRN20150513[00000030]'', '' [ GRN20150513[00000030] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059149026870728', '2015-05-13 14:58:14'),
(2515, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''31'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.030915975570679', '2015-05-13 14:58:14'),
(2516, 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'', ''PO20150100000029'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''GRN20150513[00000030]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032267093658447', '2015-05-13 14:58:14'),
(2517, 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, ''PO20150100000029'', ''[ALZA]PERODUA ALZA'', ''21'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''GRN20150513[00000033]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032332181930542', '2015-05-13 14:58:14'),
(2518, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51867.07, `total_amount_cr` = 51867.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000029''', 'purchasetransaction/receiveItemPost', '0.032691955566406', '2015-05-13 14:58:14'),
(2519, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''72''', 'Gltransaction/journalPosting', '0.071071147918701', '2015-05-13 14:58:53'),
(2520, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000029''', 'Gltransaction/journalPosting', '0.06596302986145', '2015-05-13 14:58:53'),
(2521, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037935018539429', '2015-05-13 14:58:53'),
(2522, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.075277090072632', '2015-05-13 14:58:53'),
(2523, 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'', ''PI20150513'', ''2015-04-16'', ''IV02115420'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.064025163650513', '2015-05-13 15:07:30'),
(2524, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (33, ''2'', ''32'', ''1'', ''PM2M502G002243548'', ''1'', ''16'', ''56820.08'', ''56820.08'', ''15'', ''6'', ''3409.2'', ''60229.28'')', 'aptransaction/savePurchaseRow', '0.12109589576721', '2015-05-13 15:07:30'),
(2525, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3409.2'', `totalAmount` = ''60229.28'' WHERE `ID` =  33', 'aptransaction/savePurchaseRow', '0.03036093711853', '2015-05-13 15:07:30'),
(2526, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =33', 'aptransaction/savePurchaseRow', '0.054958820343018', '2015-05-13 15:07:30'),
(2527, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''33'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033806085586548', '2015-05-13 15:07:50'),
(2528, 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'', ''GRN20150513'', ''2015-04-16'', ''0'', ''IV02115420'', ''2'')', 'Aptransaction/invoicePosting', '0.070358037948608', '2015-05-13 15:07:50'),
(2529, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (34, ''33'', ''2'', ''32'', ''1'', -1, ''PM2M502G002243548'', ''1'', ''1'', ''1'', ''56820.08'', 56820.08)', 'Aptransaction/invoicePosting', '0.032734870910645', '2015-05-13 15:07:50'),
(2530, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 35 WHERE `ID` =  ''34''', 'Aptransaction/invoicePosting', '0.032701969146729', '2015-05-13 15:07:50'),
(2531, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033273935317993', '2015-05-13 15:07:50'),
(2532, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000030'' WHERE `ID` =  ''33''', 'Aptransaction/invoicePosting', '0.032746076583862', '2015-05-13 15:07:50'),
(2533, 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'', ''AP20150100000030'', ''PI20150513[00000030]'', ''Purchase Invoice Confirm [ PI20150513[00000030] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 60229.28, 60229.28, ''2'')', 'Aptransaction/invoicePosting', '0.069861173629761', '2015-05-13 15:07:50'),
(2534, 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'', ''AP20150100000030'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150513[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064393997192383', '2015-05-13 15:07:50'),
(2535, 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, ''AP20150100000030'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''PI20150513[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042388916015625', '2015-05-13 15:07:50'),
(2536, 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, ''AP20150100000030'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150513[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07552695274353', '2015-05-13 15:07:50'),
(2537, 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, ''AP20150100000030'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 3409.2, ''1'', ''1'', ''3409.2'', ''1'', ''2015'', ''1'', ''PI20150513[00000030]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031320810317993', '2015-05-13 15:07:50'),
(2538, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60229.28, `total_amount_cr` = 60229.28, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000030''', 'Aptransaction/invoicePosting', '0.053892850875854', '2015-05-13 15:07:50'),
(2539, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''73''', 'Gltransaction/journalPosting', '0.28524899482727', '2015-05-13 15:09:01'),
(2540, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000030''', 'Gltransaction/journalPosting', '0.065895080566406', '2015-05-13 15:09:01'),
(2541, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.049921035766602', '2015-05-13 15:09:01'),
(2542, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029706001281738', '2015-05-13 15:09:01'),
(2543, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032393932342529', '2015-05-13 15:09:01'),
(2544, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.051841974258423', '2015-05-13 15:09:01'),
(2545, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''34''', 'purchasetransaction/receiveItemPost', '0.03361701965332', '2015-05-13 15:09:24'),
(2546, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 30 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.033590793609619', '2015-05-13 15:09:24'),
(2547, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000030'' WHERE `ID` =  ''34''', 'purchasetransaction/receiveItemPost', '0.053323030471802', '2015-05-13 15:09:24'),
(2548, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000030'', ''GRN20150513[00000031]'', '' [ GRN20150513[00000031] ]'', ''8'', ''2015-04-16'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.071575880050659', '2015-05-13 15:09:24'),
(2549, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''32'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031322956085205', '2015-05-13 15:09:24'),
(2550, 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'', ''PO20150100000030'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''1'', ''GRN20150513[00000031]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054498910903931', '2015-05-13 15:09:24'),
(2551, 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, ''PO20150100000030'', ''[ALZA]PERODUA ALZA'', ''21'', 56820.08, ''1'', ''1'', ''56820.08'', ''1'', ''2015'', ''GRN20150513[00000034]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032285928726196', '2015-05-13 15:09:24'),
(2552, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 56820.08, `total_amount_cr` = 56820.08, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000030''', 'purchasetransaction/receiveItemPost', '0.032651901245117', '2015-05-13 15:09:25'),
(2553, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''74''', 'Gltransaction/journalPosting', '0.084965944290161', '2015-05-13 15:10:04'),
(2554, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000030''', 'Gltransaction/journalPosting', '0.032686948776245', '2015-05-13 15:10:04'),
(2555, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027915000915527', '2015-05-13 15:10:04'),
(2556, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042446851730347', '2015-05-13 15:10:04'),
(2557, 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'', ''PI20150513'', ''2015-04-09'', ''IV02107094'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.086966037750244', '2015-05-13 15:13:17'),
(2558, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (34, ''2'', ''33'', ''1'', ''PM2M502G002237903'', ''1'', ''16'', ''57265.78'', ''57265.78'', ''15'', ''6'', ''3435.95'', ''60701.73'')', 'aptransaction/savePurchaseRow', '0.054643869400024', '2015-05-13 15:13:17'),
(2559, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3435.95'', `totalAmount` = ''60701.73'' WHERE `ID` =  34', 'aptransaction/savePurchaseRow', '0.051068067550659', '2015-05-13 15:13:17'),
(2560, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =34', 'aptransaction/savePurchaseRow', '0.045650005340576', '2015-05-13 15:13:17'),
(2561, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''34'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.096272945404053', '2015-05-13 15:13:36'),
(2562, 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'', ''GRN20150513'', ''2015-04-09'', ''0'', ''IV02107094'', ''2'')', 'Aptransaction/invoicePosting', '0.0818030834198', '2015-05-13 15:13:36'),
(2563, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (35, ''34'', ''2'', ''33'', ''1'', -1, ''PM2M502G002237903'', ''1'', ''1'', ''1'', ''57265.78'', 57265.78)', 'Aptransaction/invoicePosting', '0.030959844589233', '2015-05-13 15:13:36'),
(2564, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 36 WHERE `ID` =  ''35''', 'Aptransaction/invoicePosting', '0.034426927566528', '2015-05-13 15:13:36'),
(2565, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.033132791519165', '2015-05-13 15:13:36'),
(2566, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000031'' WHERE `ID` =  ''34''', 'Aptransaction/invoicePosting', '0.032770872116089', '2015-05-13 15:13:36'),
(2567, 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'', ''AP20150100000031'', ''PI20150513[00000031]'', ''Purchase Invoice Confirm [ PI20150513[00000031] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 60701.73, 60701.73, ''2'')', 'Aptransaction/invoicePosting', '0.058740139007568', '2015-05-13 15:13:36'),
(2568, 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'', ''AP20150100000031'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150513[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064350128173828', '2015-05-13 15:13:36'),
(2569, 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, ''AP20150100000031'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''PI20150513[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029682874679565', '2015-05-13 15:13:36'),
(2570, 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, ''AP20150100000031'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150513[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032985925674438', '2015-05-13 15:13:36'),
(2571, 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, ''AP20150100000031'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 3435.95, ''1'', ''1'', ''3435.95'', ''1'', ''2015'', ''1'', ''PI20150513[00000031]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029742956161499', '2015-05-13 15:13:36'),
(2572, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 60701.73, `total_amount_cr` = 60701.73, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000031''', 'Aptransaction/invoicePosting', '0.034240961074829', '2015-05-13 15:13:36'),
(2573, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''75''', 'Gltransaction/journalPosting', '0.079107999801636', '2015-05-13 15:14:36'),
(2574, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000031''', 'Gltransaction/journalPosting', '0.054862976074219', '2015-05-13 15:14:36'),
(2575, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.072448015213013', '2015-05-13 15:14:36'),
(2576, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029529809951782', '2015-05-13 15:14:36'),
(2577, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053663015365601', '2015-05-13 15:14:36'),
(2578, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.032031059265137', '2015-05-13 15:14:36'),
(2579, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''35''', 'purchasetransaction/receiveItemPost', '0.065716028213501', '2015-05-13 15:14:57'),
(2580, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 31 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028481960296631', '2015-05-13 15:14:57'),
(2581, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000031'' WHERE `ID` =  ''35''', 'purchasetransaction/receiveItemPost', '0.056373119354248', '2015-05-13 15:14:57'),
(2582, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000031'', ''GRN20150513[00000032]'', '' [ GRN20150513[00000032] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048043966293335', '2015-05-13 15:14:57'),
(2583, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''33'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031723976135254', '2015-05-13 15:14:57'),
(2584, 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'', ''PO20150100000031'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''1'', ''GRN20150513[00000032]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043426990509033', '2015-05-13 15:14:57'),
(2585, 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, ''PO20150100000031'', ''[ALZA]PERODUA ALZA'', ''21'', 57265.78, ''1'', ''1'', ''57265.78'', ''1'', ''2015'', ''GRN20150513[00000035]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043344974517822', '2015-05-13 15:14:57'),
(2586, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 57265.78, `total_amount_cr` = 57265.78, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000031''', 'purchasetransaction/receiveItemPost', '0.11018800735474', '2015-05-13 15:14:57'),
(2587, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''76''', 'Gltransaction/journalPosting', '0.064957857131958', '2015-05-13 15:15:27'),
(2588, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000031''', 'Gltransaction/journalPosting', '0.045518159866333', '2015-05-13 15:15:27'),
(2589, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027909994125366', '2015-05-13 15:15:27'),
(2590, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.043964862823486', '2015-05-13 15:15:27'),
(2591, 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'', ''PI20150513'', ''2015-04-13'', ''IV02112496'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.14454293251038', '2015-05-13 15:19:20'),
(2592, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (35, ''2'', ''34'', ''1'', ''PM2B200S003060816'', ''1'', ''16'', ''28104.98'', ''28104.98'', ''15'', ''6'', ''1686.3'', ''29791.28'')', 'aptransaction/savePurchaseRow', '0.054697036743164', '2015-05-13 15:19:20'),
(2593, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1686.3'', `totalAmount` = ''29791.28'' WHERE `ID` =  35', 'aptransaction/savePurchaseRow', '0.096999883651733', '2015-05-13 15:19:20'),
(2594, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =35', 'aptransaction/savePurchaseRow', '0.13256692886353', '2015-05-13 15:19:20'),
(2595, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''35'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.067895889282227', '2015-05-13 15:19:44'),
(2596, 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'', ''GRN20150513'', ''2015-04-13'', ''0'', ''IV02112496'', ''2'')', 'Aptransaction/invoicePosting', '0.11467695236206', '2015-05-13 15:19:45'),
(2597, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (36, ''35'', ''2'', ''34'', ''1'', -1, ''PM2B200S003060816'', ''1'', ''1'', ''1'', ''28104.98'', 28104.98)', 'Aptransaction/invoicePosting', '0.098974943161011', '2015-05-13 15:19:45'),
(2598, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 37 WHERE `ID` =  ''36''', 'Aptransaction/invoicePosting', '0.042819976806641', '2015-05-13 15:19:45'),
(2599, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.067312002182007', '2015-05-13 15:19:45'),
(2600, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000032'' WHERE `ID` =  ''35''', 'Aptransaction/invoicePosting', '0.032747030258179', '2015-05-13 15:19:45'),
(2601, 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'', ''AP20150100000032'', ''PI20150513[00000032]'', ''Purchase Invoice Confirm [ PI20150513[00000032] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 29791.28, 29791.28, ''2'')', 'Aptransaction/invoicePosting', '0.080471038818359', '2015-05-13 15:19:45'),
(2602, 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'', ''AP20150100000032'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.083868980407715', '2015-05-13 15:19:45'),
(2603, 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, ''AP20150100000032'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''PI20150513[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07068395614624', '2015-05-13 15:19:45'),
(2604, 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, ''AP20150100000032'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150513[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.094087839126587', '2015-05-13 15:19:45'),
(2605, 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, ''AP20150100000032'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1686.3, ''1'', ''1'', ''1686.3'', ''1'', ''2015'', ''1'', ''PI20150513[00000032]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.14064788818359', '2015-05-13 15:19:45'),
(2606, 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` =  ''AP20150100000032''', 'Aptransaction/invoicePosting', '0.06727409362793', '2015-05-13 15:19:45'),
(2607, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''77''', 'Gltransaction/journalPosting', '0.30888509750366', '2015-05-13 15:21:01'),
(2608, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000032''', 'Gltransaction/journalPosting', '0.071635961532593', '2015-05-13 15:21:01'),
(2609, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.039634943008423', '2015-05-13 15:21:01'),
(2610, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028833866119385', '2015-05-13 15:21:01');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2611, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033067941665649', '2015-05-13 15:21:01'),
(2612, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.028831005096436', '2015-05-13 15:21:01'),
(2613, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''36''', 'purchasetransaction/receiveItemPost', '0.034532070159912', '2015-05-13 15:21:32'),
(2614, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 32 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.034350872039795', '2015-05-13 15:21:32'),
(2615, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000032'' WHERE `ID` =  ''36''', 'purchasetransaction/receiveItemPost', '0.032788038253784', '2015-05-13 15:21:32'),
(2616, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000032'', ''GRN20150513[00000033]'', '' [ GRN20150513[00000033] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034655809402466', '2015-05-13 15:21:32'),
(2617, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''34'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.031599044799805', '2015-05-13 15:21:32'),
(2618, 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'', ''PO20150100000032'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''1'', ''GRN20150513[00000033]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065496921539307', '2015-05-13 15:21:32'),
(2619, 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, ''PO20150100000032'', ''[AXIA]PERODUA AXIA'', ''21'', 28104.98, ''1'', ''1'', ''28104.98'', ''1'', ''2015'', ''GRN20150513[00000036]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.04338812828064', '2015-05-13 15:21:32'),
(2620, 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` =  ''PO20150100000032''', 'purchasetransaction/receiveItemPost', '0.05477499961853', '2015-05-13 15:21:32'),
(2621, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''78''', 'Gltransaction/journalPosting', '0.080636024475098', '2015-05-13 15:22:08'),
(2622, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000032''', 'Gltransaction/journalPosting', '0.065839052200317', '2015-05-13 15:22:08'),
(2623, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.071845054626465', '2015-05-13 15:22:09'),
(2624, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.055205106735229', '2015-05-13 15:22:09'),
(2625, 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'', ''PI20150513'', ''2015-04-23'', ''IV02120289'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.23727703094482', '2015-05-13 15:40:31'),
(2626, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (36, ''2'', ''35'', ''1'', ''PM2B200S003063747'', ''1'', ''16'', ''34578.12'', ''34578.12'', ''15'', ''6'', ''2074.69'', ''36652.81'')', 'aptransaction/savePurchaseRow', '0.088413953781128', '2015-05-13 15:40:31'),
(2627, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2074.69'', `totalAmount` = ''36652.81'' WHERE `ID` =  36', 'aptransaction/savePurchaseRow', '0.038473129272461', '2015-05-13 15:40:31'),
(2628, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =36', 'aptransaction/savePurchaseRow', '0.03544807434082', '2015-05-13 15:40:31'),
(2629, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''36'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.0449059009552', '2015-05-13 15:40:49'),
(2630, 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'', ''GRN20150513'', ''2015-04-23'', ''0'', ''IV02120289'', ''2'')', 'Aptransaction/invoicePosting', '0.078102827072144', '2015-05-13 15:40:49'),
(2631, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (37, ''36'', ''2'', ''35'', ''1'', -1, ''PM2B200S003063747'', ''1'', ''1'', ''1'', ''34578.12'', 34578.12)', 'Aptransaction/invoicePosting', '0.11010789871216', '2015-05-13 15:40:49'),
(2632, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 38 WHERE `ID` =  ''37''', 'Aptransaction/invoicePosting', '0.088172197341919', '2015-05-13 15:40:49'),
(2633, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.045658826828003', '2015-05-13 15:40:49'),
(2634, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000033'' WHERE `ID` =  ''36''', 'Aptransaction/invoicePosting', '0.041676998138428', '2015-05-13 15:40:49'),
(2635, 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'', ''AP20150100000033'', ''PI20150513[00000033]'', ''Purchase Invoice Confirm [ PI20150513[00000033] ]'', ''3'', ''2015-04-23'', ''2015'', ''1'', 36652.81, 36652.81, ''2'')', 'Aptransaction/invoicePosting', '0.14934396743774', '2015-05-13 15:40:49'),
(2636, 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'', ''AP20150100000033'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 34578.12, ''1'', ''1'', ''34578.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.14191508293152', '2015-05-13 15:40:49'),
(2637, 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, ''AP20150100000033'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 34578.12, ''1'', ''1'', ''34578.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028775215148926', '2015-05-13 15:40:49'),
(2638, 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, ''AP20150100000033'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2074.69, ''1'', ''1'', ''2074.69'', ''1'', ''2015'', ''1'', ''PI20150513[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.055889129638672', '2015-05-13 15:40:49'),
(2639, 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, ''AP20150100000033'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2074.69, ''1'', ''1'', ''2074.69'', ''1'', ''2015'', ''1'', ''PI20150513[00000033]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053291797637939', '2015-05-13 15:40:49'),
(2640, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36652.81, `total_amount_cr` = 36652.81, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000033''', 'Aptransaction/invoicePosting', '0.043777942657471', '2015-05-13 15:40:49'),
(2641, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''79''', 'Gltransaction/journalPosting', '0.04032301902771', '2015-05-13 15:41:52'),
(2642, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000033''', 'Gltransaction/journalPosting', '0.076925039291382', '2015-05-13 15:41:52'),
(2643, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.073335886001587', '2015-05-13 15:41:52'),
(2644, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.086409091949463', '2015-05-13 15:41:52'),
(2645, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053032875061035', '2015-05-13 15:41:53'),
(2646, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.053138017654419', '2015-05-13 15:41:53'),
(2647, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''37''', 'purchasetransaction/receiveItemPost', '0.070230007171631', '2015-05-13 15:42:17'),
(2648, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 33 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.06351900100708', '2015-05-13 15:42:17'),
(2649, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000033'' WHERE `ID` =  ''37''', 'purchasetransaction/receiveItemPost', '0.04637885093689', '2015-05-13 15:42:17'),
(2650, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000033'', ''GRN20150513[00000034]'', '' [ GRN20150513[00000034] ]'', ''8'', ''2015-04-23'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.045342206954956', '2015-05-13 15:42:17'),
(2651, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''35'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.04057502746582', '2015-05-13 15:42:17'),
(2652, 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'', ''PO20150100000033'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 34578.12, ''1'', ''1'', ''34578.12'', ''1'', ''2015'', ''1'', ''GRN20150513[00000034]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.034370183944702', '2015-05-13 15:42:18'),
(2653, 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, ''PO20150100000033'', ''[AXIA]PERODUA AXIA'', ''21'', 34578.12, ''1'', ''1'', ''34578.12'', ''1'', ''2015'', ''GRN20150513[00000037]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.076596975326538', '2015-05-13 15:42:18'),
(2654, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 34578.12, `total_amount_cr` = 34578.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000033''', 'purchasetransaction/receiveItemPost', '0.041215896606445', '2015-05-13 15:42:18'),
(2655, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''80''', 'Gltransaction/journalPosting', '0.040083885192871', '2015-05-13 15:42:55'),
(2656, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000033''', 'Gltransaction/journalPosting', '0.065890073776245', '2015-05-13 15:42:55'),
(2657, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051138877868652', '2015-05-13 15:42:55'),
(2658, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.02873682975769', '2015-05-13 15:42:55'),
(2659, 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'', ''PI20150513'', ''2015-04-23'', ''IV02120268'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11252903938293', '2015-05-13 15:45:32'),
(2660, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (37, ''2'', ''36'', ''1'', ''PM2B200S003063376'', ''1'', ''16'', ''34200.75'', ''34200.75'', ''15'', ''6'', ''2052.05'', ''36252.8'')', 'aptransaction/savePurchaseRow', '0.046022891998291', '2015-05-13 15:45:32'),
(2661, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2052.05'', `totalAmount` = ''36252.8'' WHERE `ID` =  37', 'aptransaction/savePurchaseRow', '0.03085994720459', '2015-05-13 15:45:32'),
(2662, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =37', 'aptransaction/savePurchaseRow', '0.033061981201172', '2015-05-13 15:45:32'),
(2663, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''37'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.075088977813721', '2015-05-13 15:45:50'),
(2664, 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'', ''GRN20150513'', ''2015-04-23'', ''0'', ''IV02120268'', ''2'')', 'Aptransaction/invoicePosting', '0.062848091125488', '2015-05-13 15:45:50'),
(2665, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (38, ''37'', ''2'', ''36'', ''1'', -1, ''PM2B200S003063376'', ''1'', ''1'', ''1'', ''34200.75'', 34200.75)', 'Aptransaction/invoicePosting', '0.05475902557373', '2015-05-13 15:45:50'),
(2666, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 39 WHERE `ID` =  ''38''', 'Aptransaction/invoicePosting', '0.05498480796814', '2015-05-13 15:45:50'),
(2667, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.056954145431519', '2015-05-13 15:45:50'),
(2668, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000034'' WHERE `ID` =  ''37''', 'Aptransaction/invoicePosting', '0.041247129440308', '2015-05-13 15:45:50'),
(2669, 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'', ''AP20150100000034'', ''PI20150513[00000034]'', ''Purchase Invoice Confirm [ PI20150513[00000034] ]'', ''3'', ''2015-04-23'', ''2015'', ''1'', 36252.8, 36252.8, ''2'')', 'Aptransaction/invoicePosting', '0.061602830886841', '2015-05-13 15:45:50'),
(2670, 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'', ''AP20150100000034'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''PI20150513[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053391933441162', '2015-05-13 15:45:51'),
(2671, 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, ''AP20150100000034'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''PI20150513[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029309988021851', '2015-05-13 15:45:51'),
(2672, 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, ''AP20150100000034'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2052.05, ''1'', ''1'', ''2052.05'', ''1'', ''2015'', ''1'', ''PI20150513[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03339695930481', '2015-05-13 15:45:51'),
(2673, 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, ''AP20150100000034'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2052.05, ''1'', ''1'', ''2052.05'', ''1'', ''2015'', ''1'', ''PI20150513[00000034]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029289960861206', '2015-05-13 15:45:51'),
(2674, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36252.8, `total_amount_cr` = 36252.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000034''', 'Aptransaction/invoicePosting', '0.043227195739746', '2015-05-13 15:45:51'),
(2675, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''81''', 'Gltransaction/journalPosting', '0.06157398223877', '2015-05-13 15:46:50'),
(2676, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000034''', 'Gltransaction/journalPosting', '0.068692922592163', '2015-05-13 15:46:50'),
(2677, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.12898302078247', '2015-05-13 15:46:50'),
(2678, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.083394050598145', '2015-05-13 15:46:50'),
(2679, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042356014251709', '2015-05-13 15:46:50'),
(2680, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.04438591003418', '2015-05-13 15:46:50'),
(2681, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''38''', 'purchasetransaction/receiveItemPost', '0.10893201828003', '2015-05-13 15:48:04'),
(2682, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 34 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.03512978553772', '2015-05-13 15:48:04'),
(2683, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000034'' WHERE `ID` =  ''38''', 'purchasetransaction/receiveItemPost', '0.043732881546021', '2015-05-13 15:48:04'),
(2684, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000034'', ''GRN20150513[00000035]'', '' [ GRN20150513[00000035] ]'', ''8'', ''2015-04-23'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.082723140716553', '2015-05-13 15:48:04'),
(2685, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''36'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.33246493339539', '2015-05-13 15:48:04'),
(2686, 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'', ''PO20150100000034'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''1'', ''GRN20150513[00000035]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.51528215408325', '2015-05-13 15:48:04'),
(2687, 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, ''PO20150100000034'', ''[AXIA]PERODUA AXIA'', ''21'', 34200.75, ''1'', ''1'', ''34200.75'', ''1'', ''2015'', ''GRN20150513[00000038]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.046792030334473', '2015-05-13 15:48:04'),
(2688, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 34200.75, `total_amount_cr` = 34200.75, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000034''', 'purchasetransaction/receiveItemPost', '0.054903984069824', '2015-05-13 15:48:04'),
(2689, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''82''', 'Gltransaction/journalPosting', '0.081974983215332', '2015-05-13 15:48:38'),
(2690, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000034''', 'Gltransaction/journalPosting', '0.041121006011963', '2015-05-13 15:48:38'),
(2691, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.12814211845398', '2015-05-13 15:48:38'),
(2692, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.097120046615601', '2015-05-13 15:48:38'),
(2693, 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'', ''PI20150513'', ''2015-04-17'', ''IV02116151'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.077829122543335', '2015-05-13 15:55:12'),
(2694, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (38, ''2'', ''37'', ''1'', ''PM2B200S003062682'', ''1'', ''16'', ''34630.12'', ''34630.12'', ''15'', ''6'', ''2077.81'', ''36707.93'')', 'aptransaction/savePurchaseRow', '0.054551124572754', '2015-05-13 15:55:12'),
(2695, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2077.81'', `totalAmount` = ''36707.93'' WHERE `ID` =  38', 'aptransaction/savePurchaseRow', '0.064157962799072', '2015-05-13 15:55:12'),
(2696, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =38', 'aptransaction/savePurchaseRow', '0.044161081314087', '2015-05-13 15:55:12'),
(2697, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''38'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.049216985702515', '2015-05-13 15:55:31'),
(2698, 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'', ''GRN20150513'', ''2015-04-17'', ''0'', ''IV02116151'', ''2'')', 'Aptransaction/invoicePosting', '0.067352056503296', '2015-05-13 15:55:31'),
(2699, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (39, ''38'', ''2'', ''37'', ''1'', -1, ''PM2B200S003062682'', ''1'', ''1'', ''1'', ''34630.12'', 34630.12)', 'Aptransaction/invoicePosting', '0.054750919342041', '2015-05-13 15:55:31'),
(2700, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 40 WHERE `ID` =  ''39''', 'Aptransaction/invoicePosting', '0.029608011245728', '2015-05-13 15:55:31'),
(2701, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.082446813583374', '2015-05-13 15:55:31'),
(2702, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000035'' WHERE `ID` =  ''38''', 'Aptransaction/invoicePosting', '0.061007022857666', '2015-05-13 15:55:31'),
(2703, 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'', ''AP20150100000035'', ''PI20150513[00000035]'', ''Purchase Invoice Confirm [ PI20150513[00000035] ]'', ''3'', ''2015-04-17'', ''2015'', ''1'', 36707.93, 36707.93, ''2'')', 'Aptransaction/invoicePosting', '0.1194441318512', '2015-05-13 15:55:31'),
(2704, 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'', ''AP20150100000035'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 34630.12, ''1'', ''1'', ''34630.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.059639930725098', '2015-05-13 15:55:31'),
(2705, 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, ''AP20150100000035'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 34630.12, ''1'', ''1'', ''34630.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042373895645142', '2015-05-13 15:55:31'),
(2706, 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, ''AP20150100000035'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2077.81, ''1'', ''1'', ''2077.81'', ''1'', ''2015'', ''1'', ''PI20150513[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02800989151001', '2015-05-13 15:55:31'),
(2707, 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, ''AP20150100000035'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2077.81, ''1'', ''1'', ''2077.81'', ''1'', ''2015'', ''1'', ''PI20150513[00000035]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034379005432129', '2015-05-13 15:55:31'),
(2708, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36707.93, `total_amount_cr` = 36707.93, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000035''', 'Aptransaction/invoicePosting', '0.029495000839233', '2015-05-13 15:55:31'),
(2709, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''83''', 'Gltransaction/journalPosting', '0.095562934875488', '2015-05-13 15:56:44'),
(2710, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000035''', 'Gltransaction/journalPosting', '0.055307149887085', '2015-05-13 15:56:44'),
(2711, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.069958925247192', '2015-05-13 15:56:44'),
(2712, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.06748104095459', '2015-05-13 15:56:44'),
(2713, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053057909011841', '2015-05-13 15:56:44'),
(2714, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.027811050415039', '2015-05-13 15:56:44'),
(2715, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''39''', 'purchasetransaction/receiveItemPost', '0.035561084747314', '2015-05-13 15:57:11'),
(2716, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 35 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035432100296021', '2015-05-13 15:57:11'),
(2717, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000035'' WHERE `ID` =  ''39''', 'purchasetransaction/receiveItemPost', '0.029379844665527', '2015-05-13 15:57:11'),
(2718, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000035'', ''GRN20150513[00000036]'', '' [ GRN20150513[00000036] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.072504043579102', '2015-05-13 15:57:11'),
(2719, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''37'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033114910125732', '2015-05-13 15:57:11'),
(2720, 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'', ''PO20150100000035'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 34630.12, ''1'', ''1'', ''34630.12'', ''1'', ''2015'', ''1'', ''GRN20150513[00000036]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06548810005188', '2015-05-13 15:57:11'),
(2721, 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, ''PO20150100000035'', ''[AXIA]PERODUA AXIA'', ''21'', 34630.12, ''1'', ''1'', ''34630.12'', ''1'', ''2015'', ''GRN20150513[00000039]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028990030288696', '2015-05-13 15:57:11'),
(2722, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 34630.12, `total_amount_cr` = 34630.12, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000035''', 'purchasetransaction/receiveItemPost', '0.035994052886963', '2015-05-13 15:57:11'),
(2723, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''84''', 'Gltransaction/journalPosting', '0.066976070404053', '2015-05-13 15:57:47'),
(2724, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000035''', 'Gltransaction/journalPosting', '0.029218196868896', '2015-05-13 15:57:47'),
(2725, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0623939037323', '2015-05-13 15:57:47'),
(2726, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053073883056641', '2015-05-13 15:57:47'),
(2727, 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'', ''PI20150513'', ''2015-04-15'', ''IV02114338'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10042190551758', '2015-05-13 16:00:59'),
(2728, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (39, ''2'', ''38'', ''1'', ''PM2B200S003061884'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.046239137649536', '2015-05-13 16:00:59'),
(2729, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  39', 'aptransaction/savePurchaseRow', '0.031223058700562', '2015-05-13 16:00:59'),
(2730, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =39', 'aptransaction/savePurchaseRow', '0.029929161071777', '2015-05-13 16:00:59'),
(2731, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''39'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.048646926879883', '2015-05-13 16:01:21'),
(2732, 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'', ''GRN20150513'', ''2015-04-15'', ''0'', ''IV02114338'', ''2'')', 'Aptransaction/invoicePosting', '0.033953905105591', '2015-05-13 16:01:21'),
(2733, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (40, ''39'', ''2'', ''38'', ''1'', -1, ''PM2B200S003061884'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.035922050476074', '2015-05-13 16:01:21'),
(2734, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 41 WHERE `ID` =  ''40''', 'Aptransaction/invoicePosting', '0.054979085922241', '2015-05-13 16:01:22'),
(2735, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.039047956466675', '2015-05-13 16:01:22'),
(2736, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000036'' WHERE `ID` =  ''39''', 'Aptransaction/invoicePosting', '0.043264865875244', '2015-05-13 16:01:22'),
(2737, 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'', ''AP20150100000036'', ''PI20150513[00000036]'', ''Purchase Invoice Confirm [ PI20150513[00000036] ]'', ''3'', ''2015-04-15'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.050966024398804', '2015-05-13 16:01:22'),
(2738, 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'', ''AP20150100000036'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028002977371216', '2015-05-13 16:01:22'),
(2739, 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, ''AP20150100000036'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034543991088867', '2015-05-13 16:01:22'),
(2740, 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, ''AP20150100000036'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.028109073638916', '2015-05-13 16:01:22');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2741, 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, ''AP20150100000036'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000036]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034570932388306', '2015-05-13 16:01:22'),
(2742, 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` =  ''AP20150100000036''', 'Aptransaction/invoicePosting', '0.040518045425415', '2015-05-13 16:01:22'),
(2743, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''85''', 'Gltransaction/journalPosting', '0.069617033004761', '2015-05-13 16:02:17'),
(2744, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000036''', 'Gltransaction/journalPosting', '0.065875053405762', '2015-05-13 16:02:17'),
(2745, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.041176080703735', '2015-05-13 16:02:17'),
(2746, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027397871017456', '2015-05-13 16:02:17'),
(2747, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034715175628662', '2015-05-13 16:02:17'),
(2748, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.02734899520874', '2015-05-13 16:02:18'),
(2749, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''40''', 'purchasetransaction/receiveItemPost', '0.058041095733643', '2015-05-13 16:02:43'),
(2750, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 36 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035811901092529', '2015-05-13 16:02:43'),
(2751, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000036'' WHERE `ID` =  ''40''', 'purchasetransaction/receiveItemPost', '0.029484987258911', '2015-05-13 16:02:43'),
(2752, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000036'', ''GRN20150513[00000037]'', '' [ GRN20150513[00000037] ]'', ''8'', ''2015-04-15'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.061953067779541', '2015-05-13 16:02:43'),
(2753, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''38'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.033598899841309', '2015-05-13 16:02:43'),
(2754, 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'', ''PO20150100000036'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150513[00000037]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.061794996261597', '2015-05-13 16:02:43'),
(2755, 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, ''PO20150100000036'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150513[00000040]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.091213941574097', '2015-05-13 16:02:43'),
(2756, 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` =  ''PO20150100000036''', 'purchasetransaction/receiveItemPost', '0.043760776519775', '2015-05-13 16:02:44'),
(2757, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''86''', 'Gltransaction/journalPosting', '0.061583042144775', '2015-05-13 16:03:04'),
(2758, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000036''', 'Gltransaction/journalPosting', '0.065205097198486', '2015-05-13 16:03:04'),
(2759, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030559062957764', '2015-05-13 16:03:04'),
(2760, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042673826217651', '2015-05-13 16:03:04'),
(2761, 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'', ''PI20150513'', ''2015-04-03'', ''IV02100178'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12958598136902', '2015-05-13 16:19:49'),
(2762, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (40, ''2'', ''39'', ''1'', ''PM2M602S002223434'', ''1'', ''16'', ''40989.62'', ''40989.62'', ''15'', ''6'', ''2459.38'', ''43449'')', 'aptransaction/savePurchaseRow', '0.05467700958252', '2015-05-13 16:19:49'),
(2763, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2459.38'', `totalAmount` = ''43449'' WHERE `ID` =  40', 'aptransaction/savePurchaseRow', '0.028084993362427', '2015-05-13 16:19:50'),
(2764, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =40', 'aptransaction/savePurchaseRow', '0.035987138748169', '2015-05-13 16:19:50'),
(2765, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''40'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.033822059631348', '2015-05-13 16:20:07'),
(2766, 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'', ''GRN20150513'', ''2015-04-03'', ''0'', ''IV02100178'', ''2'')', 'Aptransaction/invoicePosting', '0.079575061798096', '2015-05-13 16:20:07'),
(2767, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (41, ''40'', ''2'', ''39'', ''1'', -1, ''PM2M602S002223434'', ''1'', ''1'', ''1'', ''40989.62'', 40989.62)', 'Aptransaction/invoicePosting', '0.05478310585022', '2015-05-13 16:20:07'),
(2768, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 42 WHERE `ID` =  ''41''', 'Aptransaction/invoicePosting', '0.029145002365112', '2015-05-13 16:20:07'),
(2769, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.065528154373169', '2015-05-13 16:20:07'),
(2770, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000037'' WHERE `ID` =  ''40''', 'Aptransaction/invoicePosting', '0.035896062850952', '2015-05-13 16:20:07'),
(2771, 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'', ''AP20150100000037'', ''PI20150513[00000037]'', ''Purchase Invoice Confirm [ PI20150513[00000037] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 43449, 43449, ''2'')', 'Aptransaction/invoicePosting', '0.05885910987854', '2015-05-13 16:20:07'),
(2772, 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'', ''AP20150100000037'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150513[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.07555079460144', '2015-05-13 16:20:07'),
(2773, 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, ''AP20150100000037'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150513[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.042315006256104', '2015-05-13 16:20:07'),
(2774, 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, ''AP20150100000037'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150513[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.038754940032959', '2015-05-13 16:20:07'),
(2775, 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, ''AP20150100000037'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150513[00000037]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.031882047653198', '2015-05-13 16:20:07'),
(2776, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43449, `total_amount_cr` = 43449, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000037''', 'Aptransaction/invoicePosting', '0.091124057769775', '2015-05-13 16:20:07'),
(2777, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''87''', 'Gltransaction/journalPosting', '0.333664894104', '2015-05-13 16:21:11'),
(2778, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000037''', 'Gltransaction/journalPosting', '0.14341807365417', '2015-05-13 16:21:11'),
(2779, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.041656970977783', '2015-05-13 16:21:11'),
(2780, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026885986328125', '2015-05-13 16:21:11'),
(2781, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03523588180542', '2015-05-13 16:21:11'),
(2782, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.026833057403564', '2015-05-13 16:21:11'),
(2783, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''41''', 'purchasetransaction/receiveItemPost', '0.036251068115234', '2015-05-13 16:21:37'),
(2784, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 37 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.035691022872925', '2015-05-13 16:21:37'),
(2785, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000037'' WHERE `ID` =  ''41''', 'purchasetransaction/receiveItemPost', '0.029113054275513', '2015-05-13 16:21:37'),
(2786, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000037'', ''GRN20150513[00000038]'', '' [ GRN20150513[00000038] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.062124013900757', '2015-05-13 16:21:37'),
(2787, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''39'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.045109033584595', '2015-05-13 16:21:37'),
(2788, 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'', ''PO20150100000037'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''GRN20150513[00000038]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065571069717407', '2015-05-13 16:21:37'),
(2789, 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, ''PO20150100000037'', ''[MYVI]PERODUA MYVI'', ''21'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''GRN20150513[00000041]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028645992279053', '2015-05-13 16:21:37'),
(2790, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40989.62, `total_amount_cr` = 40989.62, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000037''', 'purchasetransaction/receiveItemPost', '0.036283016204834', '2015-05-13 16:21:37'),
(2791, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''88''', 'Gltransaction/journalPosting', '0.069573163986206', '2015-05-13 16:22:14'),
(2792, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000037''', 'Gltransaction/journalPosting', '0.028403997421265', '2015-05-13 16:22:14'),
(2793, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.063225984573364', '2015-05-13 16:22:14'),
(2794, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026679992675781', '2015-05-13 16:22:14'),
(2795, 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'', ''PI20150513'', ''2015-04-03'', ''IV02100503'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11149787902832', '2015-05-13 16:24:29'),
(2796, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (41, ''2'', ''40'', ''1'', ''PM2M603S002124029'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.050430059432983', '2015-05-13 16:24:29'),
(2797, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  41', 'aptransaction/savePurchaseRow', '0.071882009506226', '2015-05-13 16:24:29'),
(2798, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =41', 'aptransaction/savePurchaseRow', '0.036890029907227', '2015-05-13 16:24:29'),
(2799, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''41'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.028098106384277', '2015-05-13 16:24:46'),
(2800, 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'', ''GRN20150513'', ''2015-04-03'', ''0'', ''IV02100503'', ''2'')', 'Aptransaction/invoicePosting', '0.062813997268677', '2015-05-13 16:24:46'),
(2801, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (42, ''41'', ''2'', ''40'', ''1'', -1, ''PM2M603S002124029'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.029069900512695', '2015-05-13 16:24:46'),
(2802, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 43 WHERE `ID` =  ''42''', 'Aptransaction/invoicePosting', '0.064543008804321', '2015-05-13 16:24:46'),
(2803, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.068874835968018', '2015-05-13 16:24:46'),
(2804, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000038'' WHERE `ID` =  ''41''', 'Aptransaction/invoicePosting', '0.040267944335938', '2015-05-13 16:24:46'),
(2805, 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'', ''AP20150100000038'', ''PI20150513[00000038]'', ''Purchase Invoice Confirm [ PI20150513[00000038] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.073271989822388', '2015-05-13 16:24:46'),
(2806, 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'', ''AP20150100000038'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027160167694092', '2015-05-13 16:24:46'),
(2807, 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, ''AP20150100000038'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035392999649048', '2015-05-13 16:24:47'),
(2808, 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, ''AP20150100000038'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150513[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027318954467773', '2015-05-13 16:24:47'),
(2809, 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, ''AP20150100000038'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150513[00000038]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035336017608643', '2015-05-13 16:24:47'),
(2810, 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` =  ''AP20150100000038''', 'Aptransaction/invoicePosting', '0.028439998626709', '2015-05-13 16:24:47'),
(2811, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''89''', 'Gltransaction/journalPosting', '0.27663707733154', '2015-05-13 16:25:56'),
(2812, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000038''', 'Gltransaction/journalPosting', '0.048235893249512', '2015-05-13 16:25:56'),
(2813, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.064056873321533', '2015-05-13 16:25:56'),
(2814, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026726961135864', '2015-05-13 16:25:56'),
(2815, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034890174865723', '2015-05-13 16:25:56'),
(2816, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.026690006256104', '2015-05-13 16:25:56'),
(2817, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''42''', 'purchasetransaction/receiveItemPost', '0.036620855331421', '2015-05-13 16:26:28'),
(2818, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 38 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.043631076812744', '2015-05-13 16:26:28'),
(2819, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000038'' WHERE `ID` =  ''42''', 'purchasetransaction/receiveItemPost', '0.036779880523682', '2015-05-13 16:26:28'),
(2820, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000038'', ''GRN20150513[00000039]'', '' [ GRN20150513[00000039] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.059041023254395', '2015-05-13 16:26:28'),
(2821, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''40'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034400939941406', '2015-05-13 16:26:28'),
(2822, 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'', ''PO20150100000038'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150513[00000039]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.039279937744141', '2015-05-13 16:26:28'),
(2823, 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, ''PO20150100000038'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150513[00000042]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.036352157592773', '2015-05-13 16:26:28'),
(2824, 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` =  ''PO20150100000038''', 'purchasetransaction/receiveItemPost', '0.028661966323853', '2015-05-13 16:26:28'),
(2825, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''90''', 'Gltransaction/journalPosting', '0.073523998260498', '2015-05-13 16:27:42'),
(2826, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000038''', 'Gltransaction/journalPosting', '0.028516054153442', '2015-05-13 16:27:42'),
(2827, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.056120157241821', '2015-05-13 16:27:42'),
(2828, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.053198099136353', '2015-05-13 16:27:42'),
(2829, 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'', ''PI20150513'', ''2015-04-20'', ''IV02117572'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.12232899665833', '2015-05-13 16:29:45'),
(2830, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (42, ''2'', ''41'', ''1'', ''PM2M502G002241388'', ''1'', ''16'', ''51867.07'', ''51867.07'', ''15'', ''6'', ''3112.02'', ''54979.09'')', 'aptransaction/savePurchaseRow', '0.054605007171631', '2015-05-13 16:29:45'),
(2831, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''3112.02'', `totalAmount` = ''54979.09'' WHERE `ID` =  42', 'aptransaction/savePurchaseRow', '0.027472972869873', '2015-05-13 16:29:45'),
(2832, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =42', 'aptransaction/savePurchaseRow', '0.037269830703735', '2015-05-13 16:29:45'),
(2833, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''42'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038233995437622', '2015-05-13 16:30:00'),
(2834, 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'', ''GRN20150513'', ''2015-04-20'', ''0'', ''IV02117572'', ''2'')', 'Aptransaction/invoicePosting', '0.069739103317261', '2015-05-13 16:30:00'),
(2835, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (43, ''42'', ''2'', ''41'', ''1'', -1, ''PM2M502G002241388'', ''1'', ''1'', ''1'', ''51867.07'', 51867.07)', 'Aptransaction/invoicePosting', '0.028204917907715', '2015-05-13 16:30:00'),
(2836, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 44 WHERE `ID` =  ''43''', 'Aptransaction/invoicePosting', '0.037252187728882', '2015-05-13 16:30:00'),
(2837, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.036795854568481', '2015-05-13 16:30:00'),
(2838, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000039'' WHERE `ID` =  ''42''', 'Aptransaction/invoicePosting', '0.051029920578003', '2015-05-13 16:30:00'),
(2839, 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'', ''AP20150100000039'', ''PI20150513[00000039]'', ''Purchase Invoice Confirm [ PI20150513[00000039] ]'', ''3'', ''2015-04-20'', ''2015'', ''1'', 54979.09, 54979.09, ''2'')', 'Aptransaction/invoicePosting', '0.0517258644104', '2015-05-13 16:30:00'),
(2840, 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'', ''AP20150100000039'', 1, ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''PI20150513[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064383029937744', '2015-05-13 16:30:00'),
(2841, 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, ''AP20150100000039'', ''[ALZA]'', ''38'', ''PERODUA SALES SDN BHD'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''PI20150513[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026944160461426', '2015-05-13 16:30:00'),
(2842, 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, ''AP20150100000039'', ''[ALZA]'', ''34'', ''PERODUA SALES SDN BHD'', 3112.02, ''1'', ''1'', ''3112.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.046757936477661', '2015-05-13 16:30:00'),
(2843, 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, ''AP20150100000039'', ''[ALZA]'', ''138'', ''PERODUA SALES SDN BHD'', 3112.02, ''1'', ''1'', ''3112.02'', ''1'', ''2015'', ''1'', ''PI20150513[00000039]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026899814605713', '2015-05-13 16:30:01'),
(2844, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 54979.09, `total_amount_cr` = 54979.09, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000039''', 'Aptransaction/invoicePosting', '0.037033081054688', '2015-05-13 16:30:01'),
(2845, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''91''', 'Gltransaction/journalPosting', '0.093957901000977', '2015-05-13 16:31:10'),
(2846, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000039''', 'Gltransaction/journalPosting', '0.033918142318726', '2015-05-13 16:31:10'),
(2847, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.036653995513916', '2015-05-13 16:31:10'),
(2848, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.11306595802307', '2015-05-13 16:31:10'),
(2849, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041899919509888', '2015-05-13 16:31:10'),
(2850, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.064101934432983', '2015-05-13 16:31:10'),
(2851, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''43''', 'purchasetransaction/receiveItemPost', '0.040138006210327', '2015-05-13 16:31:34'),
(2852, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 39 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.05226993560791', '2015-05-13 16:31:34'),
(2853, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000039'' WHERE `ID` =  ''43''', 'purchasetransaction/receiveItemPost', '0.028361082077026', '2015-05-13 16:31:34'),
(2854, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000039'', ''GRN20150513[00000040]'', '' [ GRN20150513[00000040] ]'', ''8'', ''2015-04-20'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058696031570435', '2015-05-13 16:31:34'),
(2855, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''41'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034198999404907', '2015-05-13 16:31:34'),
(2856, 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'', ''PO20150100000039'', 1, ''[ALZA]PERODUA ALZA'', ''38'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''1'', ''GRN20150513[00000040]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.038569927215576', '2015-05-13 16:31:34'),
(2857, 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, ''PO20150100000039'', ''[ALZA]PERODUA ALZA'', ''21'', 51867.07, ''1'', ''1'', ''51867.07'', ''1'', ''2015'', ''GRN20150513[00000043]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037184000015259', '2015-05-13 16:31:34'),
(2858, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 51867.07, `total_amount_cr` = 51867.07, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000039''', 'purchasetransaction/receiveItemPost', '0.038886070251465', '2015-05-13 16:31:34'),
(2859, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''92''', 'Gltransaction/journalPosting', '0.086171865463257', '2015-05-13 16:32:18'),
(2860, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000039''', 'Gltransaction/journalPosting', '0.043747901916504', '2015-05-13 16:32:18'),
(2861, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.03601598739624', '2015-05-13 16:32:18'),
(2862, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041413068771362', '2015-05-13 16:32:18'),
(2863, 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'', ''PI20150513'', ''2015-04-11'', ''IV02110647'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10990595817566', '2015-05-13 16:37:11'),
(2864, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (43, ''2'', ''42'', ''1'', ''PM2M602S002220984'', ''1'', ''16'', ''40989.62'', ''40989.62'', ''15'', ''6'', ''2459.38'', ''43449'')', 'aptransaction/savePurchaseRow', '0.048683166503906', '2015-05-13 16:37:11'),
(2865, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2459.38'', `totalAmount` = ''43449'' WHERE `ID` =  43', 'aptransaction/savePurchaseRow', '0.037747144699097', '2015-05-13 16:37:11'),
(2866, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =43', 'aptransaction/savePurchaseRow', '0.038080930709839', '2015-05-13 16:37:11'),
(2867, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''43'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.051995038986206', '2015-05-13 16:37:30'),
(2868, 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'', ''GRN20150513'', ''2015-04-11'', ''0'', ''IV02110647'', ''2'')', 'Aptransaction/invoicePosting', '0.05977201461792', '2015-05-13 16:37:30'),
(2869, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (44, ''43'', ''2'', ''42'', ''1'', -1, ''PM2M602S002220984'', ''1'', ''1'', ''1'', ''40989.62'', 40989.62)', 'Aptransaction/invoicePosting', '0.036767959594727', '2015-05-13 16:37:30');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(2870, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 45 WHERE `ID` =  ''44''', 'Aptransaction/invoicePosting', '0.039649963378906', '2015-05-13 16:37:30'),
(2871, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.036616086959839', '2015-05-13 16:37:30'),
(2872, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000040'' WHERE `ID` =  ''43''', 'Aptransaction/invoicePosting', '0.028613090515137', '2015-05-13 16:37:30'),
(2873, 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'', ''AP20150100000040'', ''PI20150513[00000040]'', ''Purchase Invoice Confirm [ PI20150513[00000040] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 43449, 43449, ''2'')', 'Aptransaction/invoicePosting', '0.051532983779907', '2015-05-13 16:37:30'),
(2874, 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'', ''AP20150100000040'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150513[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064497232437134', '2015-05-13 16:37:30'),
(2875, 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, ''AP20150100000040'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''PI20150513[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075537919998169', '2015-05-13 16:37:30'),
(2876, 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, ''AP20150100000040'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150513[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064425945281982', '2015-05-13 16:37:30'),
(2877, 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, ''AP20150100000040'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2459.38, ''1'', ''1'', ''2459.38'', ''1'', ''2015'', ''1'', ''PI20150513[00000040]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037184000015259', '2015-05-13 16:37:30'),
(2878, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43449, `total_amount_cr` = 43449, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000040''', 'Aptransaction/invoicePosting', '0.037852048873901', '2015-05-13 16:37:30'),
(2879, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''93''', 'Gltransaction/journalPosting', '0.093651056289673', '2015-05-13 16:38:41'),
(2880, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000040''', 'Gltransaction/journalPosting', '0.038501977920532', '2015-05-13 16:38:41'),
(2881, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.064774990081787', '2015-05-13 16:38:41'),
(2882, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048286914825439', '2015-05-13 16:38:41'),
(2883, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035551071166992', '2015-05-13 16:38:41'),
(2884, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.026179790496826', '2015-05-13 16:38:41'),
(2885, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''44''', 'purchasetransaction/receiveItemPost', '0.037344217300415', '2015-05-13 16:39:04'),
(2886, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 40 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.026289939880371', '2015-05-13 16:39:04'),
(2887, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000040'' WHERE `ID` =  ''44''', 'purchasetransaction/receiveItemPost', '0.028064012527466', '2015-05-13 16:39:04'),
(2888, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000040'', ''GRN20150513[00000041]'', '' [ GRN20150513[00000041] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.063238143920898', '2015-05-13 16:39:04'),
(2889, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''42'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.03515887260437', '2015-05-13 16:39:04'),
(2890, 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'', ''PO20150100000040'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''1'', ''GRN20150513[00000041]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06029200553894', '2015-05-13 16:39:04'),
(2891, 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, ''PO20150100000040'', ''[MYVI]PERODUA MYVI'', ''21'', 40989.62, ''1'', ''1'', ''40989.62'', ''1'', ''2015'', ''GRN20150513[00000044]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037510871887207', '2015-05-13 16:39:04'),
(2892, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40989.62, `total_amount_cr` = 40989.62, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000040''', 'purchasetransaction/receiveItemPost', '0.03852915763855', '2015-05-13 16:39:04'),
(2893, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''94''', 'Gltransaction/journalPosting', '0.037149906158447', '2015-05-13 16:39:39'),
(2894, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000040''', 'Gltransaction/journalPosting', '0.028002023696899', '2015-05-13 16:39:40'),
(2895, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.059165954589844', '2015-05-13 16:39:40'),
(2896, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.05364203453064', '2015-05-13 16:39:40'),
(2897, 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'', ''PI20150513'', ''2015-04-13'', ''IV02113088'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1121129989624', '2015-05-13 16:43:00'),
(2898, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (44, ''2'', ''43'', ''1'', ''PM2M603S002124836'', ''1'', ''16'', ''46571.12'', ''46571.12'', ''15'', ''6'', ''2794.27'', ''49365.39'')', 'aptransaction/savePurchaseRow', '0.05521297454834', '2015-05-13 16:43:00'),
(2899, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2794.27'', `totalAmount` = ''49365.39'' WHERE `ID` =  44', 'aptransaction/savePurchaseRow', '0.097649097442627', '2015-05-13 16:43:00'),
(2900, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =44', 'aptransaction/savePurchaseRow', '0.044127941131592', '2015-05-13 16:43:00'),
(2901, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''44'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.050590038299561', '2015-05-13 16:43:17'),
(2902, 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'', ''GRN20150513'', ''2015-04-13'', ''0'', ''IV02113088'', ''2'')', 'Aptransaction/invoicePosting', '0.058670997619629', '2015-05-13 16:43:17'),
(2903, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (45, ''44'', ''2'', ''43'', ''1'', -1, ''PM2M603S002124836'', ''1'', ''1'', ''1'', ''46571.12'', 46571.12)', 'Aptransaction/invoicePosting', '0.038573026657104', '2015-05-13 16:43:17'),
(2904, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 46 WHERE `ID` =  ''45''', 'Aptransaction/invoicePosting', '0.037986040115356', '2015-05-13 16:43:17'),
(2905, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.037631034851074', '2015-05-13 16:43:17'),
(2906, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000041'' WHERE `ID` =  ''44''', 'Aptransaction/invoicePosting', '0.028061866760254', '2015-05-13 16:43:17'),
(2907, 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'', ''AP20150100000041'', ''PI20150513[00000041]'', ''Purchase Invoice Confirm [ PI20150513[00000041] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 49365.39, 49365.39, ''2'')', 'Aptransaction/invoicePosting', '0.052187919616699', '2015-05-13 16:43:17'),
(2908, 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'', ''AP20150100000041'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000041]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064499855041504', '2015-05-13 16:43:17'),
(2909, 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, ''AP20150100000041'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''PI20150513[00000041]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.058315992355347', '2015-05-13 16:43:17'),
(2910, 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, ''AP20150100000041'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150513[00000041]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037607908248901', '2015-05-13 16:43:17'),
(2911, 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, ''AP20150100000041'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2794.27, ''1'', ''1'', ''2794.27'', ''1'', ''2015'', ''1'', ''PI20150513[00000041]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.037208080291748', '2015-05-13 16:43:17'),
(2912, 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` =  ''AP20150100000041''', 'Aptransaction/invoicePosting', '0.03787899017334', '2015-05-13 16:43:17'),
(2913, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''95''', 'Gltransaction/journalPosting', '0.077002048492432', '2015-05-13 16:44:16'),
(2914, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000041''', 'Gltransaction/journalPosting', '0.026724100112915', '2015-05-13 16:44:16'),
(2915, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.076260089874268', '2015-05-13 16:44:16'),
(2916, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036324977874756', '2015-05-13 16:44:16'),
(2917, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036471128463745', '2015-05-13 16:44:16'),
(2918, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.036345958709717', '2015-05-13 16:44:16'),
(2919, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''45''', 'purchasetransaction/receiveItemPost', '0.10227084159851', '2015-05-13 16:44:42'),
(2920, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 41 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051161050796509', '2015-05-13 16:44:42'),
(2921, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000041'' WHERE `ID` =  ''45''', 'purchasetransaction/receiveItemPost', '0.038029909133911', '2015-05-13 16:44:42'),
(2922, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000041'', ''GRN20150513[00000042]'', '' [ GRN20150513[00000042] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.053383111953735', '2015-05-13 16:44:42'),
(2923, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''43'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.034960985183716', '2015-05-13 16:44:42'),
(2924, 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'', ''PO20150100000041'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''1'', ''GRN20150513[00000042]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.038167953491211', '2015-05-13 16:44:42'),
(2925, 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, ''PO20150100000041'', ''[MYVI]PERODUA MYVI'', ''21'', 46571.12, ''1'', ''1'', ''46571.12'', ''1'', ''2015'', ''GRN20150513[00000045]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037531137466431', '2015-05-13 16:44:42'),
(2926, 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` =  ''PO20150100000041''', 'purchasetransaction/receiveItemPost', '0.038435935974121', '2015-05-13 16:44:42'),
(2927, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''96''', 'Gltransaction/journalPosting', '0.08100700378418', '2015-05-13 16:45:13'),
(2928, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000041''', 'Gltransaction/journalPosting', '0.038412094116211', '2015-05-13 16:45:13'),
(2929, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.040976047515869', '2015-05-13 16:45:13'),
(2930, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.070137023925781', '2015-05-13 16:45:13'),
(2931, 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'', ''PI20150513'', ''2015-04-13'', ''IV02112921'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11706495285034', '2015-05-13 16:47:37'),
(2932, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (45, ''2'', ''44'', ''1'', ''PM2M602S002223932'', ''1'', ''16'', ''38337.43'', ''38337.43'', ''15'', ''6'', ''2300.25'', ''40637.68'')', 'aptransaction/savePurchaseRow', '0.054744005203247', '2015-05-13 16:47:37'),
(2933, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2300.25'', `totalAmount` = ''40637.68'' WHERE `ID` =  45', 'aptransaction/savePurchaseRow', '0.037824869155884', '2015-05-13 16:47:37'),
(2934, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =45', 'aptransaction/savePurchaseRow', '0.027085065841675', '2015-05-13 16:47:37'),
(2935, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''45'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.050530910491943', '2015-05-13 16:48:03'),
(2936, 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'', ''GRN20150513'', ''2015-04-13'', ''0'', ''IV02112921'', ''2'')', 'Aptransaction/invoicePosting', '0.054331064224243', '2015-05-13 16:48:03'),
(2937, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (46, ''45'', ''2'', ''44'', ''1'', -1, ''PM2M602S002223932'', ''1'', ''1'', ''1'', ''38337.43'', 38337.43)', 'Aptransaction/invoicePosting', '0.043706893920898', '2015-05-13 16:48:03'),
(2938, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 47 WHERE `ID` =  ''46''', 'Aptransaction/invoicePosting', '0.055005073547363', '2015-05-13 16:48:03'),
(2939, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.054563045501709', '2015-05-13 16:48:03'),
(2940, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000042'' WHERE `ID` =  ''45''', 'Aptransaction/invoicePosting', '0.076036930084229', '2015-05-13 16:48:03'),
(2941, 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'', ''AP20150100000042'', ''PI20150513[00000042]'', ''Purchase Invoice Confirm [ PI20150513[00000042] ]'', ''3'', ''2015-04-13'', ''2015'', ''1'', 40637.68, 40637.68, ''2'')', 'Aptransaction/invoicePosting', '0.032341957092285', '2015-05-13 16:48:03'),
(2942, 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'', ''AP20150100000042'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 38337.43, ''1'', ''1'', ''38337.43'', ''1'', ''2015'', ''1'', ''PI20150513[00000042]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.075433015823364', '2015-05-13 16:48:03'),
(2943, 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, ''AP20150100000042'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 38337.43, ''1'', ''1'', ''38337.43'', ''1'', ''2015'', ''1'', ''PI20150513[00000042]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036893844604492', '2015-05-13 16:48:03'),
(2944, 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, ''AP20150100000042'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2300.25, ''1'', ''1'', ''2300.25'', ''1'', ''2015'', ''1'', ''PI20150513[00000042]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03687596321106', '2015-05-13 16:48:03'),
(2945, 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, ''AP20150100000042'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2300.25, ''1'', ''1'', ''2300.25'', ''1'', ''2015'', ''1'', ''PI20150513[00000042]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.048051118850708', '2015-05-13 16:48:03'),
(2946, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 40637.68, `total_amount_cr` = 40637.68, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000042''', 'Aptransaction/invoicePosting', '0.038161993026733', '2015-05-13 16:48:03'),
(2947, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''97''', 'Gltransaction/journalPosting', '0.12542796134949', '2015-05-13 16:49:02'),
(2948, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000042''', 'Gltransaction/journalPosting', '0.054342985153198', '2015-05-13 16:49:02'),
(2949, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.031816959381104', '2015-05-13 16:49:02'),
(2950, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.058197021484375', '2015-05-13 16:49:02'),
(2951, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.025912046432495', '2015-05-13 16:49:02'),
(2952, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.04215407371521', '2015-05-13 16:49:02'),
(2953, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''46''', 'purchasetransaction/receiveItemPost', '0.026947975158691', '2015-05-13 16:49:24'),
(2954, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 42 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027100086212158', '2015-05-13 16:49:24'),
(2955, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000042'' WHERE `ID` =  ''46''', 'purchasetransaction/receiveItemPost', '0.037987947463989', '2015-05-13 16:49:24'),
(2956, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000042'', ''GRN20150513[00000043]'', '' [ GRN20150513[00000043] ]'', ''8'', ''2015-04-13'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.06471586227417', '2015-05-13 16:49:24'),
(2957, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''44'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.02488899230957', '2015-05-13 16:49:24'),
(2958, 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'', ''PO20150100000042'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 38337.43, ''1'', ''1'', ''38337.43'', ''1'', ''2015'', ''1'', ''GRN20150513[00000043]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.098767042160034', '2015-05-13 16:49:24'),
(2959, 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, ''PO20150100000042'', ''[MYVI]PERODUA MYVI'', ''21'', 38337.43, ''1'', ''1'', ''38337.43'', ''1'', ''2015'', ''GRN20150513[00000046]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065518140792847', '2015-05-13 16:49:24'),
(2960, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38337.43, `total_amount_cr` = 38337.43, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000042''', 'purchasetransaction/receiveItemPost', '0.038493156433105', '2015-05-13 16:49:24'),
(2961, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''98''', 'Gltransaction/journalPosting', '0.078437089920044', '2015-05-13 16:49:55'),
(2962, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000042''', 'Gltransaction/journalPosting', '0.11019206047058', '2015-05-13 16:49:55'),
(2963, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.054084062576294', '2015-05-13 16:49:55'),
(2964, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.036412954330444', '2015-05-13 16:49:55'),
(2965, 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'', ''PI20150513'', ''2015-04-17'', ''IV02116018'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.069671869277954', '2015-05-13 16:53:37'),
(2966, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (46, ''2'', ''45'', ''1'', ''PM2B200S003062003'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.03828501701355', '2015-05-13 16:53:37'),
(2967, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  46', 'aptransaction/savePurchaseRow', '0.043115854263306', '2015-05-13 16:53:37'),
(2968, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =46', 'aptransaction/savePurchaseRow', '0.060127973556519', '2015-05-13 16:53:37'),
(2969, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''46'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.060767889022827', '2015-05-13 16:53:57'),
(2970, 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'', ''GRN20150513'', ''2015-04-17'', ''0'', ''IV02116018'', ''2'')', 'Aptransaction/invoicePosting', '0.064939975738525', '2015-05-13 16:53:57'),
(2971, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (47, ''46'', ''2'', ''45'', ''1'', -1, ''PM2B200S003062003'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.038160085678101', '2015-05-13 16:53:57'),
(2972, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 48 WHERE `ID` =  ''47''', 'Aptransaction/invoicePosting', '0.038402080535889', '2015-05-13 16:53:57'),
(2973, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.026782035827637', '2015-05-13 16:53:57'),
(2974, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000043'' WHERE `ID` =  ''46''', 'Aptransaction/invoicePosting', '0.038367986679077', '2015-05-13 16:53:57'),
(2975, 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'', ''AP20150100000043'', ''PI20150513[00000043]'', ''Purchase Invoice Confirm [ PI20150513[00000043] ]'', ''3'', ''2015-04-17'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.041810035705566', '2015-05-13 16:53:57'),
(2976, 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'', ''AP20150100000043'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000043]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.053436994552612', '2015-05-13 16:53:57'),
(2977, 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, ''AP20150100000043'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150513[00000043]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036395072937012', '2015-05-13 16:53:57'),
(2978, 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, ''AP20150100000043'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000043]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054028987884521', '2015-05-13 16:53:57'),
(2979, 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, ''AP20150100000043'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150513[00000043]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036753177642822', '2015-05-13 16:53:57'),
(2980, 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` =  ''AP20150100000043''', 'Aptransaction/invoicePosting', '0.038273096084595', '2015-05-13 16:53:57'),
(2981, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''99''', 'Gltransaction/journalPosting', '0.30559611320496', '2015-05-13 16:55:00'),
(2982, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000043''', 'Gltransaction/journalPosting', '0.054362058639526', '2015-05-13 16:55:00'),
(2983, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.059435129165649', '2015-05-13 16:55:00'),
(2984, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.048030138015747', '2015-05-13 16:55:00'),
(2985, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042003870010376', '2015-05-13 16:55:00'),
(2986, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.057861089706421', '2015-05-13 16:55:00'),
(2987, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''47''', 'purchasetransaction/receiveItemPost', '0.09458589553833', '2015-05-13 16:55:22'),
(2988, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 43 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.051332950592041', '2015-05-13 16:55:22'),
(2989, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000043'' WHERE `ID` =  ''47''', 'purchasetransaction/receiveItemPost', '0.055399894714355', '2015-05-13 16:55:22'),
(2990, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000043'', ''GRN20150513[00000044]'', '' [ GRN20150513[00000044] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.042341947555542', '2015-05-13 16:55:22'),
(2991, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''45'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.025253057479858', '2015-05-13 16:55:22'),
(2992, 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'', ''PO20150100000043'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150513[00000044]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.037024974822998', '2015-05-13 16:55:22'),
(2993, 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, ''PO20150100000043'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150513[00000047]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027662038803101', '2015-05-13 16:55:22'),
(2994, 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` =  ''PO20150100000043''', 'purchasetransaction/receiveItemPost', '0.059489011764526', '2015-05-13 16:55:22'),
(2995, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''47''', 'purchasetransaction/receiveItemPost', '0.00056099891662598', '2015-05-13 16:55:23'),
(2996, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.064785957336426', '2015-05-13 16:55:23'),
(2997, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000044'' WHERE `ID` =  ''47''', 'purchasetransaction/receiveItemPost', '0.044380903244019', '2015-05-13 16:55:23'),
(2998, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000044'', ''GRN20150513[00000044]'', '' [ GRN20150513[00000044] ]'', ''8'', ''2015-04-17'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058509826660156', '2015-05-13 16:55:23'),
(2999, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''100''', 'Gltransaction/journalPosting', '0.035380125045776', '2015-05-13 16:56:59'),
(3000, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000043''', 'Gltransaction/journalPosting', '0.054301977157593', '2015-05-13 16:56:59');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3001, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.059430122375488', '2015-05-13 16:56:59'),
(3002, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.025832176208496', '2015-05-13 16:56:59'),
(3003, 2, 2, '::1', 'update', 'UPDATE `comp_purchase_order` SET `updateAble` = 0 WHERE `ID` =  0', 'receiveItems/receivecancel', '0.074097156524658', '2015-05-13 17:00:59'),
(3004, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''101''', 'Gltransaction/journalPosting', '0.072370052337646', '2015-05-13 17:06:08'),
(3005, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000044''', 'Gltransaction/journalPosting', '0.039463996887207', '2015-05-13 17:06:08'),
(3006, 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-09'', ''IV02107368'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.143226146698', '2015-05-14 10:09:11'),
(3007, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (47, ''2'', ''46'', ''1'', ''PM2M602S002221283'', ''1'', ''16'', ''38714.79'', ''38714.79'', ''15'', ''6'', ''2322.89'', ''41037.68'')', 'aptransaction/savePurchaseRow', '0.054677963256836', '2015-05-14 10:09:11'),
(3008, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2322.89'', `totalAmount` = ''41037.68'' WHERE `ID` =  47', 'aptransaction/savePurchaseRow', '0.058035135269165', '2015-05-14 10:09:11'),
(3009, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =47', 'aptransaction/savePurchaseRow', '0.043658971786499', '2015-05-14 10:09:11'),
(3010, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''47'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.071958065032959', '2015-05-14 10:09:31'),
(3011, 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-09'', ''0'', ''IV02107368'', ''2'')', 'Aptransaction/invoicePosting', '0.093124151229858', '2015-05-14 10:09:31'),
(3012, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (48, ''47'', ''2'', ''46'', ''1'', -1, ''PM2M602S002221283'', ''1'', ''1'', ''1'', ''38714.79'', 38714.79)', 'Aptransaction/invoicePosting', '0.038513898849487', '2015-05-14 10:09:31'),
(3013, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 49 WHERE `ID` =  ''48''', 'Aptransaction/invoicePosting', '0.037998914718628', '2015-05-14 10:09:31'),
(3014, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 44 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.026927947998047', '2015-05-14 10:09:31'),
(3015, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000044'' WHERE `ID` =  ''47''', 'Aptransaction/invoicePosting', '0.037873983383179', '2015-05-14 10:09:31'),
(3016, 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'', ''AP20150100000044'', ''PI20150514[00000044]'', ''Purchase Invoice Confirm [ PI20150514[00000044] ]'', ''3'', ''2015-04-09'', ''2015'', ''1'', 41037.68, 41037.68, ''2'')', 'Aptransaction/invoicePosting', '0.042822122573853', '2015-05-14 10:09:31'),
(3017, 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'', ''AP20150100000044'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150514[00000044]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.047508001327515', '2015-05-14 10:09:31'),
(3018, 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, ''AP20150100000044'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''PI20150514[00000044]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02619194984436', '2015-05-14 10:09:31'),
(3019, 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, ''AP20150100000044'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150514[00000044]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.036017894744873', '2015-05-14 10:09:31'),
(3020, 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, ''AP20150100000044'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2322.89, ''1'', ''1'', ''2322.89'', ''1'', ''2015'', ''1'', ''PI20150514[00000044]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.026691198348999', '2015-05-14 10:09:31'),
(3021, 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` =  ''AP20150100000044''', 'Aptransaction/invoicePosting', '0.037338972091675', '2015-05-14 10:09:31'),
(3022, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''102''', 'Gltransaction/journalPosting', '0.31849098205566', '2015-05-14 10:10:41'),
(3023, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000044''', 'Gltransaction/journalPosting', '0.02850604057312', '2015-05-14 10:10:41'),
(3024, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.051383018493652', '2015-05-14 10:10:41'),
(3025, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.035559892654419', '2015-05-14 10:10:41'),
(3026, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037312984466553', '2015-05-14 10:10:41'),
(3027, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.057723999023438', '2015-05-14 10:10:41'),
(3028, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''48''', 'purchasetransaction/receiveItemPost', '0.099471092224121', '2015-05-14 10:11:05'),
(3029, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.027501106262207', '2015-05-14 10:11:05'),
(3030, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000045'' WHERE `ID` =  ''48''', 'purchasetransaction/receiveItemPost', '0.036759853363037', '2015-05-14 10:11:05'),
(3031, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000045'', ''GRN20150514[00000045]'', '' [ GRN20150514[00000045] ]'', ''8'', ''2015-04-09'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.070223093032837', '2015-05-14 10:11:05'),
(3032, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''46'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.025151968002319', '2015-05-14 10:11:05'),
(3033, 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'', ''PO20150100000045'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''1'', ''GRN20150514[00000045]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058828115463257', '2015-05-14 10:11:05'),
(3034, 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, ''PO20150100000045'', ''[MYVI]PERODUA MYVI'', ''21'', 38714.79, ''1'', ''1'', ''38714.79'', ''1'', ''2015'', ''GRN20150514[00000048]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.027950048446655', '2015-05-14 10:11:05'),
(3035, 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` =  ''PO20150100000045''', 'purchasetransaction/receiveItemPost', '0.048097848892212', '2015-05-14 10:11:05'),
(3036, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''103''', 'Gltransaction/journalPosting', '0.090446949005127', '2015-05-14 10:11:53'),
(3037, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000045''', 'Gltransaction/journalPosting', '0.028450012207031', '2015-05-14 10:11:53'),
(3038, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.1044020652771', '2015-05-14 10:11:53'),
(3039, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026834964752197', '2015-05-14 10:11:53'),
(3040, 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'', ''IV02100465'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10466313362122', '2015-05-14 10:14:20'),
(3041, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (48, ''2'', ''47'', ''1'', ''PM2M603S002123701'', ''1'', ''16'', ''46219.76'', ''46219.76'', ''15'', ''6'', ''2773.19'', ''48992.95'')', 'aptransaction/savePurchaseRow', '0.039076089859009', '2015-05-14 10:14:20'),
(3042, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2773.19'', `totalAmount` = ''48992.95'' WHERE `ID` =  48', 'aptransaction/savePurchaseRow', '0.03696084022522', '2015-05-14 10:14:20'),
(3043, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =48', 'aptransaction/savePurchaseRow', '0.028568029403687', '2015-05-14 10:14:20'),
(3044, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''48'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.12612318992615', '2015-05-14 10:14:39'),
(3045, 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'', ''IV02100465'', ''2'')', 'Aptransaction/invoicePosting', '0.043678998947144', '2015-05-14 10:14:39'),
(3046, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (49, ''48'', ''2'', ''47'', ''1'', -1, ''PM2M603S002123701'', ''1'', ''1'', ''1'', ''46219.76'', 46219.76)', 'Aptransaction/invoicePosting', '0.037147998809814', '2015-05-14 10:14:39'),
(3047, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 50 WHERE `ID` =  ''49''', 'Aptransaction/invoicePosting', '0.054446935653687', '2015-05-14 10:14:39'),
(3048, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 45 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.086925983428955', '2015-05-14 10:14:39'),
(3049, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000045'' WHERE `ID` =  ''48''', 'Aptransaction/invoicePosting', '0.099051952362061', '2015-05-14 10:14:39'),
(3050, 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'', ''AP20150100000045'', ''PI20150514[00000045]'', ''Purchase Invoice Confirm [ PI20150514[00000045] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 48992.95, 48992.95, ''2'')', 'Aptransaction/invoicePosting', '0.053603172302246', '2015-05-14 10:14:39'),
(3051, 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'', ''AP20150100000045'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150514[00000045]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03523588180542', '2015-05-14 10:14:39'),
(3052, 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, ''AP20150100000045'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''PI20150514[00000045]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03843092918396', '2015-05-14 10:14:40'),
(3053, 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, ''AP20150100000045'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150514[00000045]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035336971282959', '2015-05-14 10:14:40'),
(3054, 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, ''AP20150100000045'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2773.19, ''1'', ''1'', ''2773.19'', ''1'', ''2015'', ''1'', ''PI20150514[00000045]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027290105819702', '2015-05-14 10:14:40'),
(3055, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 48992.95, `total_amount_cr` = 48992.95, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000045''', 'Aptransaction/invoicePosting', '0.047758817672729', '2015-05-14 10:14:40'),
(3056, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''104''', 'Gltransaction/journalPosting', '0.079004049301147', '2015-05-14 10:15:45'),
(3057, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000045''', 'Gltransaction/journalPosting', '0.069975137710571', '2015-05-14 10:15:45'),
(3058, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.070233106613159', '2015-05-14 10:15:46'),
(3059, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027411937713623', '2015-05-14 10:15:46'),
(3060, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034639835357666', '2015-05-14 10:15:46'),
(3061, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.027395009994507', '2015-05-14 10:15:46'),
(3062, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''49''', 'purchasetransaction/receiveItemPost', '0.039771795272827', '2015-05-14 10:16:11'),
(3063, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028564929962158', '2015-05-14 10:16:11'),
(3064, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000046'' WHERE `ID` =  ''49''', 'purchasetransaction/receiveItemPost', '0.047845840454102', '2015-05-14 10:16:11'),
(3065, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000046'', ''GRN20150514[00000046]'', '' [ GRN20150514[00000046] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.054909944534302', '2015-05-14 10:16:11'),
(3066, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''47'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.026378870010376', '2015-05-14 10:16:11'),
(3067, 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'', ''PO20150100000046'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''1'', ''GRN20150514[00000046]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.047019004821777', '2015-05-14 10:16:11'),
(3068, 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, ''PO20150100000046'', ''[MYVI]PERODUA MYVI'', ''21'', 46219.76, ''1'', ''1'', ''46219.76'', ''1'', ''2015'', ''GRN20150514[00000049]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.028839826583862', '2015-05-14 10:16:11'),
(3069, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 46219.76, `total_amount_cr` = 46219.76, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000046''', 'purchasetransaction/receiveItemPost', '0.054787874221802', '2015-05-14 10:16:11'),
(3070, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''105''', 'Gltransaction/journalPosting', '0.059828042984009', '2015-05-14 10:16:45'),
(3071, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000046''', 'Gltransaction/journalPosting', '0.043262004852295', '2015-05-14 10:16:45'),
(3072, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.026116132736206', '2015-05-14 10:16:45'),
(3073, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034400224685669', '2015-05-14 10:16:45'),
(3074, 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'', ''IV02100291'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.10280990600586', '2015-05-14 10:28:17'),
(3075, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (49, ''2'', ''48'', ''1'', ''PM2M602S002224352'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.063042879104614', '2015-05-14 10:28:17'),
(3076, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  49', 'aptransaction/savePurchaseRow', '0.036211013793945', '2015-05-14 10:28:17'),
(3077, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =49', 'aptransaction/savePurchaseRow', '0.029630899429321', '2015-05-14 10:28:17'),
(3078, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''49'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.052700042724609', '2015-05-14 10:28:35'),
(3079, 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'', ''IV02100291'', ''2'')', 'Aptransaction/invoicePosting', '0.11114883422852', '2015-05-14 10:28:35'),
(3080, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (50, ''49'', ''2'', ''48'', ''1'', -1, ''PM2M602S002224352'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.080841064453125', '2015-05-14 10:28:35'),
(3081, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 51 WHERE `ID` =  ''50''', 'Aptransaction/invoicePosting', '0.066039800643921', '2015-05-14 10:28:35'),
(3082, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 46 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.075095891952515', '2015-05-14 10:28:35'),
(3083, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000046'' WHERE `ID` =  ''49''', 'Aptransaction/invoicePosting', '0.030215978622437', '2015-05-14 10:28:35'),
(3084, 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'', ''AP20150100000046'', ''PI20150514[00000046]'', ''Purchase Invoice Confirm [ PI20150514[00000046] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.047942876815796', '2015-05-14 10:28:35'),
(3085, 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'', ''AP20150100000046'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000046]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.068229913711548', '2015-05-14 10:28:35'),
(3086, 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, ''AP20150100000046'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000046]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.02744197845459', '2015-05-14 10:28:35'),
(3087, 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, ''AP20150100000046'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000046]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.035306930541992', '2015-05-14 10:28:35'),
(3088, 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, ''AP20150100000046'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000046]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027372121810913', '2015-05-14 10:28:35'),
(3089, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000046''', 'Aptransaction/invoicePosting', '0.036632061004639', '2015-05-14 10:28:35'),
(3090, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''106''', 'Gltransaction/journalPosting', '0.091599941253662', '2015-05-14 10:29:37'),
(3091, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000046''', 'Gltransaction/journalPosting', '0.028981924057007', '2015-05-14 10:29:38'),
(3092, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.071155071258545', '2015-05-14 10:29:38'),
(3093, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.027088165283203', '2015-05-14 10:29:38'),
(3094, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.034724950790405', '2015-05-14 10:29:38'),
(3095, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.026675939559937', '2015-05-14 10:29:38'),
(3096, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''50''', 'purchasetransaction/receiveItemPost', '0.08034086227417', '2015-05-14 10:30:00'),
(3097, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.024818897247314', '2015-05-14 10:30:00'),
(3098, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000047'' WHERE `ID` =  ''50''', 'purchasetransaction/receiveItemPost', '0.036328077316284', '2015-05-14 10:30:00'),
(3099, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000047'', ''GRN20150514[00000047]'', '' [ GRN20150514[00000047] ]'', ''8'', ''2015-04-03'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.058426856994629', '2015-05-14 10:30:00'),
(3100, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''48'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.026103973388672', '2015-05-14 10:30:00'),
(3101, 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'', ''PO20150100000047'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150514[00000047]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.035423994064331', '2015-05-14 10:30:00'),
(3102, 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, ''PO20150100000047'', ''[MYVI]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150514[00000050]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.043870210647583', '2015-05-14 10:30:01'),
(3103, 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` =  ''PO20150100000047''', 'purchasetransaction/receiveItemPost', '0.11014699935913', '2015-05-14 10:30:01'),
(3104, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''107''', 'Gltransaction/journalPosting', '0.31694602966309', '2015-05-14 10:30:41'),
(3105, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000047''', 'Gltransaction/journalPosting', '0.16480207443237', '2015-05-14 10:30:41'),
(3106, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.070650815963745', '2015-05-14 10:30:41'),
(3107, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028036832809448', '2015-05-14 10:30:41'),
(3108, 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'', ''IV02104900'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.1043541431427', '2015-05-14 10:33:33'),
(3109, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (50, ''2'', ''49'', ''1'', ''PM2B200S003059105'', ''1'', ''16'', ''36760'', ''36760'', ''15'', ''6'', ''2205.6'', ''38965.6'')', 'aptransaction/savePurchaseRow', '0.080984115600586', '2015-05-14 10:33:33'),
(3110, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2205.6'', `totalAmount` = ''38965.6'' WHERE `ID` =  50', 'aptransaction/savePurchaseRow', '0.04728889465332', '2015-05-14 10:33:33'),
(3111, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =50', 'aptransaction/savePurchaseRow', '0.029683113098145', '2015-05-14 10:33:33'),
(3112, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''50'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.070507049560547', '2015-05-14 10:33:49'),
(3113, 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'', ''IV02104900'', ''2'')', 'Aptransaction/invoicePosting', '0.066971063613892', '2015-05-14 10:33:49'),
(3114, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (51, ''50'', ''2'', ''49'', ''1'', -1, ''PM2B200S003059105'', ''1'', ''1'', ''1'', ''36760'', 36760)', 'Aptransaction/invoicePosting', '0.035550832748413', '2015-05-14 10:33:49'),
(3115, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 52 WHERE `ID` =  ''51''', 'Aptransaction/invoicePosting', '0.02978515625', '2015-05-14 10:33:50'),
(3116, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 47 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.054426908493042', '2015-05-14 10:33:50'),
(3117, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000047'' WHERE `ID` =  ''50''', 'Aptransaction/invoicePosting', '0.02974009513855', '2015-05-14 10:33:50'),
(3118, 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'', ''AP20150100000047'', ''PI20150514[00000047]'', ''Purchase Invoice Confirm [ PI20150514[00000047] ]'', ''3'', ''2015-04-08'', ''2015'', ''1'', 38965.6, 38965.6, ''2'')', 'Aptransaction/invoicePosting', '0.050709962844849', '2015-05-14 10:33:50'),
(3119, 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'', ''AP20150100000047'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''PI20150514[00000047]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.063589096069336', '2015-05-14 10:33:50'),
(3120, 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, ''AP20150100000047'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''PI20150514[00000047]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.040271043777466', '2015-05-14 10:33:50'),
(3121, 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, ''AP20150100000047'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2205.6, ''1'', ''1'', ''2205.6'', ''1'', ''2015'', ''1'', ''PI20150514[00000047]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.034940004348755', '2015-05-14 10:33:50'),
(3122, 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, ''AP20150100000047'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2205.6, ''1'', ''1'', ''2205.6'', ''1'', ''2015'', ''1'', ''PI20150514[00000047]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.027821063995361', '2015-05-14 10:33:50'),
(3123, 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` =  ''AP20150100000047''', 'Aptransaction/invoicePosting', '0.036082029342651', '2015-05-14 10:33:50'),
(3124, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''108''', 'Gltransaction/journalPosting', '0.068221092224121', '2015-05-14 10:34:53'),
(3125, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000047''', 'Gltransaction/journalPosting', '0.087278842926025', '2015-05-14 10:34:53'),
(3126, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.058928966522217', '2015-05-14 10:34:53'),
(3127, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.02817702293396', '2015-05-14 10:34:53'),
(3128, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.033887147903442', '2015-05-14 10:34:53');
INSERT INTO `_log_query` (`ID`, `companyID`, `userID`, `userIP`, `type`, `query`, `url`, `executionTime`, `createdTS`) VALUES
(3129, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.02825403213501', '2015-05-14 10:34:53'),
(3130, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''51''', 'purchasetransaction/receiveItemPost', '0.032846212387085', '2015-05-14 10:35:20'),
(3131, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.03187894821167', '2015-05-14 10:35:20'),
(3132, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000048'' WHERE `ID` =  ''51''', 'purchasetransaction/receiveItemPost', '0.033337831497192', '2015-05-14 10:35:20'),
(3133, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000048'', ''GRN20150514[00000048]'', '' [ GRN20150514[00000048] ]'', ''8'', ''2015-04-08'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.05807089805603', '2015-05-14 10:35:21'),
(3134, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''49'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.041162967681885', '2015-05-14 10:35:21'),
(3135, 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'', ''PO20150100000048'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''1'', ''GRN20150514[00000048]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.065026998519897', '2015-05-14 10:35:21'),
(3136, 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, ''PO20150100000048'', ''[AXIA]PERODUA AXIA'', ''21'', 36760, ''1'', ''1'', ''36760'', ''1'', ''2015'', ''GRN20150514[00000051]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.03044319152832', '2015-05-14 10:35:21'),
(3137, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36760, `total_amount_cr` = 36760, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000048''', 'purchasetransaction/receiveItemPost', '0.056713104248047', '2015-05-14 10:35:21'),
(3138, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''109''', 'Gltransaction/journalPosting', '0.059875011444092', '2015-05-14 10:35:58'),
(3139, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000048''', 'Gltransaction/journalPosting', '0.076898813247681', '2015-05-14 10:35:59'),
(3140, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.028028011322021', '2015-05-14 10:35:59'),
(3141, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032444000244141', '2015-05-14 10:35:59'),
(3142, 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-16'', ''IV02114952'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.071584939956665', '2015-05-14 10:40:10'),
(3143, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (51, ''2'', ''50'', ''1'', ''PM2B200S003060254'', ''1'', ''16'', ''36398.87'', ''36398.87'', ''15'', ''6'', ''2183.93'', ''38582.8'')', 'aptransaction/savePurchaseRow', '0.044118881225586', '2015-05-14 10:40:10'),
(3144, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2183.93'', `totalAmount` = ''38582.8'' WHERE `ID` =  51', 'aptransaction/savePurchaseRow', '0.045808792114258', '2015-05-14 10:40:10'),
(3145, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =51', 'aptransaction/savePurchaseRow', '0.044671058654785', '2015-05-14 10:40:10'),
(3146, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''51'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.036681175231934', '2015-05-14 10:40:29'),
(3147, 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-16'', ''0'', ''IV02114952'', ''2'')', 'Aptransaction/invoicePosting', '0.091622114181519', '2015-05-14 10:40:29'),
(3148, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (52, ''51'', ''2'', ''50'', ''1'', -1, ''PM2B200S003060254'', ''1'', ''1'', ''1'', ''36398.87'', 36398.87)', 'Aptransaction/invoicePosting', '0.065190076828003', '2015-05-14 10:40:29'),
(3149, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 53 WHERE `ID` =  ''52''', 'Aptransaction/invoicePosting', '0.059868812561035', '2015-05-14 10:40:29'),
(3150, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 48 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.030693054199219', '2015-05-14 10:40:29'),
(3151, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000048'' WHERE `ID` =  ''51''', 'Aptransaction/invoicePosting', '0.034938097000122', '2015-05-14 10:40:29'),
(3152, 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'', ''AP20150100000048'', ''PI20150514[00000048]'', ''Purchase Invoice Confirm [ PI20150514[00000048] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 38582.8, 38582.8, ''2'')', 'Aptransaction/invoicePosting', '0.058516025543213', '2015-05-14 10:40:29'),
(3153, 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'', ''AP20150100000048'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 36398.87, ''1'', ''1'', ''36398.87'', ''1'', ''2015'', ''1'', ''PI20150514[00000048]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.076109886169434', '2015-05-14 10:40:29'),
(3154, 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, ''AP20150100000048'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 36398.87, ''1'', ''1'', ''36398.87'', ''1'', ''2015'', ''1'', ''PI20150514[00000048]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029072046279907', '2015-05-14 10:40:29'),
(3155, 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, ''AP20150100000048'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 2183.93, ''1'', ''1'', ''2183.93'', ''1'', ''2015'', ''1'', ''PI20150514[00000048]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.033596038818359', '2015-05-14 10:40:29'),
(3156, 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, ''AP20150100000048'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 2183.93, ''1'', ''1'', ''2183.93'', ''1'', ''2015'', ''1'', ''PI20150514[00000048]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029129981994629', '2015-05-14 10:40:29'),
(3157, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 38582.8, `total_amount_cr` = 38582.8, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000048''', 'Aptransaction/invoicePosting', '0.034974098205566', '2015-05-14 10:40:29'),
(3158, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''110''', 'Gltransaction/journalPosting', '0.039915084838867', '2015-05-14 10:41:37'),
(3159, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000048''', 'Gltransaction/journalPosting', '0.032171010971069', '2015-05-14 10:41:37'),
(3160, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.081563949584961', '2015-05-14 10:41:37'),
(3161, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.029092073440552', '2015-05-14 10:41:37'),
(3162, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.032670974731445', '2015-05-14 10:41:37'),
(3163, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.029072046279907', '2015-05-14 10:41:37'),
(3164, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''52''', 'purchasetransaction/receiveItemPost', '0.036439180374146', '2015-05-14 10:41:59'),
(3165, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.028668880462646', '2015-05-14 10:41:59'),
(3166, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000049'' WHERE `ID` =  ''52''', 'purchasetransaction/receiveItemPost', '0.03425407409668', '2015-05-14 10:41:59'),
(3167, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000049'', ''GRN20150514[00000049]'', '' [ GRN20150514[00000049] ]'', ''8'', ''2015-04-16'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048245906829834', '2015-05-14 10:41:59'),
(3168, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''50'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040634155273438', '2015-05-14 10:41:59'),
(3169, 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'', ''PO20150100000049'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 36398.87, ''1'', ''1'', ''36398.87'', ''1'', ''2015'', ''1'', ''GRN20150514[00000049]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032872915267944', '2015-05-14 10:41:59'),
(3170, 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, ''PO20150100000049'', ''[AXIA]PERODUA AXIA'', ''21'', 36398.87, ''1'', ''1'', ''36398.87'', ''1'', ''2015'', ''GRN20150514[00000052]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.030228853225708', '2015-05-14 10:41:59'),
(3171, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 36398.87, `total_amount_cr` = 36398.87, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000049''', 'purchasetransaction/receiveItemPost', '0.045783042907715', '2015-05-14 10:41:59'),
(3172, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''111''', 'Gltransaction/journalPosting', '0.34445309638977', '2015-05-14 10:42:34'),
(3173, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000049''', 'Gltransaction/journalPosting', '0.077023029327393', '2015-05-14 10:42:34'),
(3174, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0521399974823', '2015-05-14 10:42:34'),
(3175, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.041577100753784', '2015-05-14 10:42:34'),
(3176, 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'', ''IV02110991'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.060678005218506', '2015-05-14 10:45:03'),
(3177, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (52, ''2'', ''51'', ''1'', ''PM2M602S002224437'', ''1'', ''16'', ''41366.98'', ''41366.98'', ''15'', ''6'', ''2482.02'', ''43849'')', 'aptransaction/savePurchaseRow', '0.053332090377808', '2015-05-14 10:45:03'),
(3178, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''2482.02'', `totalAmount` = ''43849'' WHERE `ID` =  52', 'aptransaction/savePurchaseRow', '0.056405067443848', '2015-05-14 10:45:03'),
(3179, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =52', 'aptransaction/savePurchaseRow', '0.033415079116821', '2015-05-14 10:45:03'),
(3180, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''52'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.038398027420044', '2015-05-14 10:45:25'),
(3181, 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'', ''IV02110991'', ''2'')', 'Aptransaction/invoicePosting', '0.10225796699524', '2015-05-14 10:45:25'),
(3182, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (53, ''52'', ''2'', ''51'', ''1'', -1, ''PM2M602S002224437'', ''1'', ''1'', ''1'', ''41366.98'', 41366.98)', 'Aptransaction/invoicePosting', '0.076917886734009', '2015-05-14 10:45:25'),
(3183, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 54 WHERE `ID` =  ''53''', 'Aptransaction/invoicePosting', '0.087823152542114', '2015-05-14 10:45:25'),
(3184, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 49 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032259941101074', '2015-05-14 10:45:25'),
(3185, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000049'' WHERE `ID` =  ''52''', 'Aptransaction/invoicePosting', '0.043371915817261', '2015-05-14 10:45:26'),
(3186, 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'', ''AP20150100000049'', ''PI20150514[00000049]'', ''Purchase Invoice Confirm [ PI20150514[00000049] ]'', ''3'', ''2015-04-11'', ''2015'', ''1'', 43849, 43849, ''2'')', 'Aptransaction/invoicePosting', '0.070169925689697', '2015-05-14 10:45:26'),
(3187, 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'', ''AP20150100000049'', 1, ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000049]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.064008951187134', '2015-05-14 10:45:26'),
(3188, 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, ''AP20150100000049'', ''[MYVI]'', ''38'', ''PERODUA SALES SDN BHD'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''PI20150514[00000049]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.029957056045532', '2015-05-14 10:45:26'),
(3189, 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, ''AP20150100000049'', ''[MYVI]'', ''34'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000049]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032788991928101', '2015-05-14 10:45:26'),
(3190, 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, ''AP20150100000049'', ''[MYVI]'', ''138'', ''PERODUA SALES SDN BHD'', 2482.02, ''1'', ''1'', ''2482.02'', ''1'', ''2015'', ''1'', ''PI20150514[00000049]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03000807762146', '2015-05-14 10:45:26'),
(3191, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `total_amount_dr` = 43849, `total_amount_cr` = 43849, `total_amount` = 0 WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000049''', 'Aptransaction/invoicePosting', '0.045157194137573', '2015-05-14 10:45:26'),
(3192, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''112''', 'Gltransaction/journalPosting', '0.082940101623535', '2015-05-14 10:46:32'),
(3193, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000049''', 'Gltransaction/journalPosting', '0.043195009231567', '2015-05-14 10:46:32'),
(3194, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.070582866668701', '2015-05-14 10:46:32'),
(3195, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.0414137840271', '2015-05-14 10:46:33'),
(3196, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.030014991760254', '2015-05-14 10:46:33'),
(3197, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.03182315826416', '2015-05-14 10:46:33'),
(3198, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''53''', 'purchasetransaction/receiveItemPost', '0.031964778900146', '2015-05-14 10:46:54'),
(3199, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.032044172286987', '2015-05-14 10:46:54'),
(3200, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000050'' WHERE `ID` =  ''53''', 'purchasetransaction/receiveItemPost', '0.03222393989563', '2015-05-14 10:46:54'),
(3201, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000050'', ''GRN20150514[00000050]'', '' [ GRN20150514[00000050] ]'', ''8'', ''2015-04-11'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.07048487663269', '2015-05-14 10:46:54'),
(3202, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''51'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040250062942505', '2015-05-14 10:46:54'),
(3203, 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'', ''PO20150100000050'', 1, ''[MYVI]PERODUA MYVI'', ''38'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''1'', ''GRN20150514[00000050]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.10897397994995', '2015-05-14 10:46:54'),
(3204, 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, ''PO20150100000050'', ''[MYVI]PERODUA MYVI'', ''21'', 41366.98, ''1'', ''1'', ''41366.98'', ''1'', ''2015'', ''GRN20150514[00000053]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.066401958465576', '2015-05-14 10:46:54'),
(3205, 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` =  ''PO20150100000050''', 'purchasetransaction/receiveItemPost', '0.065798044204712', '2015-05-14 10:46:54'),
(3206, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''113''', 'Gltransaction/journalPosting', '0.071447134017944', '2015-05-14 10:47:32'),
(3207, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000050''', 'Gltransaction/journalPosting', '0.032243013381958', '2015-05-14 10:47:32'),
(3208, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.037912845611572', '2015-05-14 10:47:32'),
(3209, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.052742958068848', '2015-05-14 10:47:32'),
(3210, 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-16'', ''IV02114961'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11276817321777', '2015-05-14 10:50:53'),
(3211, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (53, ''2'', ''52'', ''1'', ''PM2B200S003060508'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.097589015960693', '2015-05-14 10:50:53'),
(3212, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  53', 'aptransaction/savePurchaseRow', '0.057423830032349', '2015-05-14 10:50:53'),
(3213, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =53', 'aptransaction/savePurchaseRow', '0.05471396446228', '2015-05-14 10:50:53'),
(3214, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''53'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.056698083877563', '2015-05-14 10:51:19'),
(3215, 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-16'', ''0'', ''IV02114961'', ''2'')', 'Aptransaction/invoicePosting', '0.064442873001099', '2015-05-14 10:51:19'),
(3216, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (54, ''53'', ''2'', ''52'', ''1'', -1, ''PM2B200S003060508'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.04288911819458', '2015-05-14 10:51:19'),
(3217, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 55 WHERE `ID` =  ''54''', 'Aptransaction/invoicePosting', '0.033711194992065', '2015-05-14 10:51:19'),
(3218, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 50 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.032170057296753', '2015-05-14 10:51:19'),
(3219, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000050'' WHERE `ID` =  ''53''', 'Aptransaction/invoicePosting', '0.032176971435547', '2015-05-14 10:51:19'),
(3220, 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'', ''AP20150100000050'', ''PI20150514[00000050]'', ''Purchase Invoice Confirm [ PI20150514[00000050] ]'', ''3'', ''2015-04-16'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.048527956008911', '2015-05-14 10:51:19'),
(3221, 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'', ''AP20150100000050'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000050]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.14144992828369', '2015-05-14 10:51:19'),
(3222, 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, ''AP20150100000050'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000050]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030442953109741', '2015-05-14 10:51:19'),
(3223, 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, ''AP20150100000050'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000050]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.032120943069458', '2015-05-14 10:51:19'),
(3224, 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, ''AP20150100000050'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000050]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.054024934768677', '2015-05-14 10:51:19'),
(3225, 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` =  ''AP20150100000050''', 'Aptransaction/invoicePosting', '0.03211784362793', '2015-05-14 10:51:19'),
(3226, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''114''', 'Gltransaction/journalPosting', '0.09149694442749', '2015-05-14 10:52:32'),
(3227, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''AP20150100000050''', 'Gltransaction/journalPosting', '0.04430103302002', '2015-05-14 10:52:32'),
(3228, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.1025710105896', '2015-05-14 10:52:32'),
(3229, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031203985214233', '2015-05-14 10:52:32'),
(3230, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.031416177749634', '2015-05-14 10:52:32'),
(3231, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `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.053573846817017', '2015-05-14 10:52:32'),
(3232, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `updateAble` = ''0'' WHERE `ID` =  ''54''', 'purchasetransaction/receiveItemPost', '0.075855016708374', '2015-05-14 10:52:54'),
(3233, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  ''4''', 'purchasetransaction/receiveItemPost', '0.052196025848389', '2015-05-14 10:52:54'),
(3234, 2, 2, '::1', 'update', 'UPDATE `comp_receive_item` SET `journalNo` = ''PO20150100000051'' WHERE `ID` =  ''54''', 'purchasetransaction/receiveItemPost', '0.032210826873779', '2015-05-14 10:52:54'),
(3235, 2, 2, '::1', 'insert', 'INSERT INTO `comp_journal` (`companyID`, `journalID`, `formNo`, `description`, `module`, `effective_date`, `year`, `period`, `createdBy`) VALUES (''2'', ''PO20150100000051'', ''GRN20150514[00000051]'', '' [ GRN20150514[00000051] ]'', ''8'', ''2015-04-16'', ''2015'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.048565864562988', '2015-05-14 10:52:54'),
(3236, 2, 2, '::1', 'insert', 'INSERT INTO `item_details` (`companyID`, `itemID`, `locationID`, `onHandQty`, `umID`) VALUES (''2'', ''52'', ''2'', ''1'', ''0'')', 'purchasetransaction/receiveItemPost', '0.040350914001465', '2015-05-14 10:52:54'),
(3237, 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'', ''PO20150100000051'', 1, ''[AXIA]PERODUA AXIA'', ''38'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''GRN20150514[00000051]'', ''2'')', 'purchasetransaction/receiveItemPost', '0.032779932022095', '2015-05-14 10:52:54'),
(3238, 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, ''PO20150100000051'', ''[AXIA]PERODUA AXIA'', ''21'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''GRN20150514[00000054]'', ''1'', ''2'')', 'purchasetransaction/receiveItemPost', '0.031841993331909', '2015-05-14 10:52:54'),
(3239, 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` =  ''PO20150100000051''', 'purchasetransaction/receiveItemPost', '0.055321931838989', '2015-05-14 10:52:54'),
(3240, 2, 2, '::1', 'update', 'UPDATE `comp_journal` SET `status` = ''1'' WHERE `ID` =  ''115''', 'Gltransaction/journalPosting', '0.093909025192261', '2015-05-14 10:53:32'),
(3241, 2, 2, '::1', 'update', 'UPDATE `comp_journal_detail` SET `status` = ''1'' WHERE `companyID` =  ''2'' AND `journalID` =  ''PO20150100000051''', 'Gltransaction/journalPosting', '0.055397987365723', '2015-05-14 10:53:32'),
(3242, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.051421880722046', '2015-05-14 10:53:32'),
(3243, 2, 2, '::1', 'update', 'UPDATE `comp_acc_det` a SET `a`.`amountdr` = (select SUM(amount_dr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.year and period=a.period and status=1 ), `a`.`amountcr` = (select SUM(amount_cr) from comp_journal_detail where companyID = a.companyID and acctCode = a.acctID and year = a.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.042397022247314', '2015-05-14 10:53:32'),
(3244, 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'', ''IV02099921'', '''', ''6'', ''1.00000'')', 'aptransaction/savePurchaseRow', '0.11571097373962', '2015-05-14 10:57:24'),
(3245, 2, 2, '::1', 'insert', 'INSERT INTO `comp_supplier_invoice_detail` (`invoiceID`, `createdBy`, `itemID`, `lineNo`, `itemdescription`, `quantity`, `umID`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`) VALUES (54, ''2'', ''53'', ''1'', ''PM2B200S003057837'', ''1'', ''16'', ''28482.34'', ''28482.34'', ''15'', ''6'', ''1708.94'', ''30191.28'')', 'aptransaction/savePurchaseRow', '0.044141054153442', '2015-05-14 10:57:24'),
(3246, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `totalTaxAmount` = ''1708.94'', `totalAmount` = ''30191.28'' WHERE `ID` =  54', 'aptransaction/savePurchaseRow', '0.03390097618103', '2015-05-14 10:57:24'),
(3247, 2, 2, '::1', 'update', 'Update comp_supplier_invoice set totalPayable = totalAmount  where id =54', 'aptransaction/savePurchaseRow', '0.033593893051147', '2015-05-14 10:57:24'),
(3248, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `updateAble` = ''0'' WHERE `ID` =  ''54'' AND `updateAble` =  1', 'Aptransaction/invoicePosting', '0.048592090606689', '2015-05-14 10:57:43'),
(3249, 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'', ''IV02099921'', ''2'')', 'Aptransaction/invoicePosting', '0.059874057769775', '2015-05-14 10:57:43'),
(3250, 2, 2, '::1', 'insert', 'INSERT INTO `comp_receive_item_detail` (`receiveID`, `invoiceID`, `createdBy`, `itemID`, `lineNo`, `poDetailID`, `description`, `quantityOrder`, `quantityReceived`, `balanceItem`, `unitPrice`, `amount`) VALUES (55, ''54'', ''2'', ''53'', ''1'', -1, ''PM2B200S003057837'', ''1'', ''1'', ''1'', ''28482.34'', 28482.34)', 'Aptransaction/invoicePosting', '0.032130002975464', '2015-05-14 10:57:43'),
(3251, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice_detail` SET `receiveID` = 56 WHERE `ID` =  ''55''', 'Aptransaction/invoicePosting', '0.033416986465454', '2015-05-14 10:57:43'),
(3252, 2, 2, '::1', 'update', 'UPDATE `comp_jl_seq` SET `seqNo` = 51 WHERE `ID` =  ''3''', 'Aptransaction/invoicePosting', '0.042840957641602', '2015-05-14 10:57:43'),
(3253, 2, 2, '::1', 'update', 'UPDATE `comp_supplier_invoice` SET `journalNo` = ''AP20150100000051'' WHERE `ID` =  ''54''', 'Aptransaction/invoicePosting', '0.044318199157715', '2015-05-14 10:57:43'),
(3254, 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'', ''AP20150100000051'', ''PI20150514[00000051]'', ''Purchase Invoice Confirm [ PI20150514[00000051] ]'', ''3'', ''2015-04-03'', ''2015'', ''1'', 30191.28, 30191.28, ''2'')', 'Aptransaction/invoicePosting', '0.047445774078369', '2015-05-14 10:57:43'),
(3255, 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'', ''AP20150100000051'', 1, ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000051]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.076081991195679', '2015-05-14 10:57:43'),
(3256, 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, ''AP20150100000051'', ''[AXIA]'', ''38'', ''PERODUA SALES SDN BHD'', 28482.34, ''1'', ''1'', ''28482.34'', ''1'', ''2015'', ''1'', ''PI20150514[00000051]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030279159545898', '2015-05-14 10:57:43'),
(3257, 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, ''AP20150100000051'', ''[AXIA]'', ''34'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000051]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.03243613243103', '2015-05-14 10:57:43'),
(3258, 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, ''AP20150100000051'', ''[AXIA]'', ''138'', ''PERODUA SALES SDN BHD'', 1708.94, ''1'', ''1'', ''1708.94'', ''1'', ''2015'', ''1'', ''PI20150514[00000051]'', NULL, ''2'')', 'Aptransaction/invoicePosting', '0.030348062515259', '2015-05-14 10:57:43');
